POST api/Patients/EditPatientByPatientId

Request Information

URI Parameters

None.

Body Parameters

PatientModel
NameDescriptionTypeAdditional information
FullName

string

None.

MobilePhone

string

None.

CountryCode

string

None.

Address

string

None.

PatientKey

string

None.

Gender

boolean

None.

BirthDate

date

None.

Identifier

string

None.

InsuranceProviderKey

string

None.

InsuranceProviderName

string

None.

HomeNumber

string

None.

Notes

string

None.

RelativeName

string

None.

PatientRelativeId

integer

None.

EmailAddress

string

None.

PatientIsoCode

string

None.

DoctorIsoCode

string

None.

InsuranceProvider

Object

None.

IsDeleted

boolean

None.

PatientId

integer

None.

InsuranceProviderId

integer

None.

PatientCustomIdentifier

string

None.

CreatedByKey

string

None.

ModifiedByKey

string

None.

CreatedFromComponent

string

None.

ModifiedFromComponent

string

None.

CountryIsoCode

string

None.

InsuranceProviderNameArabic

string

None.

PatientExternalId

string

None.

Diseases

Collection of PatientChronicDiseaseModel

None.

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "MobilePhone": "sample string 2",
  "CountryCode": "sample string 3",
  "Address": "sample string 4",
  "PatientKey": "sample string 5",
  "Gender": true,
  "BirthDate": "2025-12-12T10:32:45.1098164+02:00",
  "Identifier": "sample string 6",
  "InsuranceProviderKey": "sample string 7",
  "InsuranceProviderName": "sample string 8",
  "HomeNumber": "sample string 9",
  "Notes": "sample string 10",
  "RelativeName": "sample string 11",
  "PatientRelativeId": 1,
  "EmailAddress": "sample string 12",
  "PatientIsoCode": "sample string 13",
  "DoctorIsoCode": "sample string 14",
  "InsuranceProvider": {},
  "IsDeleted": true,
  "PatientId": 16,
  "InsuranceProviderId": 1,
  "PatientCustomIdentifier": "sample string 17",
  "CreatedByKey": "sample string 18",
  "ModifiedByKey": "sample string 19",
  "CreatedFromComponent": "sample string 20",
  "ModifiedFromComponent": "sample string 21",
  "CountryIsoCode": "sample string 22",
  "InsuranceProviderNameArabic": "sample string 23",
  "PatientExternalId": "sample string 24",
  "Diseases": [
    {
      "PatientChronicDiseaseKey": "sample string 1",
      "Disease": {
        "DiseaseKey": "sample string 1",
        "IsChronicDisease": true
      }
    },
    {
      "PatientChronicDiseaseKey": "sample string 1",
      "Disease": {
        "DiseaseKey": "sample string 1",
        "IsChronicDisease": true
      }
    }
  ]
}

application/xml, text/xml

Sample:
<PatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Patients.Models">
  <Address>sample string 4</Address>
  <BirthDate>2025-12-12T10:32:45.1098164+02:00</BirthDate>
  <CountryCode>sample string 3</CountryCode>
  <CountryIsoCode>sample string 22</CountryIsoCode>
  <CreatedByKey>sample string 18</CreatedByKey>
  <CreatedFromComponent>sample string 20</CreatedFromComponent>
  <Diseases>
    <PatientChronicDiseaseModel>
      <Disease>
        <DiseaseKey>sample string 1</DiseaseKey>
        <IsChronicDisease>true</IsChronicDisease>
      </Disease>
      <PatientChronicDiseaseKey>sample string 1</PatientChronicDiseaseKey>
    </PatientChronicDiseaseModel>
    <PatientChronicDiseaseModel>
      <Disease>
        <DiseaseKey>sample string 1</DiseaseKey>
        <IsChronicDisease>true</IsChronicDisease>
      </Disease>
      <PatientChronicDiseaseKey>sample string 1</PatientChronicDiseaseKey>
    </PatientChronicDiseaseModel>
  </Diseases>
  <DoctorIsoCode>sample string 14</DoctorIsoCode>
  <EmailAddress>sample string 12</EmailAddress>
  <FullName>sample string 1</FullName>
  <Gender>true</Gender>
  <HomeNumber>sample string 9</HomeNumber>
  <Identifier>sample string 6</Identifier>
  <InsuranceProvider />
  <InsuranceProviderId>1</InsuranceProviderId>
  <InsuranceProviderKey>sample string 7</InsuranceProviderKey>
  <InsuranceProviderName>sample string 8</InsuranceProviderName>
  <InsuranceProviderNameArabic>sample string 23</InsuranceProviderNameArabic>
  <IsDeleted>true</IsDeleted>
  <MobilePhone>sample string 2</MobilePhone>
  <ModifiedByKey>sample string 19</ModifiedByKey>
  <ModifiedFromComponent>sample string 21</ModifiedFromComponent>
  <Notes>sample string 10</Notes>
  <PatientCustomIdentifier>sample string 17</PatientCustomIdentifier>
  <PatientExternalId>sample string 24</PatientExternalId>
  <PatientId>16</PatientId>
  <PatientIsoCode>sample string 13</PatientIsoCode>
  <PatientKey>sample string 5</PatientKey>
  <PatientRelativeId>1</PatientRelativeId>
  <RelativeName>sample string 11</RelativeName>
</PatientModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.