Creates new client allergy

https://api.oauth.pabau.com/{api_key}/clients/allergy/create
Request
Query Parameters: | |
api_key * | |
name* | String |
contact_id* | Int |
allergy_severity* | Enum ('fatal','severe','modsevere','mod','mildmod','mild','unknown') |
allergy_type* | Enum ('specific_drug','class_drug','non_drug','unknown_drug') |
company | Int |
allergy_reaction | Enum ('acute_kidney_failure','allergic_headache','anaphylaxis','arthralgia','chills','cough','fever','headache','hives','myalgia','nasal_congestion','nausea','soreness_at_injection_site','rash','respiratory_distress','rhinorrhea','shortness_of_breath','sore_throat') |
snomed_code
|
Int - ID of the drug |
active
|
Int - Status of the allergy (use 1 for active, 0 for inactive) |
Response sample
application/json
{
"status": true,
"allergy_id": {allergy_id},
"message": "Client allergy created successfully!"
}