POST API/V40/System/Session/InitialiseByGuestIdentifier

Initialise session by guest identifier

Request Information

URI Parameters

None.

Body Parameters

The command parameters.

InitialiseSessionByGuestIdentifierRequest
NameDescriptionTypeAdditional information
PropertyCode

The code of the property (hotel etc.).

string

Required

InterfaceToken

Token issued to the customer to enable the API

string

Required

Version

Specify the version number (or 'draft' for draft version) - the returned token will enable access to a particular version of content, If left blank, the current live version is used

string

LanguageCode

Specify the language code for the session - if the language code is empty or null, this is defaulted

string

GuestUniqueIdentifier

Specify an unique identifier for the Non Verified Guest

string

Request Formats

application/json, text/json

Sample:
{
  "propertyCode": "sample string 1",
  "interfaceToken": "sample string 2",
  "version": "sample string 3",
  "languageCode": "sample string 4",
  "guestUniqueIdentifier": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseContainerModel
NameDescriptionTypeAdditional information
SessionToken

The token associated with this session of API interactions. Generally this is the same token passed with the API request parameters, but under certain circumstances this can be changed before being sent back to the caller.

string

ResponsesIncluded

A list of response messages names contained in this composite message, for easy pre-parsing.

string

Responses

A list of response messages contained in this composite message.

Collection of Object

Status

The success status the composite message.

CompositeStatus

Response Formats

application/json, text/json

Sample:
{
  "sessionToken": "E3mH2TwU3YgKAAAAAAAAAAAAAAA.BiCSVCgtgywpCw8PSK4MJBwsRMAnm0kvP99fQWtHFUE",
  "responsesIncluded": "initialiseSessionResponse,loginByGuestIdentifierResponse",
  "responses": [
    {
      "initialiseSessionResponse": {
        "content": {
          "brandCode": "sample string 1",
          "groupCode": "sample string 2"
        },
        "succeeded": true
      }
    },
    {
      "loginByGuestIdentifierResponse": {
        "content": {
          "guestUniqueIdentifier": "sample string 1",
          "action": "sample string 2"
        },
        "succeeded": true
      }
    }
  ],
  "status": "Success"
}