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": "44c1a97f-7f1d-4ad8-89e7-10578af7eb7e"
}
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>44c1a97f-7f1d-4ad8-89e7-10578af7eb7e</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>