GET Trips by id

Overview

Retrieve trip by ID

Request

GET /Trips/[id]

Request Information

Request Parameters

Name
Type
Requirement
Description
id
Integer
Mandatory
ID of the trip

Response Information

Response Properties

Name
Type
Description
product
HrefWrapper
URI of the trip product
departure
HrefWrapper
URI of the trip departure
tripCode
String
The Intrepid alphanumeric code for the trip
tripName
String
The Intrepid name for the trip
tripStyle
String
The Intrepid stye for the trip
tripThemes
List<TripTheme>
The Intrepid themes for the trip
departureCode
String
The Intrepid alphanumeric code for the departure
startDate
String
Start date of trip
endDate
String
End date of trip
startLocation
String
Start location of trip
address
String
Start location address
endLocation
String
End location of trip
currency
String
Currency
totalSingleSupplementPrice
Decimal
Total gross single supplement price for the trip 
 *If the customer has no single supplements this will not be present
totalPrice
Decimal
Total gross price including discounts for all customers on trip (excluding any single supplements)
customers
HrefWrapper
URI used to retrieve all customers on trip
customerStatuses
Key Value Pair
Key/value pairs indicating the number of customers 
per status on the trip; e.g.: 
{
''confirmed'': 2,
''cancelled'': 1
}
singleSupplementCustomers
List<HrefWrapper>
List of URI used to retrieve customer on trip
customerStatusIds
List<CustomerStatuses>
List of customer statuses along with url for each customer on that status
accommodation
List<RelatedProduct>
List of booked accommodation products related to this trip
transfer
List<RelatedProduct>
List of booked transfer products related to this trip
sightseeing
List<RelatedProduct>
List of booked sightseeing products related to this trip
flights
List<RelatedProduct>
List of booked flights products related to this trip
insurance
List<RelatedProduct>
List of booked insurance products related to this trip
additionalServices
List<RelatedProduct>
List of booked additionalServices products related to this trip
exclusions
List<ElementExclusion>
RRP Element Exclusion
kitty
Kitty
Kitty Prices
numberOfDays
Integer
Duration of the departure
startLocationPhone
String
Phone number of the start location
startCity
String
Start City
startCountry
String
Start Country
endLocationAddress
String
End location address of trip
endLocationPhone
String
Phone number of the end location
endCity
String
End City
endCountry
String
End Country
departureStatus
String
Trip departure status
passportRequiredTypeId
Integer
Passport details are required at a time of booking
• 1- Passport details not required
• 2- Passport details required (not at booking)
• 3- Passport details required (at booking)
passportRequiredType
String
Label related to the passport required type id.
id
Integer
ID of the resource
href
String
URI of the resource
sequence
Int64
Sequence of product

Product

Name
Type
Description
href
String
URI of the resource

Departure

Name
Type
Description
href
String
URI of the resource

Customers

Name
Type
Description
href
String
URI of the resource

Kitty

Name
Type
Description
prices
List<Price>
Kitty Prices

Tripthemes

Name
Type
Description
name
String
Name of the theme

Singlesupplementcustomers

Name
Type
Description
href
String
URI of the resource

Customerstatusids

Name
Type
Description
status
String
Customers status
customers
List<HrefWrapper>
Url of Customers in relevant status

Accommodation

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Transfer

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Sightseeing

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Flights

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Insurance

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Additionalservices

Name
Type
Description
href
String
URI of related product
relationship
String
Relationship to trip:
• preTrip
Product has been booked for before the trip 
	(applicable for accommodation,transfer,sightseeing)
• postTrip
 Product has been booked for after the trip
	(applicable for accommodation,transfer,sightseeing)
• availableToPurchase
 Product is available to purchase
	(applicable for single supplement, additional service)

Exclusions

Name
Type
Description
elementTitle
String
Element Title
prices
List<Price>
Exclusion Prices with multiple currencies

Prices

Name
Type
Description
currencyId
Integer
Currency Id
currencyCode
String
Currency Code
currencySymbol
String
Currency Symbol
amount
Decimal
Amount

Response Codes

