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": "6e554df0-470a-4aa8-86f6-b20d8cfbebf0",
    "AllergyTypeID": "5ccd5753-9e55-43ce-a111-7db943dd5c4d",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-06-18T12:14:57.0897615+03:00",
    "Notes": "sample string 5"
  },
  "PatientID": "3a877b0f-dada-4850-8097-c741e99167da",
  "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>3a877b0f-dada-4850-8097-c741e99167da</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>5ccd5753-9e55-43ce-a111-7db943dd5c4d</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>6e554df0-470a-4aa8-86f6-b20d8cfbebf0</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-06-18T12:14:57.0897615+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": "574ebb7b-cede-40c4-81b9-3cf7914f6177",
    "AllergyTypeID": "eb1987d6-878a-4f11-81c3-64929348221e",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-06-18T12:14:57.0897615+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>eb1987d6-878a-4f11-81c3-64929348221e</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>574ebb7b-cede-40c4-81b9-3cf7914f6177</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-06-18T12:14:57.0897615+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyResponse>