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": "8992713d-92aa-4994-be2e-1601c0e09e36",
"AllergyName": "sample string 1",
"Inducers": "sample string 2",
"Reactions": "sample string 3",
"TestDate": "2026-02-28T15:35:43.3148706+03:00",
"Notes": "sample string 4"
},
"PatientID": "9117e6d3-11ea-47b0-96f6-493642b175d2",
"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>9117e6d3-11ea-47b0-96f6-493642b175d2</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientAllergyAdd>
<AllergyName>sample string 1</AllergyName>
<AllergyTypeID>8992713d-92aa-4994-be2e-1601c0e09e36</AllergyTypeID>
<Inducers>sample string 2</Inducers>
<Notes>sample string 4</Notes>
<Reactions>sample string 3</Reactions>
<TestDate>2026-02-28T15:35:43.3148706+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": "aee97720-5a33-4e9a-8186-e25315893357",
"AllergyTypeID": "5190b15f-4ecd-4b21-8175-a5b96c0f0339",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-02-28T15:35:43.3148706+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>5190b15f-4ecd-4b21-8175-a5b96c0f0339</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>aee97720-5a33-4e9a-8186-e25315893357</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-02-28T15:35:43.3148706+03:00</TestDate>
</PatientAllergy>
</PatientAllergyResponse>