{
"links":
{
"self":
"https://onlocation.optimo.training/PLAY/restapi/api/V4.1/bookings"
},
"data":
[
{
"type":
"booking",
"id":
"57133",
"attributes":
{
"bookingReference": "BP57133",
"bookingDate": "2024-03-18T16:43:36",
"confirmed": true,
"confirmedDate": "2024-03-18T15:45:55",
"attendees": 5,
"eventName": "3x3 Basketball BK305 - Cat A - Silver",
"bookingReasonId": 28,
"bookingReason": "Default",
"bookingSourceId": 6,
"bookingSource": "Default",
"grossAmount": 2045.37,
"netAmount": 1925.0,
"taxAmount": 120.37,
"discountAmountExcludingTax":
0.0,
"discountAmountIncludingTax":
0.0,
"deliveryCharge": 0.0,
"estimatedCost": 0.0,
"actualCost": 0.0,
"margin": 44.00000000,
"invoicedAmount": 2045.37,
"paidAmount": 2045.37,
"dueAmount": 0.0,
"cancelled": false,
"salesChannelId": 4,
"salesChannel": "SD",
"temporary": false,
"agentBooking": false,
"exported": false,
"paymentOnCollection": false,
"currencyExchangeRate": 1.000000,
"paymentInProgress": false,
"showPriceWithTax": false,
"eventStartDate": "2024-08-01T07:30:00",
"eventEndDate": "2024-08-01T11:00:00",
"currencyID": 3,
"currencyCode": "€",
"totalBookingQuestions": 0,
"totalAnsweredQuestions": 0,
"totalUnAnsweredMandatoryQuestions":
0,
"totalBookingTasks": 0,
"totalCompletedTasks": 0,
"totalOverdueTasks": 0,
"auditInfo": {
"insertedUser": "optimo",
"insertedTime": "2024-03-18T15:43:40.457",
"updatedUser": "optimo",
"updatedTime": "2024-03-18T16:52:23"
},
"grossAmountExcludingBond": 2045.37,
"netAmountExcludingBond": 1925.0,
"totalBondAmount": 0.0,
"invoiceStatus": 1,
"paymentStatus": 1,
"bookingTypeId": 0,
"bookingRolloverStatus": "Not Rolled Over",
"bookingRolloverStatusID": 6,
"pendingChangeRequest": false
},
"relationships":
{
"client": {
"data": {
"id": "54464",
"type": "client"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/customers/clients/54464"
}
},
"contact": {
"data": {
"id": "56327",
"type": "contact"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/customers/contacts/56327"
}
},
"bookingStatus": {
"data": {
"id": "67",
"type": "bookingStatus"
}
},
"paymentTerm": {
"data": {
"id": "18",
"type": "paymentTerm"
}
},
"cancellationPolicy": {
"data": {
"id": "4",
"type": "cancellationPolicy"
}
},
"salesPerson": {
"data": {
"id": "2",
"type": "user"
}
},
"eventManager": {
"data": {
"id": "2",
"type": "user"
}
},
"priceConcession": {
"data": {
"id": "8",
"type": "priceConcession"
}
},
"venue": {
"data": {
"id": "338",
"type": "venue"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/venues/338"
}
},
"bookingPackages": {
"data": [
{
"id":
"96471",
"type":
"bookingPackage"
}
],
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/bookings/57133/booking-packages"
}
},
"invoices": {
"data": [
{
"id":
"5946",
"type":
"invoice"
},
{
"id":
"5947",
"type":
"invoice"
},
{
"id":
"5948",
"type":
"invoice"
}
]
},
"deliveryMethod": {
"data": {
"id": "3",
"type": "deliveryMethod"
}
}
}
},
{
"type":
"booking",
"id":
"57107",
"attributes":
{
"bookingReference": "BP57107",
"bookingDate": "2024-03-18T16:27:13",
"confirmed": true,
"confirmedDate": "2024-03-18T15:29:00",
"attendees": 3,
"eventName": "P24 - New test 18 II",
"bookingReasonId": 28,
"bookingReason": "Default",
"bookingSourceId": 6,
"bookingSource": "Default",
"grossAmount": 950457.22,
"netAmount": 900899.07,
"taxAmount": 49558.15,
"discountAmountExcludingTax":
0.0,
"discountAmountIncludingTax":
0.0,
"deliveryCharge": 0.0,
"estimatedCost": 0.0,
"actualCost": 0.0,
"margin": 100.00000000,
"invoicedAmount": 950457.22,
"paidAmount": 0.0,
"dueAmount": 950457.22,
"cancelled": false,
"salesChannelId": 1,
"salesChannel": "B2B",
"temporary": false,
"alternativeBookingRef": "0068G00000LTCm2QAH",
"agentBooking": false,
"exported": false,
"paymentOnCollection": false,
"currencyExchangeRate": 1.000000,
"paymentInProgress": false,
"showPriceWithTax": false,
"eventStartDate": "2024-08-01T07:30:00",
"eventEndDate": "2024-08-01T11:00:00",
"currencyID": 3,
"currencyCode": "€",
"totalBookingQuestions": 0,
"totalAnsweredQuestions": 0,
"totalUnAnsweredMandatoryQuestions":
0,
"totalBookingTasks": 0,
"totalCompletedTasks": 0,
"totalOverdueTasks": 0,
"externalBookingId": "0068G00000LTCm2QAH",
"auditInfo": {
"insertedUser": "optimo",
"insertedTime": "2024-03-18T15:27:17.713",
"updatedUser": "optimo",
"updatedTime": "2024-03-19T11:19:33"
},
"grossAmountExcludingBond": 950457.22,
"netAmountExcludingBond": 900899.07,
"totalBondAmount": 0.0,
"invoiceStatus": 1,
"paymentStatus": 3,
"bookingTypeId": 0,
"bookingRolloverStatus": "Not Rolled Over",
"bookingRolloverStatusID": 6,
"pendingChangeRequest": false
},
"relationships":
{
"client": {
"data": {
"id": "68512",
"type": "client"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/customers/clients/68512"
}
},
"contact": {
"data": {
"id": "70392",
"type": "contact"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/customers/contacts/70392"
}
},
"bookingStatus": {
"data": {
"id": "77",
"type": "bookingStatus"
}
},
"paymentTerm": {
"data": {
"id": "65",
"type": "paymentTerm"
}
},
"cancellationPolicy": {
"data": {
"id": "4",
"type": "cancellationPolicy"
}
},
"salesPerson": {
"data": {
"id": "2",
"type": "user"
}
},
"eventManager": {
"data": {
"id": "2",
"type": "user"
}
},
"priceConcession": {
"data": {
"id": "8",
"type": "priceConcession"
}
},
"venue": {
"data": {
"id": "338",
"type": "venue"
},
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/venues/338"
}
},
"bookingPackages": {
"data": [
{
"id":
"96442",
"type":
"bookingPackage"
}
],
"links": {
"related": "https://onlocation.optimo.training/PLAY/RestAPI/api/v4.1/bookings/57107/booking-packages"
}
},
"invoices": {
"data": [
{
"id":
"5943",
"type":
"invoice"
},
{
"id":
"5944",
"type":
"invoice"
},
{
"id":
"5945",
"type":
"invoice"
}
]
},
"deliveryMethod": {
"data": {
"id": "3",
"type": "deliveryMethod"
}
}
}
}
],
"meta":
{
"status":
{
"processingTime":
5890,
"endTime":
"2024-03-21T06:20:39.2311388+00:00",
"startTime":
"2024-03-21T06:20:33.3405132+00:00"
},
"totalResults":
"8506",
"unfilteredResults":
"",
"apiId":
"24032106-2033-ZRB"
},
"errors":
null
}