Booking Moved V1

View JSON Schema

A message that is sent when a booking is moved. The message contains information about the booking and the facility that the booking was moved to. This event is triggered when a booking is moved.This is data part of the message please read the event section for more information of the metadata envelop.

Properties

NameTypeTitleDescriptionRequired
bookingobjectBookingBooking informationyes
facilityobjectFacilityFacility informationyes

Example

{
    "booking": {
        "bookingId": "1234555",
        "startTime": "2024-07-04T10:00:00Z",
        "endTime": "2024-07-04T11:00:00Z",
        "courtId": "C001",
        "courtName": "Main Court",
        "accessCode": "ACCESS1234",
        "splitPayment": true
    },
    "facility": {
        "facilityId": "2344123",
        "facilityName": "Matchi Tennis Club"
    }
}

booking: Booking

Booking information

Properties

NameTypeTitleDescriptionRequired
bookingIdstringBooking IDA unique identifier for the booking.yes
startTimestringStart TimeThe start time of the booking, in ISO 8601 format.Format: "date-time"yes
endTimestringEnd TimeThe end time of the booking, in ISO 8601 format.Format: "date-time"yes
courtIdstringCourt IDA unique identifier for the court.yes
courtNamestringCourt NameThe name of the court.yes
accessCodestringAccess CodeA code to access the court.no
splitPaymentbooleanSplit PaymentIndicates whether the booking type is a split payment booking.no

Example

{
    "bookingId": "1234555",
    "startTime": "2024-07-04T10:00:00Z",
    "endTime": "2024-07-04T11:00:00Z",
    "courtId": "C001",
    "courtName": "Main Court",
    "accessCode": "ACCESS1234",
    "splitPayment": true
}

facility: Facility

Facility information

Properties

NameTypeTitleDescriptionRequired
facilityIdstringFacility IDA unique identifier for the facility.yes
facilityNamestringFacility NameThe name of the facility.yes

Example

{
    "facilityId": "2344123",
    "facilityName": "Matchi Tennis Club"
}