POST api/Patient/PatientAllergyUpdate

Request Information

URI Parameters

None.

Body Parameters

PatientAllergyUpdateRequest
NameDescriptionTypeAdditional information
PatientAllergy

PatientAllergy

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientAllergy": {
    "PatientAllergyID": "0fd00775-c7cb-4c88-bfe7-d89fc5ec2af9",
    "AllergyTypeID": "d0961717-669c-454d-b6e1-a10b5849bd13",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2025-12-11T14:40:15.695235+03:00",
    "Notes": "sample string 5"
  },
  "PatientID": "9e37f68a-fc87-4e8d-a13f-026b87454a59",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientAllergyUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>9e37f68a-fc87-4e8d-a13f-026b87454a59</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>d0961717-669c-454d-b6e1-a10b5849bd13</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>0fd00775-c7cb-4c88-bfe7-d89fc5ec2af9</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2025-12-11T14:40:15.695235+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientAllergyResponse
NameDescriptionTypeAdditional information
PatientAllergy

PatientAllergy

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientAllergy": {
    "PatientAllergyID": "bf4ea364-e5aa-4c8c-9a75-88deddf34eca",
    "AllergyTypeID": "e74bfb40-5e19-4df9-8a3c-b972b5a43677",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2025-12-11T14:40:15.695235+03:00",
    "Notes": "sample string 5"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<PatientAllergyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>e74bfb40-5e19-4df9-8a3c-b972b5a43677</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>bf4ea364-e5aa-4c8c-9a75-88deddf34eca</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2025-12-11T14:40:15.695235+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyResponse>