POST api/EMRAPI/getFavoriteDrugWithStockWithFavoriteId

Request Information

URI Parameters

None.

Body Parameters

DeleteFavoriteMedicine
NameDescriptionTypeAdditional information
DoctorId

integer

None.

ItemId

integer

None.

FormularyType

string

None.

UserId

integer

None.

GenericId

integer

None.

FavoriteId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorId": 1,
  "ItemId": 2,
  "FormularyType": "sample string 3",
  "UserId": 4,
  "GenericId": 5,
  "FavoriteId": 6
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.