PUT api/patients/{patientId}/allergies/{patientAllergyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
|
| patientAllergyId | integer |
Required |
Body Parameters
EditAllergyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Reaction | string |
String length: inclusive between 0 and 200 |
|
| ReactionType | AllergyReactionType |
Required Range: inclusive between 1 and 2 |
|
| StatusType | AllergyStatusType |
Required Range: inclusive between 1 and 3 |
|
| OnsetDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Reaction": "sample string 1",
"ReactionType": 1,
"StatusType": 1,
"OnsetDate": "2025-12-18T12:41:13.3311258+00:00"
}
application/xml, text/xml
Sample:
<EditAllergyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13"> <OnsetDate>2025-12-18T12:41:13.3311258+00:00</OnsetDate> <Reaction>sample string 1</Reaction> <ReactionType>Allergy</ReactionType> <StatusType>Active</StatusType> </EditAllergyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"ResultCode": "sample string 1",
"ResultDescription": "sample string 2"
}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
<Result>
<ResultCode>sample string 1</ResultCode>
<ResultDescription>sample string 2</ResultDescription>
</Result>
</Response>