Data Access Inventory hedges
Endpoints
Get list of inventory hedges.
| /processes/{processCode}/data-access/inventory-hedges | 
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 | 
| Query | unit | Unit | string | Within (DAY, WEEK, WORKING_DAY, MONTH) | 
Responses
| HTTP Code | Description | Schema | 
|---|---|---|
| 200 | Successfull | < GetInventoryHedges > array | 
| 400 | Functionnal error | No Content | 
| 403 | Not allowed without Data Access offer | No Content | 
| 500 | Internal server error | No Content | 
Data structure
GetInventoryHedges
Inventory hedges 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 | Inventory hedges | double | |
| unit | Unit code | string | Within (DAY, WEEK, WORKING_DAY, MONTH) |