Business - Event Booking

Fetch event booking by ID

Endpoint

GET /api/v1/event_bookings/:event_booking_id

Request

Route

GET /api/v1/event_bookings/17

Headers

Accept: application/json
Content-Type: application/json
App-Id: d1ad399c-5bdb-485a-b7cc-8c6c7a98afaa
App-Secret: vBJypyQ21PJ0FUbFq2ynichGTBRVRWsFmN8fI8So
Franchise-Id: 227

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: bce2c18d-2140-4003-811e-908c6a295426
Content-Length: 1262

Body

{
  "meta": {
    "status": "ok"
  },
  "data": {
    "id": "17",
    "type": "event_booking",
    "attributes": {
      "id": 17,
      "event_id": 42,
      "event_type_id": 21,
      "title": "Sarah and John's Wedding",
      "name": "Leone",
      "starts_at": "2023-11-17T17:36:54.876-08:00",
      "ends_at": "2023-11-17T18:36:54.876-08:00",
      "status": "confirmed",
      "formatted_status": "Confirmed",
      "formatted_status_with_context": "Confirmed",
      "brand_name": "Harris-Koelpin 89",
      "canceled": false,
      "postponed": false,
      "date_mode": "date_time",
      "description_html": "",
      "override_ends_at": null,
      "length_in_minutes": "60.0",
      "length_in_days": 1,
      "event_type_unit_range": null,
      "units": null,
      "formatted_datetime_range": "Friday, November 17, 2023 • 5:36 PM - 6:36 PM",
      "formatted_date_range": "Friday, November 17, 2023",
      "formatted_time_range": "5:36 PM - 6:36 PM",
      "formatted_units": null,
      "staff_member_abbreviations": null,
      "expired_proposal": false,
      "primary_image_attachment": {
        "video_variant": "/assets/video_dimensions_no-addon-51d25c35216ac7f3ea621f74772120bbea123405e2fa3f25d97050af78f5804e.png"
      },
      "package_group_name": "Sample",
      "service_name": "Photo booth 6",
      "override_price": null,
      "override_price_cents": null,
      "override_price_currency": null,
      "override_price_formatted": null,
      "taxable": null
    },
    "relationships": {
      "event_add_ons": {
        "data": [

        ]
      },
      "event_photobooth_background": {
        "data": null
      }
    }
  }
}