| GET | /warehouseItems/{brand}/{posCode} | Get a list Paginated Warehouse Stock |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| brand | path | string | Yes | Brand |
| posCode | path | string | Yes | POS Legacy |
| articleCodes | query | List<string> | No | List of Article Codes |
| page | query | int | No | Index of the result set returned |
| items | query | int | No | Size of the result set returned |
| noCount | query | bool | No | Omit precise record count - save on performance |
| sortBy | query | string | No | Sorting expression |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| totalPages | form | int | Yes | Total Pages |
| totalResults | form | int | Yes | Total Results |
| page | form | int | Yes | Index of the result set returned |
| items | form | int | Yes | Size of the result set returned |
| elements | form | IEnumerable<WarehouseStockElement> | Yes | List of movements |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| articleCode | form | string | Yes | Article Code |
| atpQuantity | form | int | Yes | Current Stock Quantity |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warehouseItems/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
totalPages: 0,
totalResults: 0,
page: 0,
items: 0
}