Event
Endpoints
Import entity list
| /forecast/companies/{companycode}/establishments/{establishmentcode}/events/import | 
Parameters
| Type | Name | Description | Schema | 
|---|---|---|---|
| Path | companyCode | Current context company code | string | 
| Path | establishmentCode | Current context establishment code | string | 
| Body | body | 
Data structure
ImportEventList
| Name | Value | 
|---|---|
| callback | string | 
| data | Event list | 
| parameters | 
Event
Event data structure.
| Name | Description | Value | Business rules | 
|---|---|---|---|
| startDate | Start date | datetime (ISO-8601) | YYYY-MM-DDTHH:MM:SSZ | 
| endDate | End date | datetime (ISO-8601) | YYYY-MM-DDTHH:MM:SSZ | 
| itemGroupCode | Item group code | string | 10 characters max | 
| itemGroupLevel | Item group level | integer | |
| itemGroupValueCode | Item group value code | string | 20 characters max | 
| itemCode | Item code | string | 20 characters max | 
| customerGroupCode | Customer group code | string | 10 characters max | 
| customerGroupLevel | Customer group level | integer | |
| customerGroupValueCode | Customer group value code | string | 20 characters max | 
| customerCode | Customer code | string | 10 characters max | 
| value | Value | double | |
| valueType | Value type | string | Within (QTY, MUL, PER) : QTY = Quantity | 
| unitCode | Unit code | string | 5 characters max | 
| pollutionType | Pollution type | string | Within (DIV, PRM, SPR, HOL, WEA) : DIV = Miscellaneous event | 
| comment | Comment | string | 1000 characters max |