POST api/Doctor/SaveItem
Request Information
URI Parameters
None.
Body Parameters
SaveItemInput| Name | Description | Type | Additional information |
|---|---|---|---|
| HospitalLocationId | integer |
None. |
|
| FacilityId | integer |
None. |
|
| RegistrationId | integer |
None. |
|
| EncounterId | integer |
None. |
|
| IndentType | integer |
None. |
|
| AdvisingDoctorId | integer |
None. |
|
| xmlItems | Collection of Item |
None. |
|
| Remarks | string |
None. |
|
| EncodedBy | integer |
None. |
|
| IsConsumable | boolean |
None. |
|
| StoreId | integer |
None. |
|
| DrugOrderType | integer |
None. |
|
| RequestFromOtherWardId | integer |
None. |
|
| IsFromWard | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"HospitalLocationId": 1,
"FacilityId": 2,
"RegistrationId": 3,
"EncounterId": 4,
"IndentType": 5,
"AdvisingDoctorId": 6,
"xmlItems": [
{
"Dose": 1.0,
"Duration": 2,
"FoodRelId": 3,
"FrequencyId": 4,
"MedicineId": 5,
"StartDate": "sample string 6",
"EndDate": "sample string 7",
"UnitId": 8,
"remarks": "sample string 9",
"RouteId": 10,
"TotalQty": 11.0
},
{
"Dose": 1.0,
"Duration": 2,
"FoodRelId": 3,
"FrequencyId": 4,
"MedicineId": 5,
"StartDate": "sample string 6",
"EndDate": "sample string 7",
"UnitId": 8,
"remarks": "sample string 9",
"RouteId": 10,
"TotalQty": 11.0
}
],
"Remarks": "sample string 7",
"EncodedBy": 8,
"IsConsumable": true,
"StoreId": 10,
"DrugOrderType": 11,
"RequestFromOtherWardId": 12,
"IsFromWard": true
}
application/xml, text/xml
Sample:
<SaveItemInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
<AdvisingDoctorId>6</AdvisingDoctorId>
<DrugOrderType>11</DrugOrderType>
<EncodedBy>8</EncodedBy>
<EncounterId>4</EncounterId>
<FacilityId>2</FacilityId>
<HospitalLocationId>1</HospitalLocationId>
<IndentType>5</IndentType>
<IsConsumable>true</IsConsumable>
<IsFromWard>true</IsFromWard>
<RegistrationId>3</RegistrationId>
<Remarks>sample string 7</Remarks>
<RequestFromOtherWardId>12</RequestFromOtherWardId>
<StoreId>10</StoreId>
<xmlItems>
<Item>
<Dose>1</Dose>
<Duration>2</Duration>
<EndDate>sample string 7</EndDate>
<FoodRelId>3</FoodRelId>
<FrequencyId>4</FrequencyId>
<MedicineId>5</MedicineId>
<RouteId>10</RouteId>
<StartDate>sample string 6</StartDate>
<TotalQty>11</TotalQty>
<UnitId>8</UnitId>
<remarks>sample string 9</remarks>
</Item>
<Item>
<Dose>1</Dose>
<Duration>2</Duration>
<EndDate>sample string 7</EndDate>
<FoodRelId>3</FoodRelId>
<FrequencyId>4</FrequencyId>
<MedicineId>5</MedicineId>
<RouteId>10</RouteId>
<StartDate>sample string 6</StartDate>
<TotalQty>11</TotalQty>
<UnitId>8</UnitId>
<remarks>sample string 9</remarks>
</Item>
</xmlItems>
</SaveItemInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.