GET api/Stock?ChangeDate={ChangeDate}&start={start}&limit={limit}&warehouse={warehouse}

List of stock postions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChangeDate

Start Data/Time last change (inclusive)

date

None.

start

results to skip

integer

Default value is 0

limit

Maximum number of results (1-500)

integer

Default value is 50

warehouse

Warehouse (if empty or omitted the stock of all warehouses will be returned)

string

Default value is

Body Parameters

None.

Response Information

Resource Description

List of stockpostions

Collection of 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-23T22:39:33.2245956+01:00"
  },
  {
    "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-23T22:39:33.2245956+01:00"
  }
]

application/xml, text/xml

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