POST api/EMRAPI/SaveMedicineOrderIP

Request Information

URI Parameters

None.

Body Parameters

SaveMedicineOrderIP
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

FacilityId

integer

None.

RegistrationId

integer

None.

EncounterId

integer

None.

IndentType

integer

None.

StoreId

integer

None.

DoctorId

integer

None.

xmlItems

string

None.

xmlItemDetail

string

None.

Remarks

string

None.

DrugOrderType

integer

None.

UserId

integer

None.

xmlFrequencyTime

string

None.

IsConsumable

boolean

None.

xmlUnApprovedPrescriptionIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "RegistrationId": 3,
  "EncounterId": 4,
  "IndentType": 5,
  "StoreId": 6,
  "DoctorId": 7,
  "xmlItems": "sample string 8",
  "xmlItemDetail": "sample string 9",
  "Remarks": "sample string 10",
  "DrugOrderType": 11,
  "UserId": 12,
  "xmlFrequencyTime": "sample string 13",
  "IsConsumable": true,
  "xmlUnApprovedPrescriptionIds": "sample string 15"
}

application/xml, text/xml

Sample:
<SaveMedicineOrderIP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <DoctorId>7</DoctorId>
  <DrugOrderType>11</DrugOrderType>
  <EncounterId>4</EncounterId>
  <FacilityId>2</FacilityId>
  <HospitalLocationId>1</HospitalLocationId>
  <IndentType>5</IndentType>
  <IsConsumable>true</IsConsumable>
  <RegistrationId>3</RegistrationId>
  <Remarks>sample string 10</Remarks>
  <StoreId>6</StoreId>
  <UserId>12</UserId>
  <xmlFrequencyTime>sample string 13</xmlFrequencyTime>
  <xmlItemDetail>sample string 9</xmlItemDetail>
  <xmlItems>sample string 8</xmlItems>
  <xmlUnApprovedPrescriptionIds>sample string 15</xmlUnApprovedPrescriptionIds>
</SaveMedicineOrderIP>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.