11.3 GetDistSales and GetDistStock
GetDistSales body:
| Field | Type | Required | Description |
|---|---|---|---|
startDate | date | Yes | Start, inclusive |
endDate | date | Yes | End, inclusive; if no time is given, 00:00 of that day is used (send 2026-10-31T23:59:59) |
{ "startDate": "2026-10-01", "endDate": "2026-10-31T23:59:59" }
GetDistStock takes no parameters (GET). Both methods return the same fields: material (product code), customer (distributor code), salesorg, distR_CHAN, date (first day of the month), koli (cases), adet (pieces not making up a full case) and kg. Sales are summed as positive and returns as negative. These two methods return all distributors; the distributor permission is not applied.