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": "57bd91e4-6a80-47d6-b6b1-abd4a7d7e767",
    "ProviderType": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-08-12T11:43:56.1775033+03:00",
    "GenderID": "18a4de83-6322-47a8-866d-31448ac7cced",
    "BloodTypeID": "6b853483-af11-441e-90dc-ddd45a32e03e",
    "MaritalStatusID": "f1c3faaf-33b5-4246-be64-faae08a6f019",
    "Phone": "sample string 6",
    "LanguageID": "42112a80-7a56-490a-aadc-836c1fa9ab86",
    "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": "ba924122-9932-4f29-b74c-42b761629ef5",
    "PhoneCountryID": "2ee1514e-c754-4782-8568-2302abb94ac2",
    "PhotoLink": "sample string 15"
  },
  "PatientID": "d383357e-5ae6-4758-8da3-2a4ff2724b19",
  "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>d383357e-5ae6-4758-8da3-2a4ff2724b19</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-08-12T11:43:56.1775033+03:00</BirthDate>
    <BloodTypeID>6b853483-af11-441e-90dc-ddd45a32e03e</BloodTypeID>
    <CountryID>ba924122-9932-4f29-b74c-42b761629ef5</CountryID>
    <FirstName>sample string 4</FirstName>
    <GenderID>18a4de83-6322-47a8-866d-31448ac7cced</GenderID>
    <Height>1</Height>
    <LanguageID>42112a80-7a56-490a-aadc-836c1fa9ab86</LanguageID>
    <LastName>sample string 5</LastName>
    <MaritalStatusID>f1c3faaf-33b5-4246-be64-faae08a6f019</MaritalStatusID>
    <NationalID>sample string 7</NationalID>
    <PartnerID>57bd91e4-6a80-47d6-b6b1-abd4a7d7e767</PartnerID>
    <Phone>sample string 6</Phone>
    <PhoneCountryID>2ee1514e-c754-4782-8568-2302abb94ac2</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": "e0775167-0a1c-4911-b9b2-f2d407c51c3a",
    "PartnerID": "688d0193-9723-42b2-87fe-d6358cd2c317",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-08-12T11:43:56.193125+03:00",
    "GenderID": "0717b915-15a4-460d-a30c-fa1769a2b00a",
    "BloodTypeID": "2898ceed-e20d-4408-b853-997d3e2a248f",
    "MaritalStatusID": "ddb3ab36-fc51-4383-b073-1e85ddb77324",
    "Phone": "sample string 7",
    "LanguageID": "2c5b96fe-656b-4271-9c46-161650754e1f",
    "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": "51442d54-52c3-4eff-9f72-e40e2ed2eefe",
    "PhoneCountryID": "53c9295a-ae12-4d09-a18d-decfd2a4278e",
    "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-08-12T11:43:56.193125+03:00</BirthDate>
    <BloodTypeID>2898ceed-e20d-4408-b853-997d3e2a248f</BloodTypeID>
    <CountryID>51442d54-52c3-4eff-9f72-e40e2ed2eefe</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>0717b915-15a4-460d-a30c-fa1769a2b00a</GenderID>
    <Height>1</Height>
    <LanguageID>2c5b96fe-656b-4271-9c46-161650754e1f</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>ddb3ab36-fc51-4383-b073-1e85ddb77324</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>688d0193-9723-42b2-87fe-d6358cd2c317</PartnerID>
    <PatientID>e0775167-0a1c-4911-b9b2-f2d407c51c3a</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>53c9295a-ae12-4d09-a18d-decfd2a4278e</PhoneCountryID>
    <PhotoLink>sample string 16</PhotoLink>
    <ProviderType>3</ProviderType>
    <ProviderUserID>sample string 4</ProviderUserID>
  </Patient>
</PatientResponse>