Skip to main content
POST
/
v1.0
/
schedules
json
{
  "Name": "Business Hours",
  "MondayStartTime": "8:00 AM",
  "MondayEndTime": "5:00 PM",
  "FridayStartTime": "8:00 AM",
  "FridayEndTime": "5:00 PM"
}
{
  "ScheduleId": "SID-d54c650d-4132-418a-9202-3178427610df",
  "Active": true,
  "Name": "Schedule 1",
  "AccountId": "DID-1e8939ac-3f3c-4cc1-89d7-956d80fbg221",
  "MondayStartTime": "8:00 AM",
  "MondayEndTime": "5:00 PM",
  "TuesdayStartTime": "8:00 AM",
  "TuesdayEndTime": "5:00 PM",
  "WednesdayStartTime": "8:00 AM",
  "WednesdayEndTime": "5:00 PM",
  "ThursdayStartTime": "8:00 AM",
  "ThursdayEndTime": "5:00 PM",
  "FridayStartTime": "8:00 AM",
  "FridayEndTime": "5:00 PM",
  "SaturdayStartTime": "",
  "SaturdayEndTime": "",
  "SundayStartTime": "",
  "SundayEndTime": ""
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
Name
string
required

Schedule name

Example:

"Schedule 1"

MondayStartTime
string

Monday start time

Example:

"8:00 AM"

MondayEndTime
string

Monday end time

Example:

"5:00 PM"

TuesdayStartTime
string

Tuesday start time

Example:

"8:00 AM"

TuesdayEndTime
string

Tuesday end time

Example:

"5:00 PM"

WednesdayStartTime
string

Wednesday start time

Example:

"8:00 AM"

WednesdayEndTime
string

Wednesday end time

Example:

"5:00 PM"

ThursdayStartTime
string

Thursday start time

Example:

"8:00 AM"

ThursdayEndTime
string

Thursday end time

Example:

"5:00 PM"

FridayStartTime
string

Friday start time

Example:

"8:00 AM"

FridayEndTime
string

Friday end time

Example:

"5:00 PM"

SaturdayStartTime
string

Saturday start time (leave empty if closed)

Example:

""

SaturdayEndTime
string

Saturday end time

Example:

""

SundayStartTime
string

Sunday start time (leave empty if closed)

Example:

""

SundayEndTime
string

Sunday end time

Example:

""

Response

200 - application/json

Create Schedule

The response is of type object.