POST api/GetPersonAllergens
Request Information
URI Parameters
None.
Body Parameters
PersonAllergenRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonId": "33d9fa70-9eed-4d74-91a8-d41d222583cc"
}
application/xml, text/xml
Sample:
<PersonAllergenRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order"> <PersonId>33d9fa70-9eed-4d74-91a8-d41d222583cc</PersonId> </PersonAllergenRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of PersonAllergenResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AllergenId | integer |
None. |
|
| AllergenDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AllergenId": 1,
"AllergenDescription": "sample string 2"
},
{
"AllergenId": 1,
"AllergenDescription": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPersonAllergenResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order">
<PersonAllergenResponseModel>
<AllergenDescription>sample string 2</AllergenDescription>
<AllergenId>1</AllergenId>
</PersonAllergenResponseModel>
<PersonAllergenResponseModel>
<AllergenDescription>sample string 2</AllergenDescription>
<AllergenId>1</AllergenId>
</PersonAllergenResponseModel>
</ArrayOfPersonAllergenResponseModel>