POST api/EMRAPI/SaveAllergyMaster

Request Information

URI Parameters

None.

Body Parameters

SaveAllergyMaster
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

TypeId

integer

None.

Description

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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 'SaveAllergyMaster'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.