Full Path
3 min
\<font color="#b6c7cb">\</font> topic type reference purpose to show an example of the full travel api path audience api integrators and client developers applies to travel clients implementing via api does not apply to any other industry or travel clients who opt for a non api integration { "transactionid" "abc123456", "transactiontype" "postauthorization", "transactiondatetime" "2022 03 11t17 07 24 07 00", "eventsource" "web", "accountid" "12363454566", "isguestcheckout" "false", "paymentamount" 1082 91, "taxamount" 1 23, "currencycode" "usd", "success" "true", "ipaddress" "10 12 12 123", "useragent" "mozilla/5 0 (macintosh; intel mac os x 10 14; rv 72 0) gecko/20100101 firefox/72 0", "devicetransactionid" "e1a1aade06e2557f34036eeb06173faf1fa05c64959383", "devicepayload" "afklasdjlasdjl3l23j23423klj", "ubaid" "3143e969395de649c48c1c9f3e363a3e7ae7", "sessionid" "5a9ce2800c3cff97993208ab5b3d63c0", "ubasessionid" "961b521892e68f6c4d1c8459dfb530466eed", "ubaevents" "lasjdlkfdsljelkrrjwl3kl324j32k432", "pageid" "lk32j4lk324lkj324", "emailaddress" "a\@b com", "username" "erlichb", "authenticationmethod" "magiclink", "failurecode" "authfailed", "brand" "acme", "phonenumber" "3125555555", "latitude" 33 836, "longitude" 117 914, "hashedpassword" "234j32llk234j3l2k4jl", "accountstatus" "dormant", "firstname" "jane", "middlename" "marie", "lastname" "doe", "purchasetype" "physicalitems", "listingid" "abcd1234", "loyaltynumber" "id1234", "account" { "isenrolledinloyaltyprogram" "true", "ismobileappinstalled" "true", "accountlocale" "en us", "accountlevel" "gold", "accounttype" "family", "accountreferralcode" "john doe123\@email com", "accountregistrationdatetime" "2020 11 22t17 07 24 07 00", "accountemailupdateddatetime" "2020 08 28t19 00 00 04 00", "accountemailverifieddatetime" "2020 08 28t19 00 00 04 00", "accountpasswordupdateddatetime" "2021 08 28t19 00 00 04 00", "dateofbirth" "1985 11 15", "totalcreditcardsonfile" "5", "totalinactivecreditcardsonfile" "1", "totalpurchases" "123456", "totalrefunds" "1235", "totalordersamount" "123456789", "loyaltyprogramname" "members plus", "loyaltynumberstartdatetime" "2020 11 22t17 07 24 07 00", "loyaltynumberlastuseddatetime" "2020 02 22t17 07 24 07 00", "loyaltylastusedpoints" "123", "loyaltypointsbalance" "987654321", "loyaltylastearnedpoints" "1234", "loyaltylastearneddatetime" "2021 01 22t17 07 24 07 00", "loyaltypromotionmessagetype" "email" }, "payment" { "cartid" "cart #123", "salesrepid" "sr#46k90", "websiteurl" "yahoo com", "referralcode" "api 210315", "isgift" "true", "giftmessage" "enjoy the gift", "deliveryfee" 2, "deliveryfeetype" "free", "ispaymentininstallments" "false", "ispaymentrecurring" "false", "totalfailedtransactions" "99", "istravelpackagepurchased" "false" }, "event" { "eventid" "234kl5jkl523jkl423jkl", "eventtype" "concert", "eventname" "fleetwood mac", "eventdatetime" "2022 03 11t17 07 24 07 00", "eventonsaledatetime" "2022 03 11t17 07 24 07 00", "eventrisk" "high", "venueid" "223jklk234j3l4", "venueaddressid" "32433242324", "eventcreateddatetime" "2022 03 11t17 07 24 07 00", "eventlastupdateddatetime" "2022 03 11t17 07 24 07 00", "tickets" { "sectionnumber" "401", "sectionname" "home", "row" "24", "rowname" "upper", "numberofseats" 2, "startseat" "2", "endseat" "3" } }, "addresses" \[ { "addressid" "23l4jk23klj23", "addresstype" "shipping", "primaryflag" "true", "isaddressonfile" "false", "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe123\@gmail com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1863 main street", "address2" "apt 7", "city" "anaheim", "region" "ca", "postcode" "92802", "country" "us", "companyname" "accertify, inc", "locationtype" "business", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" }, { "addressid" "23l4jk23klj23", "addresstype" "billing", "primaryflag" "true", "isaddressonfile" "false", "firstname" "jane", "middlename" "marie", "lastname" "doe", "emailaddress" "jane doe123\@gmail com", "phone" "3125555555", "phonecountrycode" "001", "address1" "1776 w washington street", "city" "anaheim", "region" "ca", "postcode" "92802", "country" "us", "companyname" "cool stuff!", "locationtype" "residence", "addresscreateddatetime" "2020 03 28t17 07 24 07 00", "addressupdateddatetime" "2021 03 28t17 07 24 07 00" } ], "paymentmethods" \[ { "paymenttype" "creditcard", "paymentmethodid" "2ljr9vxsdfew", "paymentmethodamount" 399, "ispaymentstoredonfile" "true", "cardnumber" "4111111111111111", "cardtoken" "6f7%gf38hfua", "expirationmonth" "11", "expirationyear" "2020", "nameoncreditcard" "jane doe", "emailaddress" "jane doe123\@gmail com", "cardbin" 345678, "cardlastfour" "4444", "avsresult" "matched", "cvvresult" "matched", "cardauthorizationcode" "12345", "cardauthorizationdatetime" "2020 11 22t17 07 24 07 00", "ispre authorizationreject" "false", "post authorizationrejectreason" "creditreject", "eciindicator" "unsuccessfulornotattempted", "totalfailedattempts" 88, "paymentmethodcreateddatetime" "2020 03 28t17 07 24 07 00", "paymentmethodupdateddatetime" "2020 03 28t17 07 24 07 00" }, { "paymenttype" "digitalwallet", "paymentmethodid" "2ljr9vxsdfey", "paymentmethodamount" 150, "ispaymentstoredonfile" "true", "nameonaccount" "jane doe", "emailaddress" "jane doe123\@gmail com", "wallettype" "applepay", "walletstatus" "active", "iswalletprotectioneligible" "true", "paymentmethodbalanceamount" 4000, "totalfailedattempts" 88 }, { "paymenttype" "giftcard", "paymentmethodid" "2ljr9vxsdfex", "paymentmethodamount" 350, "nameonaccount" "jane doe", "emailaddress" "jane doe123\@gmail com", "giftcardnumber" "a789sdf8asdfasd89f789asd78", "giftcardlastfour" "1111", "giftcardbin" "4111", "expirationmonth" "11", "expirationyear" "2026", "paymentmethodbalanceamount" 4000 }, { "paymenttype" "voucher", "paymentmethodid" "2ljr9vxsdfez", "paymentmethodamount" 500, "nameonaccount" "jane doe", "emailaddress" "jane doe123\@gmail com", "expirationday" "12", "expirationmonth" "11", "expirationyear" "2026", "paymentmethodbalanceamount" 4000 }, { "paymenttype" "loyaltypoints", "paymentmethodid" "2ljr9vxsdfeu", "paymentmethodamount" 500, "nameonaccount" "jane doe", "emailaddress" "jane doe123\@gmail com", "points" 50000, "expirationday" "12", "expirationmonth" "11", "expirationyear" "2026", "loyaltyprogramname" "acme platinum", "paymentmethodbalanceamount" 4000 }, { "paymenttype" "bankaccount", "paymentmethodid" "18881118929", "paymentmethodamount" 500, "ispaymentstoredonfile" "true", "nameonaccount" "jane doe", "emailaddress" "jane doe123\@gmail com", "accounttype" "checking" } ], "promotions" \[ { "promocode" "abc12", "promoamount" 5555, "promotype" "employeediscount" }, { "promocode" "abc1234", "promoamount" 50, "promotype" "freeshipping" } ], "items" \[ { "isupsell" "false", "itemtype" "physicalgood", "brandname" "apple", "description" "macbook pro", "category" "computers", "itemid" "af877wernnasnfes", "price" 1199 99, "facevalueamount" 1599 99, "quantity" 2, "addressid" "2lkj34jldsoufsous82df", "productcondition" "new", "shippingcompany" "ups", "shippingmethod" "ground", "shippingtrackingnumber" "23l4fdswerea02", "islargeitemdelivery" "true", "promocode" "abc12", "promoamount" 5555, "promotype" "employeediscount", "pickuplocation" "curbside", "pickuplocationdescription" "at main entrance", "pickuppersonfirstnameprimary" "betty", "pickuppersonlastnameprimary" "smith", "pickuppersonfirstnamealternate" "mary", "pickuppersonlastnamealternate" "jones", "pickupverificationmethod" "idcard", "pickupdatetime" "2022 03 11t17 07 24 07 00", "pickupverificationsignatureimage" " base 64 encoding ", "pickupverificationidcardimage" " base 64 encoding " } ], "flightinformation" { "pnr" "abc123", "flighttype" "multi city", "isthirdpartybooking" "true", "farebasiscode" "a", "otaidentificationnumber" "abc123", "otaname" "the best travel agency", "initialdepartingairport" "ord", "finalarrivalairport" "mia", "segments" \[ { "routeinfo" "ordmia1232014 08 30t17 07 24 05 00", "airlinename" "primary airlines ltd", "operatingairline" "actual carrier air inc ", "flightnumber" "123", "ticketclass" "economy", "fareclass" "y", "specialfaretype" "bereavement", "isawardticket" "true", "departuredatetime" "2014 08 30t17 07 24 05 00", "departureairportcode" "ord", "arrivaldatetime" "2014 08 30t20 09 24 04 00", "arrivalairportcode" "mia", "isfinaldestination" "true" }, { "routeinfo" "ordmia1232014 08 30t17 07 24 05 00", "airlinename" "primary airlines ltd", "operatingairline" "actual carrier air inc ", "flightnumber" "123", "ticketclass" "economy", "fareclass" "y", "specialfaretype" "bereavement", "isawardticket" "true", "departuredatetime" "2014 08 30t17 07 24 05 00", "departureairportcode" "ord", "arrivaldatetime" "2014 08 30t20 09 24 04 00", "arrivalairportcode" "mia", "isfinaldestination" "false" } ], "passengers" \[ { "passengerid" "998fsd72234", "ticketnumber" "abc123", "passengerdateofbirth" "1985 01 24", "passengergender" "m", "passengeradultorchild" "adult", "passengertitle" "mr", "passengerfirstname" "john", "passengermiddlename" "peter", "passengerlastname" "smith", "passengerphone" "3125555555", "passengerphonecountrycode" "012", "passengeremailaddress" "jpsmith\@email com", "passengercheckedbaggagecount" "2", "passengerloyaltynumber" "ll123456", "passengerloyaltysincedate" "2000 01 18", "passengerloyaltylevel" "gold", "passengerpassportnumber" "p7475664383454343", "passengerpassportcountrycode" "us", "passengerpassportexpirationdate" "2015 01 24" }, { "passengerid" "998fsd72245", "ticketnumber" "abc123", "passengerdateofbirth" "1985 01 24", "passengergender" "f", "passengeradultorchild" "adult", "passengertitle" "mrs", "passengerfirstname" "mary", "passengermiddlename" "jane", "passengerlastname" "smith", "passengerphone" "3125555556", "passengerphonecountrycode" "012", "passengeremailaddress" "mjsmith\@email com", "passengercheckedbaggagecount" "2", "passengerloyaltynumber" "ll789101", "passengerloyaltysincedate" "2000 01 18", "passengerloyaltylevel" "gold", "passengerpassportnumber" "p7475664383433333", "passengerpassportcountrycode" "us", "passengerpassportexpirationdate" "2015 01 24" } ] }, "lodginginformation" { "lodgingdetails" \[ { "lodgingname" "marriott marquis", "lodgingpropertyid" "23423234423", "lodgingchainname" "marriott", "lodgingamount" 299 99, "lodgingamountcurrencycode" "usd", "lodgingroomoccupancy" 4, "lodgingbedtype" "queens", "lodgingroomtype" "accessible", "lodgingcomments" "room away from elevator", "lodgingcheckindatetime" "2023 08 30t17 07 24 05 00", "lodgingcheckoutdatetime" "2023 09 04t17 07 24 05 00", "lodgingaddressid" "88a9sdf9sd8323s" } ], "guests" \[ { "guestfirstname" "john", "guestmiddlename" "edward", "guestlastname" "smith" } ] }, "carrentalinformation" { "carrentaldetails" \[ { "carrentalbrand" "avis", "carrentalamount" 599 67, "carrentalcurrencycode" "usd", "rentaltype" "car", "rentalclass" "premium", "pickupaddressid" "23j4432234234", "pickupdatetime" "2023 08 30t17 07 24 05 00", "returnaddressid" "23j4432234234", "returndatetime" "2023 09 04t17 07 24 05 00" } ] }, "cruiseinformation" { "cruisedetails" \[ { "cruisebrand" "carnival", "cruiseamount" 599 67, "cruisecurrencycode" "usd", "cruisedepartureaddressid" "9asdf89asdasd", "cruiseinitialstartdatetime" "2023 08 30t17 07 24 05 00", "cruisereturnaddressid" "23423jklj234l23", "cruisefinalreturndatetime" "2023 09 04t17 07 24 05 00" } ] }, "activityinformation" { "activitydetails" \[ { "activitysupplier" "chicago segways", "activityname" "lincoln park food tour", "activityamount" 599 67, "activityamountcurrencycode" "usd", "activityaddressid" "23423jl432l42332", "activitystartdatetime" "2023 08 30t17 07 24 05 00" } ] }, "agencyinformation" { "agencydetails" \[ { "agencycode" "01234abc", "agencyname" "acme travel inc", "agencysalesrepresentativeid" "232324521", "agencyconfirmationnumber" "abc123", "agencycountrycode" "au", "agencyemail" "jane doe123\@gmail com", "agencyheadoffice" "melbourne", "agencyphone" "19876543211" } ] }, "insuranceinformation" { "insurancedetails" \[ { "insurancetype" "travel", "insurancecity" "sydney", "insurancecountrycode" "au", "insurancestartdatetime" "2022 03 11t17 07 24 07 00", "insurancestartendtime" "2022 03 11t17 07 24 07 00", "insurancename" "acme insurance full cover", "insurancereservationname" "jane doe", "insurancetotalamount" 399, "insurancecurrencycode" "aud" } ] } } field reference us travel fields docid\ pxwqjbej ltczkttbo9gf