Skip to content

GUEST LOYALTY CARDS GET V001

Service Reference Name: S_GUEST_LOYALTY_CARDS_GET_V001

General

This service returns the list of loyalty cards for a given guest.

Input

  • GUEST-OBJID: ObjID of the guest, which can be obtained from other defined services or
  • GUEST-CENTRALID: Central ID of the guest, which can be obtained from other defined services

Output

Direction

SIHOT.PMS ← IF Partner

Message

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_GUEST_LOYALTY_CARDS_GET_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Authentication>
        <SecurityID>string</SecurityID>
      </Authentication>
      <GUEST><!--Optional--><GUEST-OBJID>Base: string Pattern: ([0-9])*</GUEST-OBJID><!--Optional--><GUEST-CENTRALID>Base: string Pattern: ([0-9])*</GUEST-CENTRALID>
      </GUEST>
    </S_GUEST_LOYALTY_CARDS_GET_V001Request>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Message

Name Type
S_GUEST_LOYALTY_CARDS_GET_V001Request
TransactionID string
Authentication Node
SecurityID string
GUEST Node
GUEST-OBJID Base: string Pattern: ([0-9])*
GUEST-CENTRALID Base: string Pattern: ([0-9])*

Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soapenv:Header />
  <soapenv:Body>
    <S_GUEST_LOYALTY_CARDS_GET_V001Response xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Result>
        <Success>Base: string Pattern: true or false</Success><!--Optional--><ErrorMsg>string</ErrorMsg><!--Optional--><MSG-LIST><!--Optional--><MSG-ENTRY><!--Optional--><MSG-LEVEL>Base: string Pattern: ERROR or WARNING or INFO</MSG-LEVEL><!--Optional--><MSG-CLASS>string</MSG-CLASS><!--Optional--><MSG-NO>Base: string Pattern: ([0-9])*</MSG-NO><!--Optional--><MSG-TEXT>string</MSG-TEXT><!--Optional--><MSG-ENTRY-PARAM-LIST><!--Optional--><PARAM><!--Optional--><INDEX>Base: string Pattern: ([0-9])*</INDEX><!--Optional--><VALUE>string</VALUE>
              </PARAM>
            </MSG-ENTRY-PARAM-LIST><!--Optional--><MSG-COMMENT>string</MSG-COMMENT><!--Optional--><MSG-SUPRESSED>string</MSG-SUPRESSED>
          </MSG-ENTRY>
        </MSG-LIST>
      </Result><!--Optional--><LOYALTY-CARD>
        <LOYALTY-CARD-OBJID>Base: string Pattern: ([0-9])*</LOYALTY-CARD-OBJID>
        <type>Base: string minLength: 0 maxLength: 3</type>
        <level>Base: string minLength: 0 maxLength: 2</level>
        <number>string</number>
        <validuntil>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</validuntil>
        <status>string</status>
        <statusreason>Base: string minLength: 0 maxLength: 4</statusreason>
        <externalreference>Base: string minLength: 0 maxLength: 20</externalreference>
        <cardtext>Base: string minLength: 0 maxLength: 30</cardtext>
        <stakeholder>Base: string minLength: 0 maxLength: 10</stakeholder>
        <validfrom>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</validfrom>
      </LOYALTY-CARD>
    </S_GUEST_LOYALTY_CARDS_GET_V001Response>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Response

Name Type
S_GUEST_LOYALTY_CARDS_GET_V001Response
TransactionID string
Result Node
Success Base: string Pattern: true or false
ErrorMsg string
MSG-LIST Node
MSG-ENTRY Node
MSG-LEVEL Base: string Pattern: ERROR or WARNING or INFO
MSG-CLASS string
MSG-NO Base: string Pattern: ([0-9])*
MSG-TEXT string
MSG-ENTRY-PARAM-LIST Node
PARAM Node
INDEX Base: string Pattern: ([0-9])*
VALUE string
MSG-COMMENT string
MSG-SUPRESSED string
LOYALTY-CARD Node
LOYALTY-CARD-OBJID Base: string Pattern: ([0-9])*
type Base: string minLength: 0 maxLength: 3
level Base: string minLength: 0 maxLength: 2
number string
validuntil Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
status string
statusreason Base: string minLength: 0 maxLength: 4
externalreference Base: string minLength: 0 maxLength: 20
cardtext Base: string minLength: 0 maxLength: 30
stakeholder Base: string minLength: 0 maxLength: 10
validfrom Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})