Skip to main content

HotelsByDestinationResponse

hotels object[]
  • Array [
  • providerCodestring

    Provider code issued for the connection, to identify which hotels are pending to map per provider

    providerHotelCodestring

    Provider's hotel code

    bundleportHotelCodestringnullable

    Bundleport base code (when outputCodeType=bundleport and mapped)

    canonicalCityIdstring
    hotelNamestringnullable
    bundleportRankintegernullable

    1-based rank in bundleport rank list (e.g. bundleport_rank_base); present only when hotel is in the list

    inBundleportRankboolean

    True when hotel is in the bundleport rank list

  • ]
  • stats object

    Mapped/Unmapped and byProvider only when outputCodeType=bundleport; otherwise total only.

    totalinteger

    Total hotels in destination

    mappedinteger

    Hotels with Bundleport mapping (bundleport only)

    unmappedinteger

    Hotels pending to map (bundleport only)

    byProvider object

    Per-provider total/mapped/unmapped (bundleport only)

    property name* ProviderStats
    totalinteger
    mappedinteger
    unmappedinteger
    paging object
    nextCursorstringnullable
    hasMoreboolean
    HotelsByDestinationResponse
    {
    "hotels": [
    {
    "providerCode": "string",
    "providerHotelCode": "string",
    "bundleportHotelCode": "string",
    "canonicalCityId": "string",
    "hotelName": "string",
    "bundleportRank": 0,
    "inBundleportRank": true
    }
    ],
    "stats": {
    "total": 0,
    "mapped": 0,
    "unmapped": 0,
    "byProvider": {}
    },
    "paging": {
    "nextCursor": "string",
    "hasMore": true
    }
    }