POST api/Patient/PatientUpdate
Request Information
URI Parameters
None.
Body Parameters
PatientUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Patient | PatientUpdate |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Patient": {
"PartnerID": "f97a82d0-5fd5-41df-91bf-2d82e8958122",
"ProviderType": 2,
"ProviderUserID": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"BirthDate": "2025-12-11T14:38:54.3410459+03:00",
"GenderID": "19a31dd7-2a6d-41d2-b899-b2879cfa6fb3",
"BloodTypeID": "e2048797-a1a3-4e7c-a584-10542444c123",
"MaritalStatusID": "c3203ce0-9cd4-4f6d-af1b-baad362c4af8",
"Phone": "sample string 6",
"LanguageID": "e59f1784-ba07-4525-8387-b39b09a0d76f",
"NationalID": "sample string 7",
"BirthCity": "sample string 8",
"BirthCountry": "sample string 9",
"Height": 1.0,
"AddressStreet": "sample string 10",
"AddressCity": "sample string 11",
"AddressState": "sample string 12",
"AddressCountry": "sample string 13",
"AddressZipCode": "sample string 14",
"CountryID": "a52ae13a-edc8-44a3-8477-4edb94e72a35",
"PhoneCountryID": "24e48261-cc3d-423d-8868-fd17945e8168",
"PhotoLink": "sample string 15"
},
"PatientID": "cc40f4e1-7c4a-4621-963d-4d5ac1fe43ba",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>cc40f4e1-7c4a-4621-963d-4d5ac1fe43ba</PatientID>
<WebApiVersion>2</WebApiVersion>
<Patient>
<AddressCity>sample string 11</AddressCity>
<AddressCountry>sample string 13</AddressCountry>
<AddressState>sample string 12</AddressState>
<AddressStreet>sample string 10</AddressStreet>
<AddressZipCode>sample string 14</AddressZipCode>
<BirthCity>sample string 8</BirthCity>
<BirthCountry>sample string 9</BirthCountry>
<BirthDate>2025-12-11T14:38:54.3410459+03:00</BirthDate>
<BloodTypeID>e2048797-a1a3-4e7c-a584-10542444c123</BloodTypeID>
<CountryID>a52ae13a-edc8-44a3-8477-4edb94e72a35</CountryID>
<FirstName>sample string 4</FirstName>
<GenderID>19a31dd7-2a6d-41d2-b899-b2879cfa6fb3</GenderID>
<Height>1</Height>
<LanguageID>e59f1784-ba07-4525-8387-b39b09a0d76f</LanguageID>
<LastName>sample string 5</LastName>
<MaritalStatusID>c3203ce0-9cd4-4f6d-af1b-baad362c4af8</MaritalStatusID>
<NationalID>sample string 7</NationalID>
<PartnerID>f97a82d0-5fd5-41df-91bf-2d82e8958122</PartnerID>
<Phone>sample string 6</Phone>
<PhoneCountryID>24e48261-cc3d-423d-8868-fd17945e8168</PhoneCountryID>
<PhotoLink>sample string 15</PhotoLink>
<ProviderType>2</ProviderType>
<ProviderUserID>sample string 3</ProviderUserID>
</Patient>
</PatientUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Patient | Patient |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Patient": {
"PatientID": "5f603c4f-0c0b-457b-821e-d299398a036f",
"PartnerID": "6e2d2746-ffcf-48c9-ad89-8ee6fbf215f2",
"ProviderType": 3,
"ProviderUserID": "sample string 4",
"FirstName": "sample string 5",
"LastName": "sample string 6",
"BirthDate": "2025-12-11T14:38:54.372225+03:00",
"GenderID": "9f0d69f0-ef78-4337-86c1-fcc673a02d26",
"BloodTypeID": "5c4fa365-4f21-4b84-8ef0-e2d60699a158",
"MaritalStatusID": "b4808508-a7c2-4f78-bb9d-bfa6fd4bd92b",
"Phone": "sample string 7",
"LanguageID": "0c99e1c9-9e8a-41e0-ba83-103b905119cd",
"NationalID": "sample string 8",
"BirthCity": "sample string 9",
"BirthCountry": "sample string 10",
"Height": 1.0,
"AddressStreet": "sample string 11",
"AddressCity": "sample string 12",
"AddressState": "sample string 13",
"AddressCountry": "sample string 14",
"AddressZipCode": "sample string 15",
"CountryID": "6c9e5799-4c45-44b8-8298-2adb1ba38c54",
"PhoneCountryID": "03a68941-9518-4433-a5af-ae80f7e75726",
"PhotoLink": "sample string 16"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<Patient>
<AddressCity>sample string 12</AddressCity>
<AddressCountry>sample string 14</AddressCountry>
<AddressState>sample string 13</AddressState>
<AddressStreet>sample string 11</AddressStreet>
<AddressZipCode>sample string 15</AddressZipCode>
<BirthCity>sample string 9</BirthCity>
<BirthCountry>sample string 10</BirthCountry>
<BirthDate>2025-12-11T14:38:54.372225+03:00</BirthDate>
<BloodTypeID>5c4fa365-4f21-4b84-8ef0-e2d60699a158</BloodTypeID>
<CountryID>6c9e5799-4c45-44b8-8298-2adb1ba38c54</CountryID>
<FirstName>sample string 5</FirstName>
<GenderID>9f0d69f0-ef78-4337-86c1-fcc673a02d26</GenderID>
<Height>1</Height>
<LanguageID>0c99e1c9-9e8a-41e0-ba83-103b905119cd</LanguageID>
<LastName>sample string 6</LastName>
<MaritalStatusID>b4808508-a7c2-4f78-bb9d-bfa6fd4bd92b</MaritalStatusID>
<NationalID>sample string 8</NationalID>
<PartnerID>6e2d2746-ffcf-48c9-ad89-8ee6fbf215f2</PartnerID>
<PatientID>5f603c4f-0c0b-457b-821e-d299398a036f</PatientID>
<Phone>sample string 7</Phone>
<PhoneCountryID>03a68941-9518-4433-a5af-ae80f7e75726</PhoneCountryID>
<PhotoLink>sample string 16</PhotoLink>
<ProviderType>3</ProviderType>
<ProviderUserID>sample string 4</ProviderUserID>
</Patient>
</PatientResponse>