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": "0208844b-2006-4238-a28a-5a7e0fb798c9",
"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>0208844b-2006-4238-a28a-5a7e0fb798c9</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": "30011f13-b822-4ad6-bcef-be0ffb51b9fe",
"AllergyTypeID": "8213246e-99a4-4a81-8bca-2062b72f25ef",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2025-12-11T14:43:01.8768721+03:00",
"Notes": "sample string 5"
},
{
"PatientAllergyID": "30011f13-b822-4ad6-bcef-be0ffb51b9fe",
"AllergyTypeID": "8213246e-99a4-4a81-8bca-2062b72f25ef",
"AllergyName": "sample string 2",
"Inducers": "sample string 3",
"Reactions": "sample string 4",
"TestDate": "2025-12-11T14:43:01.8768721+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>8213246e-99a4-4a81-8bca-2062b72f25ef</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>30011f13-b822-4ad6-bcef-be0ffb51b9fe</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2025-12-11T14:43:01.8768721+03:00</TestDate>
</PatientAllergy>
<PatientAllergy>
<AllergyName>sample string 2</AllergyName>
<AllergyTypeID>8213246e-99a4-4a81-8bca-2062b72f25ef</AllergyTypeID>
<Inducers>sample string 3</Inducers>
<Notes>sample string 5</Notes>
<PatientAllergyID>30011f13-b822-4ad6-bcef-be0ffb51b9fe</PatientAllergyID>
<Reactions>sample string 4</Reactions>
<TestDate>2025-12-11T14:43:01.8768721+03:00</TestDate>
</PatientAllergy>
</PatientAllergy>
</GetPatientAllergyResponse>