HTTP status code
Description
200 OK
The resource was retrieved successfully
400 Bad Request
The resource was malformed
401 Unauthorized
Missing or invalid API key
404 Not Found
The specified resource was not found
500 Internal Server Error
An unexpected error occurred on the API server

Response Example

{
  "product": {
    "href": "/products/91066"
  },
  "departure": {
    "href": "/departures/2044014"
  },
  "tripCode": "TTSN",
  "tripName": "Beautiful Thailand",
  "tripStyle": "Original",
  "tripThemes": [
    {
      "name": "Explorer"
    },
    {
      "name": "Explorer"
    }
  ],
  "departureCode": "TTSN180408",
  "startDate": "1970-01-01",
  "endDate": "1970-01-01",
  "startLocation": "Royal Princess Larn Luang Hotel, Bangkok",
  "address": "No 123 ABC Road",
  "endLocation": "Royal Princess Larn Luang Hotel, Bangkok",
  "currency": "usd",
  "totalSingleSupplementPrice": 450.0,
  "totalPrice": 2000,
  "customers": {
    "href": "/trips/887124/customers"
  },
  "customerStatuses": {
    "confirmed": 2,
    "tentative": 1
  },
  "singleSupplementCustomers": [
    {
      "href": "/trips/887124/customers/4945397"
    },
    {
      "href": "/trips/887124/customers/4945397"
    }
  ],
  "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"
        }
      ]
    }
  ],
  "accommodation": [
    {
      "href": "/bookings/5057124/accommodation/4945400",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/accommodation/4945400",
      "relationship": "preTrip"
    }
  ],
  "transfer": [
    {
      "href": "/bookings/5057124/transfers/4945402",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/transfers/4945402",
      "relationship": "preTrip"
    }
  ],
  "sightseeing": [
    {
      "href": "/bookings/5057124/sightseeing/4945401",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/sightseeing/4945401",
      "relationship": "preTrip"
    }
  ],
  "flights": [
    {
      "href": "/bookings/5057124/flights/4945404",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/flights/4945404",
      "relationship": "preTrip"
    }
  ],
  "insurance": [
    {
      "href": "/bookings/5057124/insurance/4945405",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/insurance/4945405",
      "relationship": "preTrip"
    }
  ],
  "additionalServices": [
    {
      "href": "/bookings/5057124/additonalservices/4945403",
      "relationship": "preTrip"
    },
    {
      "href": "/bookings/5057124/additonalservices/4945403",
      "relationship": "preTrip"
    }
  ],
  "exclusions": [
    {
      "elementTitle": "ABC",
      "prices": [
        {
          "currencyId": 3,
          "currencyCode": "AUD",
          "currencySymbol": "$",
          "amount": 50.0
        },
        {
          "currencyId": 3,
          "currencyCode": "AUD",
          "currencySymbol": "$",
          "amount": 50.0
        }
      ]
    },
    {
      "elementTitle": "ABC",
      "prices": [
        {
          "currencyId": 3,
          "currencyCode": "AUD",
          "currencySymbol": "$",
          "amount": 50.0
        },
        {
          "currencyId": 3,
          "currencyCode": "AUD",
          "currencySymbol": "$",
          "amount": 50.0
        }
      ]
    }
  ],
  "kitty": {
    "prices": [
      {
        "currencyId": 3,
        "currencyCode": "AUD",
        "currencySymbol": "$",
        "amount": 50.0
      },
      {
        "currencyId": 3,
        "currencyCode": "AUD",
        "currencySymbol": "$",
        "amount": 50.0
      }
    ]
  },
  "numberOfDays": 5,
  "startLocationPhone": "+14155552671",
  "startCity": "Ho Chi Minh City",
  "startCountry": "Vietnam",
  "endLocationAddress": "No 123 ABC Road",
  "endLocationPhone": "+14155552671",
  "endCity": "Perth",
  "endCountry": "Australia",
  "departureStatus": "Active",
  "passportRequiredTypeId": 1,
  "passportRequiredType": "Passport details not required",
  "id": 887124,
  "href": "trips/887124",
  "sequence": "202403312359580000"
}