Read Bookable Event PRERELEASE

Description

Read a Bookable Event for the application.

URL format

api.cronofy.com/v1/bookable_events/{bookable_event_id}

Example Request

GET /v1/bookable_events/{bookable_event_id} HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {API_KEY}

Example Response

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

{
  "bookable_event_id": "83hi8qhfiaif",
  "start": "2019-06-20T15:30:00Z",
  "end": "2019-06-20T17:00:00Z",
  "registration": {
    "capacity": 5,
    "count": 2,
    "registrations": [
      {
        "registration_id": "328746",
        "status": "accepted",
        "metadata": {
          "name": "Lashmi Sundar"
        }
      },
      {
        "registration_id": "247629",
        "status": "accepted",
        "metadata": {
          "name": "Sarah Overly"
        }
      }
    ],
    "pages": {
      "current": 1,
      "total": 2,
      "next_page": "https://api.cronofy.com/v1/bookable_events/83hi8qhfiaif/registrations/pages/08a07b034306679e"
    }
  }
}

Request parameters

bookable_event_id required  #

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

Response parameters

bookable_event_id  #

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

start  #

The start time as a ISO8601 UTC Time.

end  #

The end time is as a ISO8601 UTC Time.

registration.capacity  #

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.

registration.count  #

An Integer describing the current number of registrations that for the Bookable Event that are do not have a status of declined.

registration.registrations  #

An Array of Registration objects. See Upsert Registration end-point docs for details.

registration.pages  #

An object that will be present if the number of pages of registrations exceeds one.

Search