Data Access Forecast plan
Endpoints
Get list of forecast plans
| /forecast/companies/{companycode}/establishments/{establishmentcode}/data-access/forecast-plans | 
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 | budget | True if only budget plans, False if only not budget plans ? | boolean | |
| Query | page | Page index | integer (int32) | |
| Query | size | Entity count per page | integer (int32) | 
Responses
| HTTP Code | Description | Schema | 
|---|---|---|
| 200 | Successfull | < ForecastPlan > array | 
| 400 | Functionnal error | No Content | 
| 403 | Not allowed without Data Access offer | No Content | 
| 500 | Internal server error | No Content | 
Data structure
ForecastPlan
Forecast plan 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 | 
| planLabel | Plan label | string | 30 characters max | 
| budget | Budget | boolean |