Booking Data
Description of the booking data sent as payload to your endpoint.

Booking Event Payload

The event data model delivered for this category:
Booking Data model is delivered on: Creation, Amendment or Cancellation
eventNotificationGroupId: 100
eventNotificationTypeId: 100 or 101 or 102 (Create, Amend or Cancel)
1
{
2
"eventNotificationCompanyIdentifier": "b6589fc6ab",
3
"eventNotificationCompanyName": "North Shore Seaplanes",
4
"eventNotificationDateTime": "2021-02-08 21:42:21",
5
"eventNotificationGroupId": "100",
6
"eventNotificationId": "2",
7
"eventNotificationIpAddress": "66.183.253.14",
8
"eventNotificationName": "booking amend",
9
"eventNotificationSystem": "support",
10
"eventNotificationType": "Booking Amendment",
11
"eventNotificationTypeId": "101",
12
"eventData": {
13
"booking": {
14
"activities": {
15
{
16
"activityAccountingCode": {},
17
"activityDate": "Monday February 01 2021",
18
"activityId": "167",
19
"activityIsMultidayRental": "false",
20
"activityIsRental": "true",
21
"activityName": "my rental",
22
"activityNotes": {},
23
"activityRentalDuration_Hours": "0.41666666666667",
24
"activityRentalEndDateTime": "2021-02-01 16:30:00",
25
"activityRentalStartDateTime": "2021-02-01 16:05:00",
26
"activityStatus": "Active",
27
"activitySubTotal": "$20.00",
28
"activityTax": "$1.00",
29
"activityTime": "00:00:00",
30
"activityType": "Rental",
31
"equipmentAssignmentId": "2",
32
"freeEditField": {},
33
"packageId": "0",
34
"passengers": {
35
"adults": "1",
36
"children": "0",
37
"infants": "0",
38
"seniors": "0",
39
"students": "0"
40
},
41
"priceCodeDetails": {
42
"adultsPrice": "20.000000",
43
"adultsSurplusFee": "0.000000",
44
"childrenPrice": "0.000000",
45
"childrenSurplusFee": "0.000000",
46
"infantsPrice": "0.000000",
47
"infantsSurplusFee": "0.000000",
48
"priceCodeId": "426",
49
"seniorsPrice": "0.000000",
50
"seniorsSurplusFee": "0.000000",
51
"studentsPrice": "0.000000",
52
"studentsSurplusFee": "0.000000"
53
},
54
"pricingOptions": {},
55
"taxes" : {}
56
}
57
},
58
"bookingCloseDateTime": "0000-00-00 00:00:00",
59
"bookingId": "704",
60
"bookingRevenue": {
61
"bookingSubTotal": "487.2",
62
"bookingSubTotal_formated": "$487.20",
63
"bookingTax": "24.36",
64
"bookingTax_formated": "$24.36",
65
"bookingTotal": "511.56",
66
"bookingTotal_formated": "$511.56"
67
},
68
"bookingSaleDateTime": "2021-02-08 19:28:43",
69
"customers": {
70
"customer": {
71
"addressLine1": "Suite 423 119 W Pender",
72
"addressLine2": {},
73
"allowsPrivateDataSharing": "false",
74
"birthDate": "N/A",
75
"city": "Vancouver",
76
"country": "Canada",
77
"customerId": "601",
78
"email": "[email protected]",
79
"firstName": "Ben",
80
"homePhone": {},
81
"lastName": "Winters",
82
"loyaltyProgramOptIn": "false",
83
"mobilePhone": "6045669284",
84
"newsLetterOptIn": "false",
85
"state": {},
86
"username": "[email protected]",
87
"zipCode": "V6B1S5"
88
}
89
},
90
"giftCertifications": {
91
"giftCertificate": {
92
"activityId": "166",
93
"activityName": "Vancouver Sightseeing",
94
"activitySpecific": "false",
95
"amount": "$487.20",
96
"expiryDate": "2026-02-08",
97
"guestName": "Ben Winters",
98
"dateCreated" : "2021-03-08 12:58:07"
99
}
100
},
101
"products": {
102
"product": {
103
"productId: "5",
104
"productName": "Mens Medium T-shirt",
105
"productAccountingCode": { },
106
"packageId": "0",
107
"productDate": { },
108
"quantity": "1.00",
109
"productSubTotal": "$20.00",
110
"productTax": "$13.19",
111
"taxes": { }
112
}
113
},
114
"transactions": {
115
"transaction": [
116
{
117
"activityDateTime": {},
118
"activityId": "0",
119
"amount": "511.560000",
120
"attributeId": "846",
121
"dateCreated": "2021-02-08 21:27:55",
122
"discountRate": "0.000000",
123
"id": "847",
124
"productId": 0,
125
"productDate": "",
126
"promoCodeName": {},
127
"promoCodeRate": "-1",
128
"purchaseType": "3000",
129
"resellerCompanyId": "-1",
130
"resellerCompanyName": {},
131
"resellerInvoiceNumber": "-1",
132
"resellerNet": "0.000000",
133
"resellerRate": "0.000000",
134
"resellerRateName": {},
135
"transactionName": "Cash",
136
"transactionType": "2002",
137
"transactionTypeLedgerEntry": "debit"
138
},
139
{
140
"activityDateTime": {},
141
"activityId": "0",
142
"amount": "0.000000",
143
"attributeId": "848",
144
"dateCreated": "2021-02-08 21:42:21",
145
"discountRate": "0.000000",
146
"id": "849",
147
"promoCodeName": {},
148
"promoCodeRate": "-1",
149
"purchaseType": "3000",
150
"resellerCompanyId": "-1",
151
"resellerCompanyName": {},
152
"resellerInvoiceNumber": "-1",
153
"resellerNet": "0.000000",
154
"resellerRate": "0.000000",
155
"resellerRateName": {},
156
"transactionName": "No Payment Processed",
157
"transactionType": "0",
158
"transactionTypeLedgerEntry": "N/A"
159
}
160
]
161
}
162
}
163
}
164
}
Copied!

Transaction Types

Out platform allows our customer to rename and set their own payment transactions and names. For that reason and as part of the transaction object in the booking data, the transaction.transactionName and the transaction.transactionTypeLedgerEntry are sent along. The transactionTypeId is our internal ID, the transactionName is the custom name and the transactionTypeLedgeEntry indicates a debit (dr) or credit (cr) transaction. Knowing this can be useful if your, for example, your integration is for accounting purposes.

Item Tax records

For each item on a booking (activity or product) our system provides a taxes array of object. Each tax object will contain the following details:
1
{
2
//rest of the activity, product schema
3
"taxId": "2",
4
"taxName": "GST",
5
"taxAccountingCode": "QBO-GLT-001",
6
"taxableTax": "false",
7
"taxRate": "5.000000",
8
"taxRateTypeId": "2",
9
"taxRateTypeIdName": "Percentage",
10
"taxAmount": "1.58"
11
}
Copied!

Pricing Options Records

For each activity on a booking our system will provide a pricingOptions array of options. Each option will contain the following details:
1
{
2
//rest of the activity schema
3
"id": "13565",
4
"name" : "Some upsell option",
5
"description": "Some long description of the pricing option",
6
"amount" : "10.00",
7
"quantity": "2",
8
"accountingCode": "PO-GL-3522"
9
}
Copied!
Last modified 4mo ago