POST api/EMRAPI/GetItemsWithStockNew

Request Information

URI Parameters

None.

Body Parameters

GetItemsWithStockInput
NameDescriptionTypeAdditional information
HospId

integer

None.

StoreId

integer

None.

ItemId

integer

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.

UseFor

string

None.

IsPackagePatient

boolean

None.

IsPanelPatient

boolean

None.

AllowPanelExcludedItems

boolean

None.

SecGroupId

integer

None.

EmployeeId

integer

None.

ItemSearchFor

string

None.

CompanyId

integer

None.

UniqueCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HospId": 1,
  "StoreId": 2,
  "ItemId": 3,
  "ItemBrandId": 4,
  "GenericId": 5,
  "UserId": 6,
  "FacilityId": 7,
  "SupplierId": 8,
  "ItemName": "sample string 9",
  "WithStockOnly": 10,
  "NHISDrugsList": "sample string 11",
  "iOT": 12,
  "UseFor": "sample string 13",
  "IsPackagePatient": true,
  "IsPanelPatient": true,
  "AllowPanelExcludedItems": true,
  "SecGroupId": 17,
  "EmployeeId": 18,
  "ItemSearchFor": "sample string 19",
  "CompanyId": 20,
  "UniqueCategoryId": 21
}

application/xml, text/xml

Sample:
<GetItemsWithStockInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <AllowPanelExcludedItems>true</AllowPanelExcludedItems>
  <CompanyId>20</CompanyId>
  <EmployeeId>18</EmployeeId>
  <FacilityId>7</FacilityId>
  <GenericId>5</GenericId>
  <HospId>1</HospId>
  <IsPackagePatient>true</IsPackagePatient>
  <IsPanelPatient>true</IsPanelPatient>
  <ItemBrandId>4</ItemBrandId>
  <ItemId>3</ItemId>
  <ItemName>sample string 9</ItemName>
  <ItemSearchFor>sample string 19</ItemSearchFor>
  <NHISDrugsList>sample string 11</NHISDrugsList>
  <SecGroupId>17</SecGroupId>
  <StoreId>2</StoreId>
  <SupplierId>8</SupplierId>
  <UniqueCategoryId>21</UniqueCategoryId>
  <UseFor>sample string 13</UseFor>
  <UserId>6</UserId>
  <WithStockOnly>10</WithStockOnly>
  <iOT>12</iOT>
</GetItemsWithStockInput>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.