Retrieve additional services by Booking ID
GET /[context]/[contextId]/AdditionalServices
Context in Request URI should be 'bookings'
ContextId in Request URI should be Booking ID
List of Additional services
URI of additional service product
Name of additional service product
Currency
Total gross price for all customers on additional service
Gross price minus any commission for the additional service
Start date for additional service
End date for additional service
URI used to retrieve all customers on additional services
Key/value pairs indicating the number of customers per status on the additional service; e.g.: { ''confirmed'': 2, ''cancelled'': 1 }
List of customer statuses along with url for each customer on that status
ID of the resource
URI of the resource
Sequence of product
Customers status
Url of Customers in relevant status
URI of the resource
URI of the resource
{
"additionalServices": [
{
"product": {
"href": "/products/91066"
},
"additionalServiceName": "Camping Sleeping bag hire",
"currency": "AUD",
"totalPrice": 125.0,
"netPrice": 120.5,
"startDate": "2016-12-15",
"endDate": "2016-12-20",
"customers": {
"href": "/additionalservices/887124/customers"
},
"customerStatuses": {
"confirmed": 2,
"tentative": 1
},
"customerStatusIds": [
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
},
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
}
],
"id": 887124,
"href": "context/contextid/additionalservices/887124",
"sequence": "202403312359580000"
},
{
"product": {
"href": "/products/91066"
},
"additionalServiceName": "Camping Sleeping bag hire",
"currency": "AUD",
"totalPrice": 125.0,
"netPrice": 120.5,
"startDate": "2016-12-15",
"endDate": "2016-12-20",
"customers": {
"href": "/additionalservices/887124/customers"
},
"customerStatuses": {
"confirmed": 2,
"tentative": 1
},
"customerStatusIds": [
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
},
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
}
],
"id": 887124,
"href": "context/contextid/additionalservices/887124",
"sequence": "202403312359580000"
}
]
}