Skip to content

DISCOUNT SEARCH V001

Service Reference Name: S_DISCOUNT_SEARCH_V001

General

This service searches for discounts.

Input

  • Date from
  • Date to
  • Discount group
  • Service type
  • Service code
  • Rate segment
  • Rate category
  • Rate filter: by default this filter is set with "All rate filters". This value can be override with the following registries:
  • Standard rate filter [8618]
  • Do not allow automatic setting of service filter in all service filters [9732]

Output

List of discounts

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_DISCOUNT_SEARCH_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
      <Authentication>
        <SecurityID>string</SecurityID>
      </Authentication>
      <DISCOUNT-SEARCH><!--Optional--><datefrom>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</datefrom><!--Optional--><dateto>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</dateto><!--Optional--><discountgroup>string</discountgroup><!--Optional--><servicetype>string</servicetype><!--Optional--><servicecode>string</servicecode><!--Optional--><ratesegment>string</ratesegment><!--Optional--><ratecategory>string</ratecategory><!--Optional--><ratefilter>string</ratefilter>
      </DISCOUNT-SEARCH>
    </S_DISCOUNT_SEARCH_V001Request>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Message

Name Type
S_DISCOUNT_SEARCH_V001Request
TransactionID string
Authentication Node
SecurityID string
DISCOUNT-SEARCH Node
datefrom Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
dateto Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
discountgroup string
servicetype string
servicecode string
ratesegment string
ratecategory string
ratefilter string

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_DISCOUNT_SEARCH_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>
      <DISCOUNTS><!--Optional--><DISCOUNT>
          <DISCOUNT-OBJID>Base: string Pattern: ([0-9])*</DISCOUNT-OBJID>
          <datefrom>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</datefrom>
          <dateto>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</dateto>
          <tobesoldfrom>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</tobesoldfrom>
          <tobesoldto>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</tobesoldto>
          <discount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</discount>
          <discountgroup>Base: string minLength: 0 maxLength: 16</discountgroup>
          <servicetype>Base: string minLength: 0 maxLength: 2</servicetype>
          <servicecode>string</servicecode>
          <ratesegment>Base: string minLength: 0 maxLength: 3</ratesegment>
          <ratecategory>Base: string minLength: 0 maxLength: 4</ratecategory>
          <ratefilter>Base: string minLength: 0 maxLength: 18</ratefilter>
          <yield>Base: string minLength: 0 maxLength: 4</yield>
          <guesttype>Base: string minLength: 0 maxLength: 2</guesttype>
          <minstaylength>Base: string Pattern: ([-+]){0,1}([0-9])*</minstaylength>
          <discountblocked>Base: string Pattern: ([-+]){0,1}([0-9])*</discountblocked>
          <trackingcode>Base: string minLength: 0 maxLength: 10</trackingcode>
          <calculationmethod>string</calculationmethod><!--Optional--><GUEST>
            <GUEST-OBJID>Base: string Pattern: ([0-9])*</GUEST-OBJID>
            <GUEST-CENTRALID>Base: string Pattern: ([0-9])*</GUEST-CENTRALID>
            <lastName>string</lastName>
            <firstName>Base: string minLength: 0 maxLength: 100</firstName>
          </GUEST>
        </DISCOUNT>
      </DISCOUNTS>
    </S_DISCOUNT_SEARCH_V001Response>
  </soapenv:Body>
</soapenv:Envelope>

Attributes Response

Name Type
S_DISCOUNT_SEARCH_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
DISCOUNTS Node
DISCOUNT Node
DISCOUNT-OBJID Base: string Pattern: ([0-9])*
datefrom Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
dateto Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
tobesoldfrom Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
tobesoldto Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})
discount Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9])
discountgroup Base: string minLength: 0 maxLength: 16
servicetype Base: string minLength: 0 maxLength: 2
servicecode string
ratesegment Base: string minLength: 0 maxLength: 3
ratecategory Base: string minLength: 0 maxLength: 4
ratefilter Base: string minLength: 0 maxLength: 18
yield Base: string minLength: 0 maxLength: 4
guesttype Base: string minLength: 0 maxLength: 2
minstaylength Base: string Pattern: ([-+]){0,1}([0-9])*
discountblocked Base: string Pattern: ([-+]){0,1}([0-9])*
trackingcode Base: string minLength: 0 maxLength: 10
calculationmethod string
GUEST Node
GUEST-OBJID Base: string Pattern: ([0-9])*
GUEST-CENTRALID Base: string Pattern: ([0-9])*
lastName string
firstName Base: string minLength: 0 maxLength: 100