OpenTravel Alliance · Example Payload

Opentravel 2018A Hospitality Facility Facilityqueryfacilitysearch

TravelUnited StatesStandardsAviationHospitalityHotelsCar RentalRailCruiseDistributionGDSBookingChannelXMLJSON Schema

Opentravel 2018A Hospitality Facility Facilityqueryfacilitysearch is an example object payload from OpenTravel Alliance, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

FacilityQueryFacilitySearch

Example Payload

Raw ↑
{
  "FacilityQueryFacilitySearch" : {
    "BasePayload" : {
      "@type" : "BasePayload",
      "PayloadStdAttributes" : {
        "value" : null,
        "echoToken" : "Example String Value",
        "timeStamp" : "2011-01-24T09:45:00-06:00",
        "target" : "Test",
        "targetName" : "Example String Value",
        "version" : 12,
        "transactionIdentifier" : "Example String Value",
        "sequenceNmbr" : "Example String Value",
        "transactionStatusCode" : "Start",
        "correlationID" : "Example String Value",
        "primaryLangID" : "en",
        "altLangID" : "es",
        "retransmissionIndicatorInd" : true
      },
      "POS" : {
        "@type" : "POS",
        "Source" : [ {
          "@type" : "Source",
          "agentSine" : "Example String Value",
          "pseudoCityCode" : "Example String Value",
          "iSOCountry" : "IR",
          "iSOCurrency" : "USD",
          "agentDutyCode" : "Example String Value",
          "airlineVendorID" : "B6",
          "airportCode" : "IAD",
          "firstDepartPoint" : "Example String Value",
          "eRSP_UserID" : "Example String Value",
          "terminalID" : "Example String Value",
          "RequestorID" : {
            "@type" : "RequestorIDDetail",
            "messagePassword" : "Example String Value",
            "personName" : "Example String Value",
            "Identifier" : {
              "value" : "guid12345",
              "url" : "http://www.w3.org/2001/XMLSchema",
              "system" : "sysABC3344",
              "organization" : "Acme"
            }
          },
          "Position" : {
            "value" : null,
            "latitude" : "Example String Value",
            "longitude" : "Example String Value",
            "altitude" : "Example String Value",
            "altitudeUnitOfMeasure_Enum" : "Miles",
            "mapURL" : "http://www.OpenTravel.org/ns/OTA2/Common_v01_00",
            "formatURL" : "http://www.w3.org/2001/XMLSchema"
          },
          "BookingChannel" : {
            "@type" : "BookingChannel",
            "primaryInd" : true,
            "CompanyName" : {
              "value" : "Travel Adventure Partners Incorporated",
              "division" : "Travel Division",
              "department" : "Adventure department",
              "shortName" : "Adventure Inc",
              "code" : "AI",
              "codeContext" : "Example String Value",
              "description" : "Example String Value"
            },
            "Type" : {
              "value" : "Agent"
            }
          }
        } ]
      },
      "ProcessingInfo" : {
        "value" : null,
        "displayCurrency" : "USD",
        "positiveInteger" : 1234,
        "summaryResultsInd" : true
      }
    },
    "FacilityQueryHotel" : {
      "HotelName" : "Example String Value",
      "BrandCode" : "Example String Value",
      "BrandName" : "Example String Value",
      "ChainCode" : "Example String Value",
      "ChainName" : "Example String Value",
      "Radius" : {
        "value" : 2345,
        "unitOfMeasure" : "Kilometers"
      },
      "ReferencePoint" : {
        "@type" : "ReferencePoint",
        "name" : "Example String Value",
        "Code" : {
          "value" : "Example String Value",
          "codeContext" : "Example String Value",
          "description" : "Example String Value"
        },
        "Type" : {
          "value" : "Airport"
        },
        "Location" : {
          "@type" : "Location",
          "Address" : {
            "@type" : "AddressDetail",
            "role" : "Home",
            "language" : "en",
            "validInd" : true,
            "AddressLine" : [ "111 Travers St, Dun Laoghaire Co. Dublin Ireland" ],
            "BldgRoom" : [ {
              "value" : "Bldg H",
              "buldingInd" : true
            } ],
            "Number" : {
              "value" : "563",
              "streetNmbrSuffix" : "B",
              "streetDirection" : "NNW",
              "ruralRouteNmbr" : "88",
              "pO_Box" : "98567499"
            },
            "Street" : "Travers Street",
            "City" : "Dublin",
            "County" : "Fairfax",
            "StateProv" : {
              "value" : "TX",
              "name" : "Texas"
            },
            "Country" : {
              "value" : "IR",
              "name" : "Ireland"
            },
            "PostalCode" : "32165-9999",
            "Remark" : "This address should be used for all official correspondences.",
            "Privacy" : {
              "value" : null,
              "shareMarketInd" : "Yes",
              "shareSyncInd" : "No",
              "optInStatus" : "OptedIn",
              "optInDate" : "2011-07-04T14:15:00+06:00",
              "optOutDate" : "2011-12-05T06:00:00Z"
            },
            "Type" : {
              "value" : "Business"
            },
            "Use" : {
              "value" : "Billing"
            }
          },
          "Position" : {
            "value" : null,
            "latitude" : "Example String Value",
            "longitude" : "Example String Value",
            "altitude" : "Example String Value",
            "altitudeUnitOfMeasure_Enum" : "Meters",
            "mapURL" : "http://www.OpenTravel.org/ns/OTA2/Common_v01_00",
            "formatURL" : "http://www.w3.org/2001/XMLSchema"
          }
        }
      },
      "DetailedHotelSearchCriteria" : {
        "@type" : "DetailedHotelSearchCriteria",
        "hotelCodeContext" : "Sabre",
        "tTIcode" : 3456,
        "petsAllowedInd" : true,
        "smokingRoomsInd" : true,
        "aDACompliantInd" : true,
        "exactMatchInd" : true,
        "Features" : {
          "@type" : "FeaturesAccessibility",
          "quantity" : 1234,
          "Description" : {
            "@type" : "Description",
            "name" : "paragraph name",
            "number" : 4567,
            "Description" : [ {
              "value" : "Formatted text example.",
              "language" : "en",
              "textFormat" : "PlainText"
            }, "http://www.OpenTravel.org/ns/OTA2/Common_v01_00", {
              "value" : null,
              "listItem" : 2345,
              "text2" : "Formatted text example.",
              "language" : "en",
              "textFormat" : "HTML"
            } ],
            "Image" : [ {
              "@type" : "Image",
              "objID" : "image_1",
              "version" : "Example String Value",
              "format" : "2",
              "dimensionCategory" : "Example String Value",
              "sort" : 1234,
              "resolution" : 2345,
              "colorSpace" : "Example String Value",
              "originalIndicatorInd" : true,
              "Identifier" : {
                "value" : "guid12345",
                "url" : "http://www.OpenTravel.org/ns/OTA2/Common_v01_00",
                "system" : "sysABC3344",
                "organization" : "Acme"
              },
              "ImageRef" : "image_1",
              "URL" : "http://www.w3.org/2001/XMLSchema",
              "Details" : {
                "value" : "Example String Value",
                "author" : "Example String Value",
                "copyrightNotice" : "Example String Value",
                "copyrightOwner" : "Example String Value",
                "copyrightStart" : "2011-01-24T09:45:00-06:00",
                "copyrightEnd" : "2011-07-04T14:15:00+06:00",
                "effectiveStart" : "2011-12-05T06:00:00Z",
                "effectiveEnd" : "2011-01-24T09:45:00-06:00",
                "applicableStart" : "2011-01-24",
                "applicableEnd" : "2011-07-04"
              },
              "MultimediaDescription" : [ {
                "@type" : "MultimediaDescription",
                "title" : "Example String Value",
                "language" : "en",
                "caption" : "The Empire State Building at sunset.",
                "FormattedTextSubSection" : [ {
                  "@type" : "FormattedTextSubSection",
                  "subTitle" : "Example String Value",
                  "subCode" : "Example String Value",
                  "subSectionNumber" : 3456,
                  "TextParagraph" : [ ]
                } ]
              } ],
              "DateTimeStamp" : {
                "value" : "2011-07-04T14:15:00+06:00",
                "create" : "2011-12-05T06:00:00Z",
                "creatorID" : "c123456789",
                "lastModify" : "2011-01-24T09:45:00-06:00",
                "lastModifierID" : "m987654321",
                "purge" : "2011-12-05"
              },
              "Email" : {
                "@type" : "Email",
                "remark" : "Example String Value",
                "textFormat" : "Example String Value",
                "validInd" : true,
                "defaultInd" : true,
                "Address" : "Example String Value",
                "Type" : {
                  "value" : "Business"
                },
                "Privacy" : {
                  "value" : null,
                  "shareMarketInd" : "Inherit",
                  "shareSyncInd" : "Yes",
                  "optInStatus" : "OptedOut",
                  "optInDate" : "2011-07-04T14:15:00+06:00",
                  "optOutDate" : "2011-12-05T06:00:00Z"
                }
              },
              "Dimensions" : {
                "value" : null,
                "unitOfMeasureCode" : "2",
                "width" : 4567,
                "height" : 1234
              },
              "File" : {
                "value" : null,
                "name" : "Example String Value",
                "size" : 2345,
                "originalName" : "Example String Value"
              },
              "Geolocation" : {
                "value" : null,
                "latitude" : "Example String Value",
                "longitude" : "Example String Value",
                "altitude" : "Example String Value",
                "altitudeUnitOfMeasure_Enum" : "Millimeters",
                "mapURL" : "http://www.OpenTravel.org/ns/OTA2/Common_v01_00",
                "formatURL" : "http://www.w3.org/2001/XMLSchema"
              }
            } ],
            "DateTimeStamp" : {
              "value" : "2011-01-24T09:45:00-06:00",
              "create" : "2011-07-04T14:15:00+06:00",
              "creatorID" : "c123456789",
              "lastModify" : "2011-12-05T06:00:00Z",
              "lastModifierID" : "m987654321",
              "purge" : "2011-01-24"
            }
          },
          "AccessibilityFeatures" : {
            "@type" : "AccessibilityFeaturesDetail",
            "AccessibilityFeatures" : {
              "value" : "Accessibility to goods and services"
            },
            "Description" : {
              "value" : "Formatted text example.",
              "language" : "en",
              "textFormat" : "PlainText"
            }
          }
        },
        "BedType" : {
          "value" : "Dorm bed"
        },
        "HotelAmenity" : [ {
          "value" : "Example String Value",
          "codeContext" : "Example String Value",
          "description" : "Example String Value"
        } ],
        "RoomAmenities" : [ {
          "value" : "Example String Value",
          "codeContext" : "Example String Value",
          "description" : "Example String Value"
        } ],
        "Rating" : 3.5
      }
    }
  }
}