POST api/EMRAPI/UpdateAllergyMaster

Request Information

URI Parameters

None.

Body Parameters

UpdateAllergyMaster
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

TypeId

integer

None.

AllergyId

integer

None.

Description

string

None.

UserId

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "TypeId": 2,
  "AllergyId": 3,
  "Description": "sample string 4",
  "UserId": 5,
  "IsActive": true
}

application/xml, text/xml

Sample:
<UpdateAllergyMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <AllergyId>3</AllergyId>
  <Description>sample string 4</Description>
  <HospitalLocationId>1</HospitalLocationId>
  <IsActive>true</IsActive>
  <TypeId>2</TypeId>
  <UserId>5</UserId>
</UpdateAllergyMaster>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateAllergyMaster'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.