Data Access Forecast requirements
Endpoints
Get list of forecast requirements.
/processes/{processCode}/data-access/forecast-requirements |
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 |
< GetForecastRequirements > array |
400 |
Functionnal error |
No Content |
403 |
Not allowed without Data Access offer |
No Content |
500 |
Internal server error |
No Content |
Data structure
GetForecastRequirements
Forecast requirements 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 |
Requirement quantity |
double |
The value is in the unit defined below |
unitCode |
Unit code |
string |
The quantity unit |