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": "1ffd52c3-6c00-4325-a864-15d27236384d",
"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>1ffd52c3-6c00-4325-a864-15d27236384d</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": "a9074d94-5b58-4b09-85d1-82e60ac1876c",
"AllergyTypeID": "712da35b-273b-464b-910a-72e73777fdea",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-08-12T11:43:56.1775033+03:00",
"Notes": "sample string 5"
},
{
"PatientAllergyID": "a9074d94-5b58-4b09-85d1-82e60ac1876c",
"AllergyTypeID": "712da35b-273b-464b-910a-72e73777fdea",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2026-08-12T11:43:56.1775033+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>712da35b-273b-464b-910a-72e73777fdea</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>a9074d94-5b58-4b09-85d1-82e60ac1876c</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-08-12T11:43:56.1775033+03:00</TestDate>
</PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>712da35b-273b-464b-910a-72e73777fdea</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>a9074d94-5b58-4b09-85d1-82e60ac1876c</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2026-08-12T11:43:56.1775033+03:00</TestDate>
</PatientAllergy>
</PatientAllergy>
</GetPatientAllergyResponse>