Bookings

Update booking by id

put/v1/bookings/:id

Request

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

Path parameters

idnumber required

Request body

booking_idnumber nullable
account_idnumber nullable
user_idnumber nullable
resource_idnumber nullable
subjectstring nullable
topicstring nullable
descriptionstring nullable
start_atstring date-time required
end_atstring date-time nullable
formatted_timestring nullable
durationnumber nullable
time_zonestring
status'processing' | 'pending' | 'waiting' | 'confirmed' | 'canceled' | 'completed' | 'noshow' | 'null' nullable
colorstring nullable
internal_notestring nullable
booking_urlstring nullable
canceled_atstring date-time nullable
canceled_bystring nullable
cancel_reasonstring nullable
recurrencestring[] nullable

Recurring event rules in rrule format

created_atstring nullable
updated_atstring nullable

Example request

{
  "booking_id": 1,
  "account_id": 1,
  "subject": "Product demo",
  "description": "Booking description to add on calendar invite",
  "start_at": "1970-01-01T00:00:00.000Z",
  "duration": 60,
  "time_zone": "UTC",
  "color": "#FFFFFF",
  "internal_note": "Internal note example",
  "booking_url": "https://vikash.dayschedule.com",
  "canceled_by": "Vikash Rathee",
  "cancel_reason": "Something urgent come up",
  "recurrence": [
    "RRULE:FREQ=WEEKLY;BYDAY=MO,TU"
  ],
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Response

OK

booking_idnumber nullable
account_idnumber nullable
user_idnumber nullable
resource_idnumber nullable
subjectstring nullable
topicstring nullable
descriptionstring nullable
start_atstring date-time required
end_atstring date-time nullable
formatted_timestring nullable
durationnumber nullable
time_zonestring
status'processing' | 'pending' | 'waiting' | 'confirmed' | 'canceled' | 'completed' | 'noshow' | 'null' nullable
colorstring nullable
internal_notestring nullable
booking_urlstring nullable
canceled_atstring date-time nullable
canceled_bystring nullable
cancel_reasonstring nullable
recurrencestring[] nullable

Recurring event rules in rrule format

created_atstring nullable
updated_atstring nullable

Example response

{
  "booking_id": 1,
  "account_id": 1,
  "subject": "Product demo",
  "description": "Booking description to add on calendar invite",
  "start_at": "1970-01-01T00:00:00.000Z",
  "duration": 60,
  "time_zone": "UTC",
  "color": "#FFFFFF",
  "internal_note": "Internal note example",
  "booking_url": "https://vikash.dayschedule.com",
  "canceled_by": "Vikash Rathee",
  "cancel_reason": "Something urgent come up",
  "recurrence": [
    "RRULE:FREQ=WEEKLY;BYDAY=MO,TU"
  ],
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Changes

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