POST api/EMRAPI/StopCancelPreviousMedication

Request Information

URI Parameters

None.

Body Parameters

StopCancelPreviousMedication
NameDescriptionTypeAdditional information
iHospitalLocationId

integer

None.

iFacilityId

integer

None.

iIndentId

integer

None.

iItemId

integer

None.

UserId

integer

None.

iRegistrationId

integer

None.

iEncounterId

integer

None.

bCancelStop

integer

None.

sStopRemarks

string

None.

OPIP

string

None.

IndentDetailsId

integer

None.

GenericId

integer

None.

StopBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "iHospitalLocationId": 1,
  "iFacilityId": 2,
  "iIndentId": 3,
  "iItemId": 4,
  "UserId": 5,
  "iRegistrationId": 6,
  "iEncounterId": 7,
  "bCancelStop": 8,
  "sStopRemarks": "sample string 9",
  "OPIP": "sample string 10",
  "IndentDetailsId": 11,
  "GenericId": 12,
  "StopBy": 13
}

application/xml, text/xml

Sample:
<StopCancelPreviousMedication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <GenericId>12</GenericId>
  <IndentDetailsId>11</IndentDetailsId>
  <OPIP>sample string 10</OPIP>
  <StopBy>13</StopBy>
  <UserId>5</UserId>
  <bCancelStop>8</bCancelStop>
  <iEncounterId>7</iEncounterId>
  <iFacilityId>2</iFacilityId>
  <iHospitalLocationId>1</iHospitalLocationId>
  <iIndentId>3</iIndentId>
  <iItemId>4</iItemId>
  <iRegistrationId>6</iRegistrationId>
  <sStopRemarks>sample string 9</sStopRemarks>
</StopCancelPreviousMedication>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.