GET api/stocks/{shopId}/timesearch/supplier/{supplierId}/start/{periodStart}/end/{periodEnd}
Provides a Dictionary(VaiantId, Ean), of stock movements in a timespan, for a the given shop id and supplier id. Maximum timespan is 14 days.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The shop id. |
integer |
Required |
periodStart |
The start date. YYYY-MM-DD format. |
string |
Required |
periodEnd |
The end date. YYYY-MM-DD format. |
string |
Required |
supplierId |
The supplier id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IEnumerable of type 'long'
Dictionary of integer [key] and integer [value]Response Formats
application/json, text/json
Sample:
{ "1": 2, "3": 4 }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOflonglong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOflonglong> <Key>1</Key> <Value>2</Value> </KeyValueOflonglong> <KeyValueOflonglong> <Key>3</Key> <Value>4</Value> </KeyValueOflonglong> </ArrayOfKeyValueOflonglong>