POST api/EMRAPI/getFavoriteDrugWithStock

Request Information

URI Parameters

None.

Body Parameters

getFavoriteDrugWithStock
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

FacilityId

integer

None.

UserId

integer

None.

ItemId

integer

None.

GenericId

integer

None.

DoctorId

integer

None.

FormularyType

string

None.

ItemName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "UserId": 3,
  "ItemId": 4,
  "GenericId": 5,
  "DoctorId": 6,
  "FormularyType": "sample string 7",
  "ItemName": "sample string 8"
}

application/xml, text/xml

Sample:
<getFavoriteDrugWithStock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <DoctorId>6</DoctorId>
  <FacilityId>2</FacilityId>
  <FormularyType>sample string 7</FormularyType>
  <GenericId>5</GenericId>
  <HospitalLocationId>1</HospitalLocationId>
  <ItemId>4</ItemId>
  <ItemName>sample string 8</ItemName>
  <UserId>3</UserId>
</getFavoriteDrugWithStock>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.