<?php
echo (json_decode('{
"OTA_VehAvailRateRQ": {
"-xmlns": "http://www.opentravel.org/OTA/2003/05",
"-xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
"-PrimaryLangID": "EN",
"-TimeStamp": "2012-05-19T09:30:00",
"-Target": "Production",
"-Version": "3.0",
"-TransactionIdentifier": "100000001",
"-SequenceNmbr": "1",
"-MaxResponses": "30",
"-xsi:schemaLocation": "http://www.opentravel.org/OTA/2003/05:\\Users\\e557gc\\Documents\\XML\\2012BU~1\\OTA_VehAvailRateRQ.xsd",
"POS": {
"Source": [
{
"-ISOCountry": "US",
"RequestorID": {
"-Type": "4",
"-ID": "XMLRTA",
"CompanyName": {
"-Code": "EX",
"-CompanyShortName": "EHIXMLTEST"
}
}
},
{
"RequestorID": {
"-Type": "4",
"-ID": "00000000",
"-ID_Context": "IATA"
}
}
]
},
"VehAvailRQCore": {
"-Status": "Available",
"VehRentalCore": {
"-PickUpDateTime": "2013-12-01T09:30:00",
"-ReturnDateTime": "2013-12-02T09:30:00",
"PickUpLocation": { "-LocationCode": "TULT71" },
"ReturnLocation": { "-LocationCode": "TULT71" }
},
"VendorPrefs": {
"VendorPref": { "-Code": "AL" }
},
"VehPrefs": {
"VehPref": {
"-AirConditionInd": "true",
"-TransmissionType": "Automatic",
"-FuelType": "Unspecified",
"-DriveType": "Unspecified",
"VehType": {
"-VehicleCategory": "1",
"-DoorCount": "4"
},
"VehClass": { "-Size": "3" }
}
},
"DriverType": { "-Age": "25" },
"RateQualifier": { "-RateQualifier": "CORP" },
"TPA_Extensions": {
"TPA_Extension_Flags": { "-EnhancedTotalPrice": "true" }
}
},
"VehAvailRQInfo": {
"Customer": {
"Primary": {
"CustLoyalty": {
"-ProgramID": "AL",
"-MembershipID": "778125810",
"-TravelSector": "2"
}
}
}
}
}
}'));
preferences:
40.75 ms | 402 KiB | 5 Q