Forecast Dynamic Rules

Update a dynamic rule

Changed on
put/v2/forecasts/dynamic-rules

Request

Query parameters

externalUnitIdstring required
externalSectionIdstring

Request body

forecastExternalVariableIdstring required
amountinteger required
weekdaysinteger[] required
startTimestring required
endTimestring required

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:write was added to the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast:update was removed from the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast:write was added to the endpoint's security scheme OAuth2ClientCredentials

    • info

      the security scope forecast:update was removed from the endpoint's security scheme OAuth2ClientCredentials