RATE SEARCH V002
Service Reference Name: S_RATE_SEARCH_V002
General
This service delivers the rate for a specific service for a specific period.
Input
- from: service date from
- to: service date to
- rateSegment: (Optional) rate segment for the service
- scope: (Optional) e.g:
- "FORCECALCDAYPRICE" - price per day will be returned
- discountGroup: (Optional) discount group for the service
- currency: (Optional) currency to which you want to convert
- GUEST-OBJID: (Optional) guest specific price
-
ALLOTMENT-OBJID: (Optional) allotment specific price
-
List of services (Optional)
- serviceCode (Mandatory)
-
List of category (Optional)
- category (Mandatory)
-
List of person types (Optional)
- guestType: (Optional) type of the guest
- noOfPax: number of persons
Output
- Rate you are looking for and optional a list with the daily rates
- Within each daily rate node, some occupancy data is also included. Please note that:
- For sales categories, the occupancy percentage is not calculated so 0 will be the returned value
- The number of occupied rooms is a calculated figure between the total and available rooms.
- Consequently, if the request is for a sales category with a defined maximum availability, it can be inaccurate.
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_RATE_SEARCH_V002Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
<Authentication>
<SecurityID>string</SecurityID>
</Authentication>
<RATE-SEARCH>
<from>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</from>
<to>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</to><!--Optional--><ratesegment>string</ratesegment><!--Optional--><scope>string</scope><!--Optional--><discountgroup>string</discountgroup><!--Optional--><currency>string</currency><!--Optional--><GUEST-OBJID>Base: string Pattern: ([0-9])*</GUEST-OBJID><!--Optional--><ALLOTMENT-OBJID>Base: string Pattern: ([0-9])*</ALLOTMENT-OBJID><!--Optional--><SERVICE-CODE>
<serviceCode>string</serviceCode>
</SERVICE-CODE><!--Optional--><CATEGORY>
<category>string</category>
</CATEGORY><!--Optional--><PERSON-TYPE>
<noofpax>Base: string Pattern: ([-+]){0,1}([0-9])*</noofpax><!--Optional--><guesttype>string</guesttype>
</PERSON-TYPE>
</RATE-SEARCH>
</S_RATE_SEARCH_V002Request>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
Name | Type |
---|---|
S_RATE_SEARCH_V002Request | |
TransactionID | string |
Authentication | Node |
SecurityID | string |
RATE-SEARCH | Node |
from | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
to | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
ratesegment | string |
scope | string |
discountgroup | string |
currency | string |
GUEST-OBJID | Base: string Pattern: ([0-9])* |
ALLOTMENT-OBJID | Base: string Pattern: ([0-9])* |
SERVICE-CODE | Node |
serviceCode | string |
CATEGORY | Node |
category | string |
PERSON-TYPE | Node |
noofpax | Base: string Pattern: ([-+]){0,1}([0-9])* |
guesttype | 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_RATE_SEARCH_V002Response 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>
<RATE-RESULTS><!--Optional--><RATE-RESULT>
<servicecode>string</servicecode>
<rate>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</rate>
<ratecategory>string</ratecategory>
<discount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</discount>
<currencyamount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyamount>
<currencydiscount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencydiscount><!--Optional--><DAILYRATERESULT>
<date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
<rate>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</rate>
<discount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</discount>
<currencyamount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyamount>
<currencydiscount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencydiscount>
<totalRooms>Base: string Pattern: ([-+]){0,1}([0-9])*</totalRooms>
<occupiedrooms>Base: string Pattern: ([-+]){0,1}([0-9])*</occupiedrooms>
<availablerooms>Base: string Pattern: ([-+]){0,1}([0-9])*</availablerooms>
<occupancyPercentage>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</occupancyPercentage>
</DAILYRATERESULT>
</RATE-RESULT>
</RATE-RESULTS>
</S_RATE_SEARCH_V002Response>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
Name | Type |
---|---|
S_RATE_SEARCH_V002Response | |
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 |
RATE-RESULTS | Node |
RATE-RESULT | Node |
servicecode | string |
rate | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
ratecategory | string |
discount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencyamount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencydiscount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
DAILYRATERESULT | Node |
date | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
rate | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
discount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencyamount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencydiscount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
totalRooms | Base: string Pattern: ([-+]){0,1}([0-9])* |
occupiedrooms | Base: string Pattern: ([-+]){0,1}([0-9])* |
availablerooms | Base: string Pattern: ([-+]){0,1}([0-9])* |
occupancyPercentage | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |