GiftVoucherReq
Service Reference Name: GiftVoucherReq
General
The request allows gift vouchers to be queried for their validity and value based on giftvoucherreq.
REQUEST
The request requires the following additional tags:
giftvoucherreq: external gift voucher number (optional)
mandator: Number of the mandator in which the guest stays.
voucherno: SIHOT gift voucher number
RESPONSE
The answer is of type Result and GiftVoucherType.
Remark: If the status is BLOCKED or INVALID, the gift voucher cannot be redeemed.
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>
<GiftVoucherReqRequest xmlns="http://www.gubse.com/IFS/RMS.xsd">
<TransactionID>string</TransactionID>
<Authentification>
<SecurityID>string</SecurityID>
</Authentification>
<giftvoucherreq>string</giftvoucherreq><!--Optional--><mandator>Base: string Pattern: ([0-9])*</mandator><!--Optional--><voucherno>Base: string Pattern: ([0-9])*</voucherno>
</GiftVoucherReqRequest>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
Name | Type |
---|---|
GiftVoucherReqRequest | |
TransactionID | string |
Authentification | Node |
SecurityID | string |
giftvoucherreq | string |
mandator | Base: string Pattern: ([0-9])* |
voucherno | 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>
<GiftVoucherReqResponse xmlns="http://www.gubse.com/IFS/RMS.xsd">
<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--><block_giftvoucher><!--Optional--><status>Base: string Pattern: BLOCKED or VALID or INVALID or NOTUSABLE</status>
<value>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</value><!--Optional--><number>string</number><!--Optional--><voucherno>Base: string Pattern: ([0-9])*</voucherno>
</block_giftvoucher>
</GiftVoucherReqResponse>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
Name | Type |
---|---|
GiftVoucherReqResponse | |
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 |
block_giftvoucher | Node |
status | Base: string Pattern: BLOCKED or VALID or INVALID or NOTUSABLE |
value | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
number | string |
voucherno | Base: string Pattern: ([0-9])* |