API Explorer

Access Token

Accept type:

Use the button below to access your personal member account via the ITS API, all parameters are required. Valid access tokens will be the output.

Response Schema
{
'access_token': 'String' -> token for the user,
'token_type': 'bearer(string)' -> type of token,
'expires_in': 'ticks' -> expiry of the token,
'userName': 'String' -> username of the registered user
}
ParameterValueDescriptionParameter TypeData Type
clientId :Id of the registered userQueryString
clientSecret :Password of the registered userQueryString
siteUrl :Url of the siteQueryString

Trip

Accept type:

Use the button below to access your personal member account via the ITS API, all parameters are required. Valid access tokens will be the output.

Response Schema
{
'TripDetails': object -> all details of the trip,
'air':object -> air itinerary for the trip,
'car': 'list of array' -> list of car itineraries,
'hotel': 'list of array' -> list of the hotel itineraries
}
ParameterValueDescriptionParameter TypeData Type
Access Token :access token of the userHeaderString
tripkey :trip key for the userQueryString
targetClient :client consuming the api (Mobile ->
for mobile application, Standard ->
use by all)
QueryString
Accept type:

Use the button below to view approve/deny the trip via the ITS API, all parameters are required. Implementation will be done soon.. Sample Body Request : {‘tripKey’:1234,’pnr’:’QFTER’,’approvalStatus’:’Approved’,’approver’:’John@xx.com’,’approvalReason’:’abc xyz sample’}

Response Schema
{
'isSuccess': false,
'error': {
'errorCode': '401.5',
'errorMessage': 'Sabre coonection failure'}
}
In case of Success -> {
'isSuccess': true,
'error': null
}
ParameterValueDescriptionParameter TypeData Type
Access Token :access token of the userHeaderString
targetClient :client consuming the api (Mobile ->
for mobile application, Standard ->
use by all)
QueryString
tripkey :trip key for the userin Body as json
property
int
pnr :Pnr created for the tripin Body as json
property
String
approvalStatus :the values can be Approved or
Denied
in Body as json
property
String
approver :the values can be username or
email id of the person who
approved or denied it
in Body as json
property
String
approvalReason :the reason for approve/denyin Body as json
property
String
Accept type:

Use the button below to view the policy details via the ITS API

Response Schema
{
'PolicyDetails': object -> all details of the policy
}
ParameterValueDescriptionParameter TypeData Type
Access Token :access token of the userHeaderString
tripkey :Unique key for the TripQueryString
targetClient :client consuming the api (Mobile ->
for mobile application, Standard ->
use by all)
QueryString

Policy

