List all bookings

Returns a list of bookings made by your members.

Definition

GET https://coworkify.com/api/v1/spaces/{SPACE_ID}/bookings

Returns

A list of booking objects.

Example Request

$ curl https://coworkify.com/api/v1/spaces/077d8fab09b811e585b4705681ba8889/bookings \
   -H "X-Auth-Token: {YOUR_TOKEN}"

Example Response

{
  "success": {
    "bookings": [
      {
        "note": "",
        "start_time": "2015-06-19T06:00:00",
        "end_time": "2015-06-19T07:30:00",
        "resource_id": "0781fcf309b811e5b6f2705681ba8889",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "member_id": null,
        "id": "c3d52b63132811e5b654705681ba8889"
      },
      {
        "note": "",
        "start_time": "2015-06-17T17:30:00",
        "end_time": "2015-06-17T19:00:00",
        "resource_id": "d23288a110d811e5b2e1705681ba8889",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "member_id": "b2eaa1d909f011e5bd0e705681ba8889",
        "id": "e6e79f7a132a11e59991705681ba8889"
      }
    ]
  }
}

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.