>
To visit this website, please use a PC or mobile.
TRAVIS API DOCUMENTATION v.1.4
A. FLIGHT
A.1 FLIGHT FLOW
LOGIN
Sign In
Sign Out
URL
<API_URL>/Sign/In
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2>
Body Request
{ "UserName":<UserName> , "Password":<Password> }
Body Response
{ "Data": { "SignUserName": <Sign_UserName>, "SignToken1": <Sign_Token_1>, "SignToken2": <Sign_Token_2> }, "Status": 1, "Message": [] }
URL
<API_URL>/Sign/Out
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1:<Sign_Token_1> SignToken2:<Sign_Token_2>
Body Request
{}
Body Response
{ "Status": 1, "Message": [] }
FLIGHT BOOK
URL
{{API_URL}}/api/Flight/Book
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "Email":"dummy@dummy.com", "CustomerName":"Customer Name", "NoTelp":"08315845487923", "PaxPhone":"08315845487924", "Adult":"2", "Child":"1", "Infant":"1", "DepartureAirportCode":"CGK", "ArrivalAirportCode":"DPS", "DepartureDate":"26-Jan-2024", "ReturnDate":"", "ProductId":"14", "DepartureCode":"eyJDMSI6ICJRR34gNTIzfiB+lNJTn4....CAiQzciOiAiRFBTIn0=", "ReturnCode":"", "Pax":{ "Adult":[ { "TitleCode":"Mr", "FirstName":"Jimmy", "LastName":"Ready", "DateOfBirth":"29-Jul-2001", "PassportCountry":"", "PassportExpired"":"", "DocumentTypeId":1, "NIK":"3608134564481354", "Meals":[], "Seat":[], "Baggage":[] }, { "TitleCode":"Mr", "FirstName":"Ready", "LastName":"Jimmy", "DateOfBirth":"05-Jan-1983", "PassportCountry":"ID",, "PassportExpired"":"23-Jul-2026",, "DocumentTypeId":2, "NIK":"08146545679", "Meals":["QG|| 680||2024-01-25T00:00:00.000000||CGK||DPS||NSSS"], "Seat":["QG||680||2024-01-25T05:05:00.000000||CGK||DPS||1||C"], "Baggage":["QG|| 680||2024-01-25T00:00:00.000000||CGK||DPS||XB40"] } ], "Child":[ { "TitleCode":"Mstr", "FirstName":"milea", "LastName":"fitri", "DateOfBirth":"11-Jan-2017", "PassportCountry":"ID", "PassportExpired"":"16-Jul-2026", "DocumentTypeId":2, "NIK":"id13245625", "Meals":[], "Seat":[], "Baggage":[] } ], "Infant":[ { "TitleCode":"Miss", "FirstName":"fitri", "LastName":"milea", "DateOfBirth":"18-Jan-2023", "PassportCountry":"", "PassportExpired"":"", "DocumentTypeId":1, "NIK":"id13245625", } ], } }
Body Response
{ "Data":{ "BookId":2299 }, "Status":1, "Message":[ "Book Success" ] } Notes: DocumentTypeId >> “1” = NIK & “2” = Passport Number:
BOOK DETAIL
URL
<API_URL>/Book/Detail
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":1217 }
Body Response
{ "Data":{ "Id":1217, "Code":"FLG-885", "Invoice":"", "Qty":1, "Status":{ "Code":"Booked" }, "TransferITM":{ "Status":{ "Id":0 } }, "Datetime":"29-Nov-2021 13:15:34", "DateTimeLimit":"16-Dec-2021 13:15:00", "NTA":{ "Basic":"596083.200000000000", "Commission":"11916.800000000000", "VAT":"150800.000000000000", "Extra":"0.000000000000", "Additional":"0.000000000000", "Total":"746883.200000000000", "IssuedFee":"5000.000000000000", "TotalPlusIssuedFee":751883.2, "CommissionAgent":"6916.800000000000" }, "Cost":"758800.000000000000", "ServiceFee":"0.000000000000", "TaxInclude":"0.000000000000", "TaxExclude":"0.000000000000", "MarkUp":"0.000000000000", "Sell":"758800.000000000000", "Agent":{ "Id":0, "Code":"", "Name":"" }, "CustomerName":"vv", "NoTelp":"0215227555", "Email":"itm@suvarna-mi.com", "Product":{ "Id":3, "Code":"Flight Citilink" }, "SubProduct":{ "Id":1, "Code":"Flight" }, "Description":"", "CreateByUser":{ "Id":1, "Name":"vv" "Fullname":"vivi" }, "IssuedBy":{ "User":{ "Name":"vv" "Fullname":"vivi" "TypeCode":"B2E" } }, "Pax":[ { "Id":2060, "Name":"ANTONIA MARCELLA", "Title":{ "Code":"MS" }, "Type":{ "Code":"Adult" }, "DateOfBirth":":"", "LionPassportNoOrBatikMilesNo":"", "Passport":{ "No":"a9601256", "Country":"", "Expired":"" }, "Ticket":[], "Baggage":[ { "Airline":{ "Code":"QG", }, "FlightNumber":"682", "From":"CGK", "To":"DPS", "Allowance":"20 KG", "Additional":"-", "AdditionalPrice":"", } ], "Additional":[], "NIK":"", "PassportNo":"a9601256", "PassportExpired":"", "DocumentTypeCode":"Pasport" } ], "Flight":{ "ShowAiportName":"Yes", "ShowCityCode":"Yes", "ShowCountryName":"No", "Price":{ "Adult":{ "Qty":1, "BasicFare":608000, "AirportTax":85000, "IWJR":5000, "TaxesAirlines":60800, "Other":0, "Baggage":0, "FuelSurcharge":0, "Total":758800 } }, "PNR":"DHRGPX", "Type":{ "Code":"One Way" }, "Departure":{ "Airport":{ "Code":"CGK", "Name":"Soekarno Hatta International Airport" }, "City":{ "Code":"Jakarta" }, "Country":{ "Name":"Indonesia" } }, "Arrival":{ "Airport":{ "Code":"DPS", "Name":"Ngurah Rai International Airport" }, "City":{ "Code":"Denpasar, Bali" }, "Country":{ "Name":"Indonesia" } }, "Segment":[ { "Airline":{ "Code":"QG" }, "FlightNumber":"682", "Class":"", "Departure":{ "Airport":{ "Code":"CGK", "Name":"Soekarno Hatta International Airport" }, "City":{ "Code":"Jakarta" }, "Country":{ "Name":"Indonesia" }, "Datetime":"19-Feb-2022 07:55:00" }, "Arrival":{ "Airport":{ "Code":"DPS", "Name":"Ngurah Rai International Airport" }, "City":{ "Code":"Denpasar, Bali" }, "Country":{ "Name":"Indonesia" }, "Datetime":"19-Feb-2022 10:50:00" }, "Duration":"02:55:00" } ] } }, "Status":1, "Message":[] }
BOOK ISSUED
URL
<API_URL>/Book/Issued
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":1217 }
Body Response
{ "Status":1, "Message":[] }
B. FLIGHT ANCILLARY
FLOW ANCILLARY
BAGGAGE
BAGGAGE CONFIRM
URL
<API_URL>/Book/AddOnsConfirm
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":2276 "AdditionalBaggage":[ { "Name":"", "Baggage":[ { "Code":"QG||680||2023-12-22T00:00:00.000000||CGK||DPS||XB10||-||0" } ] } ], "AdditionalMedicalKit":[] }
Body Response
{ "Data":[], "Status":1, "Message":[] }
SEAT
SEAT CONFIRM
URL
<API_URL>/Book/Seat/MapSearch
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":2276 "Seat":[ { "PaxId":0, "SSRCodeList":[ "QG||680||2023-12-22T05:05:00.000000||CGK||DPS||2||A" ] } ] }
Body Response
{ "Data":{}, "Message":[], "Status":1 }
MEALS
MEALS CONFIRM
URL
<API_URL>/Book/MealsConfirm
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":2276 "SSRRequestList":[ { "PaxId":0, "SSRCodeList":[ "QG|| 680||2023-12-22T00:00:00.000000||CGK||DPS||VNLA" ] } ] }
Body Response
{ "Data":[], "Status":1, "Message":[] }
IMAGES MEALS
URL
<API_URL>/Citilink/ImageMeals/<SSRCode>
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ }
Body Response
"Body (IMAGE)"
SYNC DATA FOR UPDATE RESERVATION DATA
URL
<API_URL>/Book/Sync
Header
TravisCode:<Travis_Code> TravisAccessToken1:<Travis_Access_Token1> TravisAccessToken2:<Travis_Access_Token2> SignUserName:<Sign_UserName> SignToken1: <Sign_Token_1> SignToken2: <Sign_Token_2>
Body Request
{ "BookId":2276 }
Body Response
{ "Status":1, "Message":[ "Price or data book change", "Seat Change", "Segment Change", "Baggage Change", "Meals Change" ] }
API Doc Travis vol.1.4 © 2024 PT. Suvarna Media Informatika