Forecast line
Endpoints
Get list of forecast lines
| /forecast/companies/{companycode}/establishments/{establishmentcode}/forecast-lines | 
Parameters
| Type | Name | Description | Schema | Business rules | 
|---|---|---|---|---|
| Path | companyCode | Current context company code | string | 2 characters max | 
| Path | establishmentCode | Current context establishment code | string | 2 characters max | 
| Query | planCode | Plan code | string | 10 characters max | 
| Query | internalLineNumber | Internal line number | integer (int32) | |
| Query | state | State | string | within (PRG, CAN) : PRG = In progress | 
| Query | page | Page index | integer (int32) | |
| Query | size | Entity count per page | integer (int32) | 
Responses
| HTTP Code | Description | Schema | 
|---|---|---|
| 200 | Successfull | < ForecastLine > array | 
| 400 | Functionnal error | No Content | 
| 500 | Internal server error | No Content | 
Data structure
ForecastLine
Forecast line data structure for Get.
| Name | Description | Value | Business rules | 
|---|---|---|---|
| companyCode | Current company code | string | 2 characters max | 
| establishmentCode | Current establishment code | string | 2 characters max | 
| planCode | Plan code | string | 10 characters max | 
| internalLineNumber | Internal line number | integer (int32) | |
| lineNumber | Line number | integer (int32) | |
| state | State | string | within (PRG, CAN) : PRG = In progress | 
| custDesc | Customer description | string | 50 characters max | 
| custHierarchyCode | Customer hierarchy code | string | 10 characters max | 
| custHierarchyLevel | Customer hierarchy level | integer (int32) | |
| custHierarchyValue | Customer hierarchy value code | string | 20 characters max | 
| customerCode | Customer code | string | 10 characters max | 
| itemtDesc | Item description | string | 50 characters max | 
| itemHierarchyCode | Item hierarchy code | string | 10 characters max | 
| itemHierarchyLevel | Item hierarchy level | integer (int32) | |
| itemHierarchyValue | Item hierarchy value code | string | 20 characters max | 
| items | Items | Item list | |
| creationDate | Creation date | datetime (ISO-8601) | |
| updateDate | Update date | datetime (ISO-8601) | |
| unitCode | Unit code | string | 5 characters max | 
| hierarchies | GroupLink list |