Deviations
Endpoints
Get Deviations
Description
This endpoint allows to get a list of deviations by selecting : a company code, an establishment code and a range of deviation’s creation dates (from / to).
/companies/{companycode}/establishments/{establishmentcode}/deviations |
Parameters
Type | Name | Description | Schema | Associated rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
|
Path |
establishmentCode |
Current context establishment code |
string |
|
Query |
page |
Page index |
int |
|
Query |
size |
Entity count per page |
int |
|
Query |
from |
Deviation created since |
datetime (ISO-8601) |
|
Query |
to |
To get a range in the past : Deviation created / to |
datetime (ISO-8601) |