Forecast Dynamic Rules
Update a dynamic rule
Changed onput/v2/forecasts/dynamic-rules
Request
- Base URLhttps://api.quinyx.com
- Auth
- OAuth 2Client credentialsToken URL/oauth/tokenScopesforecast:write
- or OAuth 2Client credentialsToken URL/oauth/tokenScopesforecast:update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
externalUnitIdstring required
externalSectionIdstring
Request body
Example request
{
"forecastExternalVariableId": "EXTERNAL_VAR",
"amount": 100,
"startTime": "12:00",
"endTime": "13:00",
"shiftTypes": [
{
"externalShiftTypeId": "EXTERNAL_SHIFT_ID",
"amount": 10
}
]
}Response
Success
Changes
- info
the security scope
forecast:writewas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
forecast:updatewas removed from the endpoint's security schemeOAuth2ClientCredentials
- info
- info
the security scope
forecast:writewas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
forecast:updatewas removed from the endpoint's security schemeOAuth2ClientCredentials
- info