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": "ea393f48-cfd3-4f34-9016-0a0ee1d8ab96",
"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>ea393f48-cfd3-4f34-9016-0a0ee1d8ab96</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": "2334240d-712c-487c-9d76-207889f5e247",
"AllergyTypeID": "a22d6f42-3c00-4bce-95ca-3be6fea496cf",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-04-24T14:26:39.3809072+03:00",
"Notes": "sample string 5"
},
{
"PatientAllergyID": "2334240d-712c-487c-9d76-207889f5e247",
"AllergyTypeID": "a22d6f42-3c00-4bce-95ca-3be6fea496cf",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-04-24T14:26:39.3809072+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>a22d6f42-3c00-4bce-95ca-3be6fea496cf</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>2334240d-712c-487c-9d76-207889f5e247</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-04-24T14:26:39.3809072+03:00</TestDate>
</PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>a22d6f42-3c00-4bce-95ca-3be6fea496cf</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>2334240d-712c-487c-9d76-207889f5e247</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-04-24T14:26:39.3809072+03:00</TestDate>
</PatientAllergy>
</PatientAllergy>
</GetPatientAllergyResponse>