Data Access Sales lines
Endpoints
Get list of sales lines
/forecast/companies/{companycode}/establishments/{establishmentcode}/data-access/sales-lines |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
companyCode |
Current context company code |
string |
Path |
establishmentCode |
Current context establishment code |
string |
Query |
planCode |
Forecast plan code |
string |
Query |
internalLineNumber |
Forecast line internal number |
integer (int32) |
Query |
updateStartDate |
Start of update date |
datetime (ISO-8601) |
Query |
updateEndDate |
End of update date |
datetime (ISO-8601) |
Query |
page |
Page index |
integer (int32) |
Query |
size |
Entity count per page |
integer (int32) |
*At least planCode or updateStartDate/updateEndDate is required
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< SalesLine > array |
400 |
Functionnal error |
No Content |
403 |
Not allowed without Data Access offer |
No Content |
500 |
Internal server error |
No Content |
Data structure
SalesLine
Sales line data structure for Get.
Name | Description | Value |
---|---|---|
companyCode |
Current company code |
string |
establishmentCode |
Current establishment code |
string |
planCode |
Forecast plan code |
string |
internalLineNumber |
Forecast line internal number |
integer |
actType |
Sales act type |
string within (ORD, DEL) |
chrono |
Sales act chrono |
integer |
nb1 |
Sales act internal number |
integer |
itemCode |
Item code |
string |
statUnit1PollutionQuantity |
Statistical unit 1 pollution quantity |
double |
statUnit1Code |
Statistical unit 1 code |
string |
creationDate |
Creation date |
datetime (ISO-8601) |
updateDate |
Update date |
datetime (ISO-8601) |