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": "360b5f67-06b3-468f-b388-906b54916bb3",
    "AllergyTypeID": "f2e11b12-facd-42ca-a11d-351fac4ea140",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-04-24T14:23:53.1565291+03:00",
    "Notes": "sample string 5"
  },
  "PatientID": "1e227f30-ee24-458c-b67d-0bc9b14f3604",
  "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>1e227f30-ee24-458c-b67d-0bc9b14f3604</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>f2e11b12-facd-42ca-a11d-351fac4ea140</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>360b5f67-06b3-468f-b388-906b54916bb3</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-04-24T14:23:53.1565291+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": "6e6f829b-30c0-4ccf-950d-1a31020e0c26",
    "AllergyTypeID": "d21ce274-438d-4bdd-9970-b29d31fa33b3",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-04-24T14:23:53.1565291+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>d21ce274-438d-4bdd-9970-b29d31fa33b3</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>6e6f829b-30c0-4ccf-950d-1a31020e0c26</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-04-24T14:23:53.1565291+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyResponse>