Hotels Sample

Hotel List

Method: GET Path: /publishers/{publisherCode}/hotels Description: Get a list of hotels connected to the selected publisher and your application. Sample Response

[
  {
    "code": "samplehotel",
    "name": "Sample Hotel",
    "currency": "AUD",
    "messageTypes": [
      "Reservations",
      "ARI"
    ]
  },
  {
    "code": "samplehotel1",
    "name": "Sample Hotel 1",
    "currency": "USD",
    "messageTypes": [
      "Reservations"
    ]
  },
  {
    "code": "samplehotel2",
    "name": "Sample Hotel 2",
    "currency": "AUD",
    "messageTypes": [
      "ARI"
    ]
  },
  {
    "code": "samplehotel3",
    "name": "Sample Hotel 3",
    "currency": "EUR",
    "messageTypes": [
      "Reservations",
      "ARI"
    ]
  }
]

Last updated