Skip to main content

Create an Operation Rule

This operation creates an operation rule.

More Details

Request Body
  • operationWindow object required
  • endDate integer

    Epoch Date value at 12:00 AM of the particular end Date

  • name string
  • startDate integer

    Epoch Date value at 12:00 AM of the particular start Date

  • operations integer[]
  • dayTime object[] required

    Add the time interval of the days in dayOfWeek that will be in blackout period

  • startTime integer

    Time value

  • endTime integer
  • dayOfWeek string[] required

    Possible values: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY]

    Select the Day of the week for the rule

  • weekOfTheMonth string[] required

    Possible values: [EVERY, FIRST, SECOND, THIRD, FOURTH, LAST]

    Select the week of the month for the blackout window. Select EVERY for all weeks

  • entity object
  • clientGroupId integer
  • clientId integer
Responses

OK


Schema
  • error object
  • errorCode integer
  • operationWindow object
  • endDate integer
  • name string
  • ruleId integer
  • startDate integer
  • operations integer[]
  • dayTime object[]
  • startTime integer
  • endTime integer
  • dayOfWeek integer[]
Loading...