Accept type:
Use the button below to view the policy details via the ITS API, all parameters are not required. Policy Response will be the output
Response Schema
{
'PolicyDetails': object -> all details of the policy,
'AirPolicy':'list of array' -> policy breached for Air itinerary,
'HotelPolicy': 'list of array' -> policy breached for hotel itinerary,
'CarPolicy': 'list of array' -> policy breached for car itinerary
}
ParameterValueDescriptionParameter TypeData Type
Access Token :access token of the userHeaderString
targetClient :client consuming the api (Mobile ->
for mobile application, Standard ->
use by all)
QueryString
userKey :key for the userin Body as json
property
int
companyKey :key for the Companyin Body as json
property
int
UserGroupKey :key for the group user belongs toin Body as json
property
int
TravelType :travel
type(Corporate/Personal/Group)
in Body as json
property
String
IsInternationalAir :Air Trip is International or notin Body as json
property
int
IsInternationalHotel :Hotel Trip is International or notin Body as json
property
int
AirActualAmt :actual air amountin Body as json
property
int
HotelActualAmt :actual hotel amountin Body as json
property
int
HotelActualAmt2 :actual hotel II amountin Body as json
property
int
HotelActualAmt3 :actual hotel III amountin Body as json
property
int
HotelActualAmt4 :actual hotel IV amountin Body as json
property
int
HotelActualAmt5 :actual hotel V amountin Body as json
property
int
HotelActualAmt6 :actual hotel VI amountin Body as json
property
int
CarActualAmt :actual car amountin Body as json
property
int
CarActualAmt2 :actual car II amountin Body as json
property
int
CarActualAmt3 :actual car III amountin Body as json
property
int
CarActualAmt4 :actual car IV amountin Body as json
property
int
CarActualAmt5 :actual car V amountin Body as json
property
int
CarActualAmt6 :actual car V amountin Body as json
property
int
LowestPriceAir :lowest price for airin Body as json
property
int
LowestPriceHotel :lowest price for hotelin Body as json
property
int
LowestPriceHotel2 :lowest price for hotel IIin Body as json
property
int
LowestPriceHotel3 :lowest price for hotel IIIin Body as json
property
int
LowestPriceHotel4 :lowest price for hotel IVin Body as json
property
int
LowestPriceHotel5 :lowest price for hotel Vin Body as json
property
int
LowestPriceHotel6 :lowest price for hotel VIin Body as json
property
int
LowestPriceCar :lowest price for carin Body as json
property
int
IsBasic :indicator for basic cabin for airin Body as json
property
boolean
CityID :city ID for hotelin Body as json
property
int
CityID2 :city ID for hotel IIin Body as json
property
int
CityID3 :city ID for hotel IIIin Body as json
property
int
CityID4 :city ID for hotel IVin Body as json
property
int
CityID5 :city ID for hotel Vin Body as json
property
int
CityID6 :city ID for hotel VIin Body as json
property
int
CheckInDate :hotel checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckInDate2 :hotel II checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckInDate3 :hotel III checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckInDate4 :hotel IV checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckInDate5 :hotel V checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckInDate6 :hotel VI checkin date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate :hotel checkout date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate2 :hotel II checkout date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate3 :hotel III checkout date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate4 :hotel IV checkout date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate5 :hotel V checkout date(‘yyyy-MM-dd’)in Body as json
property
string
CheckoutDate6 :hotel VI checkout date(‘yyyy-MM-dd’)in Body as json
property
string
Airlines :airlines for selected airin Body as json
property
string
ChainCodes :Chain codes for selected hotelin Body as json
property
string
CarVendors:Vendors for selected carin Body as json
property
string
HotelStarRating :Star rating for selected hotelin Body as json
property
string
IsPayLaterSelected :indicator of pay later hotelin Body as json
property
boolean
IsPayNowSelected :indicator pay now hotelin Body as json
property
boolean
TripStartDate :trip start date(‘yyyy-MM-dd’)in Body as json
property
string
ServiceClassSelected :service class for each segment of
selected air
in Body as json
property
string
NoofHoursPerSegmentLeg1 :No of Hours for each segment of
Selected Air Leg1
in Body as json
property
string
NoofHoursPerSegmentLeg2 :No of Hours for each segment of
Selected Air Leg2
in Body as json
property
string
NoofHoursPerSegmentLeg3 :No of Hours for each segment of
Selected Air Leg3
in Body as json
property
string
NoofHoursPerSegmentLeg4 :No of Hours for each segment of
Selected Air Leg4
in Body as json
property
string
NoofHoursPerSegmentLeg5 :No of Hours for each segment of
Selected Air Leg5
in Body as json
property
string
NoofHoursPerSegmentLeg6 :No of Hours for each segment of
Selected Air Leg6
in Body as json
property
string
airLegBrandNameLeg1 :BrandName for Air Leg1in Body as json
property
string
airLegBrandNameLeg2 :BrandName for Air Leg2in Body as json
property
string
airLegBrandNameLeg3 :BrandName for Air Leg3in Body as json
property
string
airLegBrandNameLeg4 :BrandName for Air Leg4in Body as json
property
string
airLegBrandNameLeg5 :BrandName for Air Leg5in Body as json
property
string
airLegBrandNameLeg6 :BrandName for Air Leg6in Body as json
property
string
NoofTraveler :No of Travelerin Body as json
property
int
airPriceSurgeAmount :Surge Amount after Repricein Body as json
property
double