Schedules

Create new schedule

post/v1/schedules

Request

  • Base URL: https://api.dayschedule.com/v1
  • URL: https://api.dayschedule.com/v1/v1/schedules
  • Auth: none declared

Request body

schedule_idnumber
account_idnumber
user_idnumber
namestring required
time_zonestring required
daily_limitnumber nullable
created_atstring nullable
updated_atstring nullable

Example request

{
  "schedule_id": 123,
  "account_id": 456,
  "user_id": 789,
  "name": "Work Schedule",
  "time_zone": "America/New_York",
  "availability": [
    {
      "day": "MON",
      "times": [
        {
          "start": "09:00",
          "end": "17:00"
        }
      ]
    }
  ],
  "daily_limit": 8,
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Response

OK

schedule_idnumber
account_idnumber
user_idnumber
namestring required
time_zonestring required
daily_limitnumber nullable
created_atstring nullable
updated_atstring nullable

Example response

{
  "schedule_id": 123,
  "account_id": 456,
  "user_id": 789,
  "name": "Work Schedule",
  "time_zone": "America/New_York",
  "availability": [
    {
      "day": "MON",
      "times": [
        {
          "start": "09:00",
          "end": "17:00"
        }
      ]
    }
  ],
  "daily_limit": 8,
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.