Request – POS

In addition, each request message, with the exception of OTA_PingRQ, requires a POS element with validation information directly under the root element.

The authentication of your messages should be done by an Apikey and a message password. Both will be handed out to you by the Smarthotel team. Both attributes should be entered in the POS element of the message. During Development of the connection, your Apikey and password will give you access to the Sandbox environment only. Only after certification, an Apikey will be handed out for the production environment.

<POS>
  <Source>
    <RequestorID ID="APIKEY" MessagePassword="Password"/>
  </Source>
</POS>
Element / @Attribute Parent Info Values Occurrence
POS Root Point of sale object. Point of Sale (POS) identifies the party or connection channel making the request. 1
Source POS This holds the details about the requestor. It may be repeated to also accommodate the delivery systems. Provides information on the source of a request. 1
RequestorID Source An identifier of the entity making the request. 1
@ID RequestorID A unique identifying value assigned by the creating system. APIKEY (Guid) 1
@MessagePassword RequestorID This password provides an additional level of security that the recipient should use to validate the sending party's authority to use the message. [string] 1