Skip to content

Create Hours Of Operation Override

connect_create_hours_of_operation_override R Documentation

Creates an hours of operation override in an Connect Customer hours of operation resource

Description

Creates an hours of operation override in an Connect Customer hours of operation resource.

Usage

connect_create_hours_of_operation_override(InstanceId,
  HoursOfOperationId, Name, Description, Config, EffectiveFrom,
  EffectiveTill, RecurrenceConfig, OverrideType)

Arguments

InstanceId

[required] The identifier of the Connect Customer instance.

HoursOfOperationId

[required] The identifier for the hours of operation

Name

[required] The name of the hours of operation override.

Description

The description of the hours of operation override.

Config

[required] Configuration information for the hours of operation override: day, start time, and end time.

EffectiveFrom

[required] The date from when the hours of operation override is effective.

EffectiveTill

[required] The date until when the hours of operation override is effective.

RecurrenceConfig

Configuration for a recurring event.

OverrideType

Whether the override will be defined as a standard or as a recurring event.

For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.

Value

A list with the following syntax:

list(
  HoursOfOperationOverrideId = "string"
)

Request syntax

svc$create_hours_of_operation_override(
  InstanceId = "string",
  HoursOfOperationId = "string",
  Name = "string",
  Description = "string",
  Config = list(
    list(
      Day = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY",
      StartTime = list(
        Hours = 123,
        Minutes = 123
      ),
      EndTime = list(
        Hours = 123,
        Minutes = 123
      )
    )
  ),
  EffectiveFrom = "string",
  EffectiveTill = "string",
  RecurrenceConfig = list(
    RecurrencePattern = list(
      Frequency = "WEEKLY"|"MONTHLY"|"YEARLY",
      Interval = 123,
      ByMonth = list(
        123
      ),
      ByMonthDay = list(
        123
      ),
      ByWeekdayOccurrence = list(
        123
      )
    )
  ),
  OverrideType = "STANDARD"|"OPEN"|"CLOSED"
)