POST Api/VisitHistory/AddAllergies
Request Information
URI Parameters
None.
Body Parameters
AllergySubmitVm| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAllergyId | integer |
None. |
|
| AllergySeverityId | integer |
None. |
|
| ReactionConfigurationId | integer |
None. |
|
| PatientId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"patientAllergyId": 1,
"allergySeverityId": 2,
"reactionConfigurationId": 3,
"patientId": 4
}
text/html
Sample:
{"patientAllergyId":1,"allergySeverityId":2,"reactionConfigurationId":3,"patientId":4}
application/xml, text/xml
Sample:
<AllergySubmitVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.Allergy"> <AllergySeverityId>2</AllergySeverityId> <PatientAllergyId>1</PatientAllergyId> <PatientId>4</PatientId> <ReactionConfigurationId>3</ReactionConfigurationId> </AllergySubmitVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.