POST api/EMRAPI/getItemsWithStock

Request Information

URI Parameters

None.

Body Parameters

Pharmacy
NameDescriptionTypeAdditional information
HospId

integer

None.

StoreId

integer

None.

ItemId

integer

None.

ItemNo

string

None.

active

integer

None.

ItemsearchName

string

None.

ItemBrandId

integer

None.

GenericId

integer

None.

UserId

integer

None.

FacilityId

integer

None.

SupplierId

integer

None.

ItemName

string

None.

WithStockOnly

integer

None.

NHISDrugsList

string

None.

iOT

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HospId": 1,
  "StoreId": 2,
  "ItemId": 3,
  "ItemNo": "sample string 4",
  "active": 5,
  "ItemsearchName": "sample string 6",
  "ItemBrandId": 7,
  "GenericId": 8,
  "UserId": 9,
  "FacilityId": 10,
  "SupplierId": 11,
  "ItemName": "sample string 12",
  "WithStockOnly": 13,
  "NHISDrugsList": "sample string 14",
  "iOT": 15
}

application/xml, text/xml

Sample:
<Pharmacy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <FacilityId>10</FacilityId>
  <GenericId>8</GenericId>
  <HospId>1</HospId>
  <ItemBrandId>7</ItemBrandId>
  <ItemId>3</ItemId>
  <ItemName>sample string 12</ItemName>
  <ItemNo>sample string 4</ItemNo>
  <ItemsearchName>sample string 6</ItemsearchName>
  <NHISDrugsList>sample string 14</NHISDrugsList>
  <StoreId>2</StoreId>
  <SupplierId>11</SupplierId>
  <UserId>9</UserId>
  <WithStockOnly>13</WithStockOnly>
  <active>5</active>
  <iOT>15</iOT>
</Pharmacy>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.