GET api/Stock/{id}?warehouse={warehouse}

Stock postions of an Item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Item code

string

Required

warehouse

warehouse (if empty or undefines the default warehouse will be used)

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Stock positions

Stock
NameDescriptionTypeAdditional information
Warehouse

string

None.

ItemCode

string

None.

AvailableStock

decimal number

None.

FreeStock

decimal number

None.

QtyToBeDelivered

decimal number

None.

QtyToBeReceived

decimal number

None.

StockQuantity

decimal number

None.

ModifiedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Warehouse": "sample string 1",
  "ItemCode": "sample string 2",
  "AvailableStock": 3.1,
  "FreeStock": 4.1,
  "QtyToBeDelivered": 5.1,
  "QtyToBeReceived": 6.1,
  "StockQuantity": 7.1,
  "ModifiedDate": "2019-02-23T21:41:03.1202031+01:00"
}

application/xml, text/xml

Sample:
<Stock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Polybius.Models">
  <AvailableStock>3.1</AvailableStock>
  <FreeStock>4.1</FreeStock>
  <ItemCode>sample string 2</ItemCode>
  <ModifiedDate>2019-02-23T21:41:03.1202031+01:00</ModifiedDate>
  <QtyToBeDelivered>5.1</QtyToBeDelivered>
  <QtyToBeReceived>6.1</QtyToBeReceived>
  <StockQuantity>7.1</StockQuantity>
  <Warehouse>sample string 1</Warehouse>
</Stock>