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": "f786ceaf-6655-4d59-8e0f-bedf7e43f40b",
    "AllergyTypeID": "1d1b09d3-25d5-4fe1-9605-fe0071fec269",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-08-12T11:43:56.2400021+03:00",
    "Notes": "sample string 5"
  },
  "PatientID": "658d6c2f-cba8-4405-9626-cce62282c946",
  "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>658d6c2f-cba8-4405-9626-cce62282c946</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>1d1b09d3-25d5-4fe1-9605-fe0071fec269</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>f786ceaf-6655-4d59-8e0f-bedf7e43f40b</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-08-12T11:43:56.2400021+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": "1e46b2cc-cad7-4fc4-88e1-0373e24efe99",
    "AllergyTypeID": "da87b01a-89cb-4e75-8d0d-8116945bf044",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-08-12T11:43:56.2400021+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>da87b01a-89cb-4e75-8d0d-8116945bf044</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>1e46b2cc-cad7-4fc4-88e1-0373e24efe99</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-08-12T11:43:56.2400021+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyResponse>