This API provides a list of allergies associated with clients.
/allergies
https://api.oauth.pabau.com/{api_key}/allergies
Request
Query Parameters: | |
api_key * | |
per_page | (int) If not sent, the default is 20. Maximum 50 |
page | (int) If not sent, the first 20 result will be sent |
order | ASC or DESC. Default DESC |
Response Samples
application/json
{
"status": true,
"allergies": [
{
"name": "allergy 1",
"is_active": 1,
"type": "specific_drug",
"severity": "severe",
"reaction": "sore_throat",
"contact_name": "Roberta Parker",
"created_at": "2024-07-25 20:39:25"
},
{
"name": "allergy 2",
"is_active": 1,
"type": "specific_drug",
"severity": "mild",
"reaction": "fever",
"contact_name": "Alice Burton",
"created_at": "2024-08-25 20:38:15"
},
{
"name": "allergy 3",
"is_active": 1,
"type": "specific_drug",
"severity": "mild",
"reaction": "fever",
"contact_name": "John Doe",
"created_at": "2024-09-25 20:37:58"
}
]
}