POST api/EMRAPI/SaveMedicineOrderOP

Request Information

URI Parameters

None.

Body Parameters

SaveMedicineOrderOP
NameDescriptionTypeAdditional information
HospitalLocationId

integer

None.

FacilityId

integer

None.

RegistrationId

integer

None.

EncounterId

integer

None.

IndentType

integer

None.

StoreId

integer

None.

DoctorId

integer

None.

IsPregnant

integer

None.

IsBreastFeeding

integer

None.

xmlItems

string

None.

xmlItemDetail

string

None.

xmlPatientAlerts

string

None.

UserId

integer

None.

xmlFrequencyTime

string

None.

IsConsumable

boolean

None.

xmlUnApprovedPrescriptionIds

string

None.

intDrugAdminIn

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalLocationId": 1,
  "FacilityId": 2,
  "RegistrationId": 3,
  "EncounterId": 4,
  "IndentType": 5,
  "StoreId": 6,
  "DoctorId": 7,
  "IsPregnant": 8,
  "IsBreastFeeding": 9,
  "xmlItems": "sample string 10",
  "xmlItemDetail": "sample string 11",
  "xmlPatientAlerts": "sample string 12",
  "UserId": 13,
  "xmlFrequencyTime": "sample string 14",
  "IsConsumable": true,
  "xmlUnApprovedPrescriptionIds": "sample string 16",
  "intDrugAdminIn": 17
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.