Skip to main content

Create a schedule

POST 

/schedules

Create a new schedule.

Request

Body

Created

    oneOf
    folder stringrequired

    Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z\d-_\. ]+$

    The folder in which the resource is defined

    name stringrequired

    Possible values: <= 31 characters, Value must match regular expression ^[ a-zA-Z\d._-]+$

    The name of the schedule

    schedule_type object required
    oneOf
    recurring object
    oneOf
    weekly object
    sunday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    monday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    tuesday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    wednesday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    thursday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    friday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    saturday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

Responses

Created

Loading...