Create a Bookable Event PRERELEASE

Description

Creates a Bookable Event for the application.

URL format

api.cronofy.com/v1/bookable_events

Example Request

POST /v1/bookable_events HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {API_KEY}
Content-Type: application/json; charset=utf-8

{
  "bookable_event_id": "83hi8qhfiaif",
  "start": "2019-06-22T12:30:00Z",
  "end": "2019-06-22T17:00:00Z",
  "registration": {
    "capacity": 5
  }
}

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "bookable_event_id": "83hi8qhfiaif",
  "start": "2019-06-22T12:30:00Z",
  "end": "2019-06-22T17:00:00Z",
  "registration": {
    "capacity": 5,
    "count": 0,
    "registrations": []
  }
}

Request Parameters

bookable_event_id required  #

Your application’s unique identifier for the Bookable Event as a String.

start required  #

The start time is provided as a simple UTC Time.

end required  #

The end time is provided as a simple UTC Time.

registration.capacity optional  #

An Integer describing the maximum number of registrations that can be accepted by the Bookable Event.

A null value, the default, indicates that an unlimited number of registrations can be added to the Bookable Event.

Response Parameters

See Read Bookable Event end point docs.

Search