Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Overview

The getSiteAccess operation can be used to obtain a list of properties from the Allora IBE that your API credentials have access to.

Request

The getSiteAccess request does not require any additional elements to be added to the request. All that is required is your auth credentials and the operation name.

Sample

{
    "userAuth": {
        "username": "username",
        "password": "password"
    },
    "operation": "getSiteAccess"
}

Response

Element

Type

Description

siteList

Array

The siteList array will contain an entry for each site as requested in the siteIDList section of the request.

siteID

Integer

The IBE siteID for the property.

primaryName

String

Property name.

Sample

{
  "siteList": [
    {
      "siteID": 881,
      "primaryName": "TestHotel Martin"
    },
    {
      "siteID": 1853,
      "primaryName": "TestHotel Mahony"
    },
    {
      "siteID": 1893,
      "primaryName": "API Test Hotel"
    }
  ]
}
  • No labels