Retrieve bookings by Agent ID
GET /[context]/[contextId]/Bookings
Context of the request here is Agents
Context Id is Agent Code
Booking list
Pagination
URI of current page
URI of first page
URI of next page
URI of last page
Record limit per page
Start record
Total pages in the result
Total records in the result
Result Message
Status of booking: • incomplete Booking has not yet been finalised prior to departure • complete Booking has been finalised prior to departure • cancelled Booking and all of its components have been cancelled
Web access email for booking
Currency
Deposit amount
Deposit due date (if this exceeds the outstanding balance due date, then outstanding balance due date will be returned)
Commission paid by Intrepid to buying agent
Total cost without any adjustments
Total cost paid by purchaser for booking
Total gross amount minus commission paid to the buying agent
Outstanding net balance amount
Outstanding gross balance amount
Outstanding net balance amount
Amount paid
Booking adjustment (discount amount) will be deducted from the original price.
Booking adjustment (fee amount) will be added to the original price.
Outstanding balance due date
Date of first travel
URI used to retrieve all customers on booking
URI used to retrieve all trips on booking
URI used to retrieve all accommodation on booking
URI used to retrieve all transfers on booking
URI used to retrieve all sightseeing on booking
URI used to retrieve all additional services on booking
Lead Pax Name
Travel Consultant Name
Date of last travel
Number of customers in Booking
URI to get the latest Invoice for the booking
URI to get the list of payments for the booking or the customer
URI to get the latest Flight for the booking
Last updated date
Travel Consultant First Name
Travel Consultant Surname
URI to get the buying agent in the booking
Buying Agent Name
Store Agent Name (only applicable for wholesale transactions)
Agent's reference number
Group Payments enabled for the booking
URI to get the latest insurance for the booking
Check Starship notes are available
URI to get the starship itinerary notes for the booking
Check Elements notes are available
URI to get the elements itinerary notes for the booking
ID of the resource
URI of the resource
Sequence of product
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
URI of the resource
{
"bookings": [
{
"status": "Incompelete",
"emailAddress": "sample@sample.com",
"currency": "aud",
"depositAmount": 12.5,
"depositDueDate": "2017-08-25",
"commission": 10,
"totalOriginalAmount": 200.0,
"totalGrossAmount": 2400.5,
"totalNetAmount": 200.0,
"outstandingBalance": 10,
"grossOutstandingBalance": 10,
"netOutstandingBalance": 10,
"amountPaid": 3,
"totalDiscountAmount": 200.0,
"totalFeeAmount": 640.0,
"outstandingBalanceDueDate": "2018-07-12",
"dateOfFirstTravel": "2017-08-29",
"customers": {
"href": "/bookings/5057123/customers"
},
"trips": {
"href": "/bookings/5057123/trips"
},
"accommodation": {
"href": "/bookings/5057123/accommodation"
},
"transfers": {
"href": "/bookings/5057123/transfers"
},
"sightseeing": {
"href": "/bookings/5057123/sightseeing"
},
"additionalServices": {
"href": "/bookings/5057123/additonalservices"
},
"leadPaxName": "Homer Simpson",
"travelConsultantName": "Phil Maye",
"lastTravelDate": "2017-09-10",
"paxCount": 3,
"invoices": {
"href": "/bookings/5057123/invoices"
},
"payments": {
"href": "/bookings/5057123/payments"
},
"flights": {
"href": "/bookings/5057123/flights"
},
"lastUpdatedDate": "2017-08-25",
"travelConsultantFirstName": "Phil",
"travelConsultantSurname": "Maye",
"buyingAgent": {
"href": "/agent/67416620"
},
"buyingAgentName": "Test Buying Agent",
"storeAgentName": "Test Store Agent",
"agentReferenceNumber": "ABC123",
"groupPaymentFlag": "true",
"insurance": {
"href": "/bookings/5057123/insurance"
},
"starshipItineraryNotesAvailable": "true",
"starshipItineraryNotes": {
"href": "/Bookings/7482881/Note?AllItineraryNotes=true"
},
"elementsItineraryNotesAvailable": "true",
"elementsItineraryNotes": {
"href": "/Bookings/7482881/Note?AllElementsItineraryNotes=true"
},
"id": 887124,
"href": "context/contextid/bookings/887124",
"sequence": "202403312359580000"
},
{
"status": "Incompelete",
"emailAddress": "sample@sample.com",
"currency": "aud",
"depositAmount": 12.5,
"depositDueDate": "2017-08-25",
"commission": 10,
"totalOriginalAmount": 200.0,
"totalGrossAmount": 2400.5,
"totalNetAmount": 200.0,
"outstandingBalance": 10,
"grossOutstandingBalance": 10,
"netOutstandingBalance": 10,
"amountPaid": 3,
"totalDiscountAmount": 200.0,
"totalFeeAmount": 640.0,
"outstandingBalanceDueDate": "2018-07-12",
"dateOfFirstTravel": "2017-08-29",
"customers": {
"href": "/bookings/5057123/customers"
},
"trips": {
"href": "/bookings/5057123/trips"
},
"accommodation": {
"href": "/bookings/5057123/accommodation"
},
"transfers": {
"href": "/bookings/5057123/transfers"
},
"sightseeing": {
"href": "/bookings/5057123/sightseeing"
},
"additionalServices": {
"href": "/bookings/5057123/additonalservices"
},
"leadPaxName": "Homer Simpson",
"travelConsultantName": "Phil Maye",
"lastTravelDate": "2017-09-10",
"paxCount": 3,
"invoices": {
"href": "/bookings/5057123/invoices"
},
"payments": {
"href": "/bookings/5057123/payments"
},
"flights": {
"href": "/bookings/5057123/flights"
},
"lastUpdatedDate": "2017-08-25",
"travelConsultantFirstName": "Phil",
"travelConsultantSurname": "Maye",
"buyingAgent": {
"href": "/agent/67416620"
},
"buyingAgentName": "Test Buying Agent",
"storeAgentName": "Test Store Agent",
"agentReferenceNumber": "ABC123",
"groupPaymentFlag": "true",
"insurance": {
"href": "/bookings/5057123/insurance"
},
"starshipItineraryNotesAvailable": "true",
"starshipItineraryNotes": {
"href": "/Bookings/7482881/Note?AllItineraryNotes=true"
},
"elementsItineraryNotesAvailable": "true",
"elementsItineraryNotes": {
"href": "/Bookings/7482881/Note?AllElementsItineraryNotes=true"
},
"id": 887124,
"href": "context/contextid/bookings/887124",
"sequence": "202403312359580000"
}
],
"pagination": {
"self": "/bookings?DateOfBookingStart=2017-01-01&start=1&limit=50&dateOfFirstTravelEnd=2017-01-10&customerFirstName=jhon",
"first": "/bookings?DateOfBookingStart=2017-01-01&start=1&limit=50&dateOfFirstTravelEnd=2017-01-10&customerFirstName=jhon",
"next": "/bookings?DateOfBookingStart=2017-01-01&Start=101&Limit=100&dateOfFirstTravelEnd=2017-01-10&customerFirstName=jhon",
"last": "/bookings?DateOfBookingStart=2017-01-01&Start=301&Limit=100&dateOfFirstTravelEnd=2017-01-10&customerFirstName=jhon",
"limit": 100,
"start": 1,
"totalPages": 4,
"totalRecords": 381,
"resultMessage": "Maximum value for Limit is 100"
}
}