POST api/Patient/PatientAllergyAdd
Request Information
URI Parameters
None.
Body Parameters
PatientAllergyAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAllergyAdd | PatientAllergyAdd |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientAllergyAdd": {
"AllergyTypeID": "106f2fa7-5357-4694-a48b-894f70397b8d",
"AllergyName": "sample string 1",
"Inducers": "sample string 2",
"Reactions": "sample string 3",
"TestDate": "2026-06-18T12:14:57.0741346+03:00",
"Notes": "sample string 4"
},
"PatientID": "b6cd5d1d-1cdf-42f0-825a-a8c84a6a5faa",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientAllergyAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>b6cd5d1d-1cdf-42f0-825a-a8c84a6a5faa</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientAllergyAdd>
<AllergyName>sample string 1</AllergyName>
<AllergyTypeID>106f2fa7-5357-4694-a48b-894f70397b8d</AllergyTypeID>
<Inducers>sample string 2</Inducers>
<Notes>sample string 4</Notes>
<Reactions>sample string 3</Reactions>
<TestDate>2026-06-18T12:14:57.0741346+03:00</TestDate>
</PatientAllergyAdd>
</PatientAllergyAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientAllergyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAllergy | PatientAllergy |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientAllergy": {
"PatientAllergyID": "5a2c8577-7a6d-407d-90a4-635030c6b2d8",
"AllergyTypeID": "ac5a6654-1dd8-4b9a-9ab8-3bbef733c354",
"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>ac5a6654-1dd8-4b9a-9ab8-3bbef733c354</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>5a2c8577-7a6d-407d-90a4-635030c6b2d8</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-06-18T12:14:57.0897615+03:00</TestDate>
</PatientAllergy>
</PatientAllergyResponse>