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": "45c870f3-dbe3-49ea-be88-5a62cce659d7",
"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>45c870f3-dbe3-49ea-be88-5a62cce659d7</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": "618ab1e0-bf08-46c6-8c41-a1c8fea70b1a",
"AllergyTypeID": "e207024b-70f1-47cd-8441-f45206e4a6af",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-02-28T15:37:21.568268+03:00",
"Notes": "sample string 5"
},
{
"PatientAllergyID": "618ab1e0-bf08-46c6-8c41-a1c8fea70b1a",
"AllergyTypeID": "e207024b-70f1-47cd-8441-f45206e4a6af",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-02-28T15:37:21.568268+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>e207024b-70f1-47cd-8441-f45206e4a6af</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>618ab1e0-bf08-46c6-8c41-a1c8fea70b1a</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-02-28T15:37:21.568268+03:00</TestDate>
</PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>e207024b-70f1-47cd-8441-f45206e4a6af</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>618ab1e0-bf08-46c6-8c41-a1c8fea70b1a</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-02-28T15:37:21.568268+03:00</TestDate>
</PatientAllergy>
</PatientAllergy>
</GetPatientAllergyResponse>