POST api/Patient/GetPatientAllergy
Request Information
URI Parameters
None.
Body Parameters
PageRequestBase| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNumber | integer |
None. |
|
| PageCount | integer |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageNumber": 1,
"PageCount": 2,
"PatientID": "86e92f26-e995-431c-ab23-42f379b6404c",
"WebApiVersion": 4,
"Language": "sample string 5"
}
application/xml, text/xml
Sample:
<PageRequestBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 5</Language> <PatientID>86e92f26-e995-431c-ab23-42f379b6404c</PatientID> <WebApiVersion>4</WebApiVersion> <PageCount>2</PageCount> <PageNumber>1</PageNumber> </PageRequestBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetPatientAllergyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAllergy | Collection of PatientAllergy |
None. |
|
| PageNumber | integer |
None. |
|
| PageCount | integer |
None. |
|
| TotalCount | integer |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientAllergy": [
{
"PatientAllergyID": "e6365558-4936-435b-9154-d4fc257d5eeb",
"AllergyTypeID": "bde3049d-d308-44da-878b-5b5f2f599227",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-06-18T12:14:57.0585081+03:00",
"Notes": "sample string 5"
},
{
"PatientAllergyID": "e6365558-4936-435b-9154-d4fc257d5eeb",
"AllergyTypeID": "bde3049d-d308-44da-878b-5b5f2f599227",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-06-18T12:14:57.0585081+03:00",
"Notes": "sample string 5"
}
],
"PageNumber": 1,
"PageCount": 2,
"TotalCount": 3,
"WebApiVersion": 4
}
application/xml, text/xml
Sample:
<GetPatientAllergyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>4</WebApiVersion>
<PageCount>2</PageCount>
<PageNumber>1</PageNumber>
<TotalCount>3</TotalCount>
<PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>bde3049d-d308-44da-878b-5b5f2f599227</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>e6365558-4936-435b-9154-d4fc257d5eeb</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-06-18T12:14:57.0585081+03:00</TestDate>
</PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>bde3049d-d308-44da-878b-5b5f2f599227</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>e6365558-4936-435b-9154-d4fc257d5eeb</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-06-18T12:14:57.0585081+03:00</TestDate>
</PatientAllergy>
</PatientAllergy>
</GetPatientAllergyResponse>