Data Access Stocks
Endpoints
Get list of stocks.
/processes/{processCode}/data-access/stocks |
Parameters
Type | Name | Description | Schema | Business rules |
---|---|---|---|---|
Path |
processCode |
Process code to extract from |
string |
15 characters max |
Query |
page |
Page index |
integer (int32) |
1 by default |
Query |
size |
Entity count per page |
integer (int32) |
10 by default |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< GetStocks > array |
400 |
Functionnal error |
No Content |
403 |
Not allowed without Data Access offer |
No Content |
500 |
Internal server error |
No Content |
Data structure
GetStocks
Stocks data structure for Get.
Name | Description | Value | Business rules |
---|---|---|---|
companyCode |
Company code |
string |
2 characters max |
establishmentCode |
Establishment code |
string |
2 characters max |
depositCode |
Deposit code |
string |
10 characters max |
itemCode |
Item code |
string |
20 characters max |
startDate |
Start date |
datetime |
YYYY-MM-DDTHH:MM:SSZ |
endDate |
End date |
datetime |
YYYY-MM-DDTHH:MM:SSZ |
quantity |
Stock quantity |
double |
The value is in the unit defined below |
unitCode |
Unit code |
string |
The quantity unit |