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": "64917890-4f4d-4b44-b575-33dfb5a0eccc",
    "ProviderType": 2,
    "ProviderUserID": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "2026-02-28T15:33:46.1472044+03:00",
    "GenderID": "dac69a76-7731-470e-be4e-9b7412155511",
    "BloodTypeID": "9c8e5b81-eb5a-4d80-a5a2-e26e571af484",
    "MaritalStatusID": "1c347a0b-f0a1-46e4-9ba2-796b0475bc13",
    "Phone": "sample string 6",
    "LanguageID": "3f6bbcd4-14b8-4ba6-b0e5-20177a052b02",
    "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": "3c1bedee-d427-40b4-8e70-d9d8dc49782a",
    "PhoneCountryID": "60b296ce-be22-4dea-8bb7-7d1b6fad35dd",
    "PhotoLink": "sample string 15"
  },
  "PatientID": "f02917b7-bb5d-4ab3-8103-44a05f9304a5",
  "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>f02917b7-bb5d-4ab3-8103-44a05f9304a5</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-02-28T15:33:46.1472044+03:00</BirthDate>
    <BloodTypeID>9c8e5b81-eb5a-4d80-a5a2-e26e571af484</BloodTypeID>
    <CountryID>3c1bedee-d427-40b4-8e70-d9d8dc49782a</CountryID>
    <FirstName>sample string 4</FirstName>
    <GenderID>dac69a76-7731-470e-be4e-9b7412155511</GenderID>
    <Height>1</Height>
    <LanguageID>3f6bbcd4-14b8-4ba6-b0e5-20177a052b02</LanguageID>
    <LastName>sample string 5</LastName>
    <MaritalStatusID>1c347a0b-f0a1-46e4-9ba2-796b0475bc13</MaritalStatusID>
    <NationalID>sample string 7</NationalID>
    <PartnerID>64917890-4f4d-4b44-b575-33dfb5a0eccc</PartnerID>
    <Phone>sample string 6</Phone>
    <PhoneCountryID>60b296ce-be22-4dea-8bb7-7d1b6fad35dd</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": "a9da63cb-488c-4d09-bc52-53726f223dba",
    "PartnerID": "a839d943-7fec-4ea5-b121-0af5e0f0ab2b",
    "ProviderType": 3,
    "ProviderUserID": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "BirthDate": "2026-02-28T15:33:46.1628279+03:00",
    "GenderID": "a639ebd0-384d-48f5-b242-e4a6103ce2e3",
    "BloodTypeID": "764d8756-5035-46b8-a4d7-6f7ec0787ca1",
    "MaritalStatusID": "3c91d282-cead-40f7-b4aa-cca26d19da83",
    "Phone": "sample string 7",
    "LanguageID": "6b4b70f4-4d11-41e0-8467-4740db88189f",
    "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": "2f40d611-2d68-49bb-9e4a-162e37d06de3",
    "PhoneCountryID": "0eb8e817-2aed-4df0-af7c-f4a421af44b2",
    "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-02-28T15:33:46.1628279+03:00</BirthDate>
    <BloodTypeID>764d8756-5035-46b8-a4d7-6f7ec0787ca1</BloodTypeID>
    <CountryID>2f40d611-2d68-49bb-9e4a-162e37d06de3</CountryID>
    <FirstName>sample string 5</FirstName>
    <GenderID>a639ebd0-384d-48f5-b242-e4a6103ce2e3</GenderID>
    <Height>1</Height>
    <LanguageID>6b4b70f4-4d11-41e0-8467-4740db88189f</LanguageID>
    <LastName>sample string 6</LastName>
    <MaritalStatusID>3c91d282-cead-40f7-b4aa-cca26d19da83</MaritalStatusID>
    <NationalID>sample string 8</NationalID>
    <PartnerID>a839d943-7fec-4ea5-b121-0af5e0f0ab2b</PartnerID>
    <PatientID>a9da63cb-488c-4d09-bc52-53726f223dba</PatientID>
    <Phone>sample string 7</Phone>
    <PhoneCountryID>0eb8e817-2aed-4df0-af7c-f4a421af44b2</PhoneCountryID>
    <PhotoLink>sample string 16</PhotoLink>
    <ProviderType>3</ProviderType>
    <ProviderUserID>sample string 4</ProviderUserID>
  </Patient>
</PatientResponse>