Booking Moved V1
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
Name | Type | Title | Description | Required |
---|---|---|---|---|
booking | object | Booking | Booking information | yes |
facility | object | Facility | Facility information | yes |
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
Name | Type | Title | Description | Required |
---|---|---|---|---|
bookingId | string | Booking ID | A unique identifier for the booking. | yes |
startTime | string | Start Time | The start time of the booking, in ISO 8601 format.Format: "date-time" | yes |
endTime | string | End Time | The end time of the booking, in ISO 8601 format.Format: "date-time" | yes |
courtId | string | Court ID | A unique identifier for the court. | yes |
courtName | string | Court Name | The name of the court. | yes |
accessCode | string | Access Code | A code to access the court. | no |
splitPayment | boolean | Split Payment | Indicates 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
Name | Type | Title | Description | Required |
---|---|---|---|---|
facilityId | string | Facility ID | A unique identifier for the facility. | yes |
facilityName | string | Facility Name | The name of the facility. | yes |
Example
{
"facilityId": "2344123",
"facilityName": "Matchi Tennis Club"
}