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": "f84788e2-9306-4977-b3d3-4397a887404d",
    "AllergyTypeID": "a6e63a4d-bfbd-4f6e-b9c4-80893d0e4450",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-02-28T15:36:45.028519+03:00",
    "Notes": "sample string 5"
  },
  "PatientID": "df2eb579-e57d-446a-a65a-1d89d95b6354",
  "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>df2eb579-e57d-446a-a65a-1d89d95b6354</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAllergy>
    <AllergyName>sample string 2</AllergyName>
    <AllergyTypeID>a6e63a4d-bfbd-4f6e-b9c4-80893d0e4450</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>f84788e2-9306-4977-b3d3-4397a887404d</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-02-28T15:36:45.028519+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": "ec4ea763-85c1-4e30-996b-c5dae228ec3a",
    "AllergyTypeID": "ef053a5c-7675-46d4-8124-d79a45baf3d6",
    "AllergyName": "sample string 2",
    "Inducers": "sample string 3",
    "Reactions": "sample string 4",
    "TestDate": "2026-02-28T15:36:45.0441668+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>ef053a5c-7675-46d4-8124-d79a45baf3d6</AllergyTypeID>
    <Inducers>sample string 3</Inducers>
    <Notes>sample string 5</Notes>
    <PatientAllergyID>ec4ea763-85c1-4e30-996b-c5dae228ec3a</PatientAllergyID>
    <Reactions>sample string 4</Reactions>
    <TestDate>2026-02-28T15:36:45.0441668+03:00</TestDate>
  </PatientAllergy>
</PatientAllergyResponse>