POST api/Patient/PatientUpdate

Request Information

URI Parameters

None.

Body Parameters

PatientUpdateRequest
NameDescriptionTypeAdditional information
Patient

PatientUpdate

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Patient": {
    "PartnerID": "0ac7a3a2-807c-41d9-a3e3-59ad703ee47e",
    "ProviderType": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-06-18T12:14:57.0428817+03:00",
    "GenderID": "eabd4bfd-8efb-45a4-b7ca-355dcf73e8dd",
    "BloodTypeID": "b9229df9-14e8-4c2c-b3cf-da580164693b",
    "MaritalStatusID": "4241925a-1194-4bfe-b978-73652d6c7fc9",
    "Phone": "sample string 6",
    "LanguageID": "caa7f644-4d82-44b1-aba6-08df394ab77a",
    "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": "0204e711-813c-4122-8e2e-9dc73fff35c1",
    "PhoneCountryID": "513e308f-21de-46ac-b9ac-2c7d834bcaf6",
    "PhotoLink": "sample string 15"
  },
  "PatientID": "b6eef56a-0423-409f-9739-cf46d0af1037",
  "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>b6eef56a-0423-409f-9739-cf46d0af1037</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>2026-06-18T12:14:57.0428817+03:00</BirthDate>
    <BloodTypeID>b9229df9-14e8-4c2c-b3cf-da580164693b</BloodTypeID>
    <CountryID>0204e711-813c-4122-8e2e-9dc73fff35c1</CountryID>
    <FirstName>sample string 4</FirstName>
    <GenderID>eabd4bfd-8efb-45a4-b7ca-355dcf73e8dd</GenderID>
    <Height>1</Height>
    <LanguageID>caa7f644-4d82-44b1-aba6-08df394ab77a</LanguageID>
    <LastName>sample string 5</LastName>
    <MaritalStatusID>4241925a-1194-4bfe-b978-73652d6c7fc9</MaritalStatusID>
    <NationalID>sample string 7</NationalID>
    <PartnerID>0ac7a3a2-807c-41d9-a3e3-59ad703ee47e</PartnerID>
    <Phone>sample string 6</Phone>
    <PhoneCountryID>513e308f-21de-46ac-b9ac-2c7d834bcaf6</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
NameDescriptionTypeAdditional information
Patient

Patient

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Patient": {
    "PatientID": "7050a5e5-e74d-44b2-a426-2e3151cf73ec",
    "PartnerID": "c68909b8-a134-4593-9ca6-cc2db5ce57ae",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-06-18T12:14:57.0585081+03:00",
    "GenderID": "0d558d71-d7f0-491c-ad50-72fe965c12f0",
    "BloodTypeID": "207a35ea-9a29-4147-94c0-c0c5cba65fa6",
    "MaritalStatusID": "c1f37d3a-ca39-4b1e-b0ec-2efa06cf1d05",
    "Phone": "sample string 7",
    "LanguageID": "2d8f3ce4-6d99-453b-9092-ed179eddf385",
    "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": "7664cacf-6654-409e-a84a-4380f207a8a5",
    "PhoneCountryID": "feaea66f-812c-4389-9696-5c07ec689045",
    "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>2026-06-18T12:14:57.0585081+03:00</BirthDate>
    <BloodTypeID>207a35ea-9a29-4147-94c0-c0c5cba65fa6</BloodTypeID>
    <CountryID>7664cacf-6654-409e-a84a-4380f207a8a5</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>0d558d71-d7f0-491c-ad50-72fe965c12f0</GenderID>
    <Height>1</Height>
    <LanguageID>2d8f3ce4-6d99-453b-9092-ed179eddf385</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>c1f37d3a-ca39-4b1e-b0ec-2efa06cf1d05</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>c68909b8-a134-4593-9ca6-cc2db5ce57ae</PartnerID>
    <PatientID>7050a5e5-e74d-44b2-a426-2e3151cf73ec</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>feaea66f-812c-4389-9696-5c07ec689045</PhoneCountryID>
    <PhotoLink>sample string 16</PhotoLink>
    <ProviderType>3</ProviderType>
    <ProviderUserID>sample string 4</ProviderUserID>
  </Patient>
</PatientResponse>