Forecast Static Rules
List static rules
Changed onget/v2/forecasts/static-rules
Request
- Base URLhttps://api.quinyx.com
- AuthOAuth 2Client credentialsToken URL/oauth/tokenScopesforecast:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
externalUnitIdstring required
externalSectionIdstring
pageinteger
sizeinteger
Response
Success
Example response
{
"result": [
{
"repeatPeriod": 1,
"shiftType": {
"externalShiftTypeId": "EXTERNAL_SHIFT_ID",
"amount": 10
},
"startTime": "12:00",
"endTime": "13:00",
"startDate": "2022-01-13",
"endDate": "2022-02-20",
"comment": "Holiday closure"
}
]
}Changes
- info
the endpoint scheme security
OAuth2ClientCredentialswas added to the API
- info