Affiliate API - Get Quote( getQuote )
Navigate to Affiliate API
Details
- CustomActionName get-quote
- Name Get Quote
- Description Find quote information for a specified request.
- MethodGroup Inventory Service
Parameters
-
q
Type StringDescription The hotel ID and room ID you wish to obtain a quote for, separated by a comma. NOTE: If not supplied with optional parameters, the request will default to the following settings: <br />* checkin = today <br />* nights = 3 <br />* adults = 2 <br />* children = 0 <br />Example <a class="showCode" href="/api/get-quote?q=200324,1108292&webid=45">/api/get-quote?q=200324,1108292&webid=45</a>Required true
-
checkin
Type StringDescription Check In: The date for the start of the grid.Example <a class="showCode" href="/api/get-quote?q=200324,1108292&checkin=2011-05-23&webid=45">/api/get-quote?q=200324,1108292&checkin=2011-05-23&webid=45</a>
-
nights
Type Int32Description Nights: The number of nights stay until check-out.Example <a class="showCode" href="/api/get-quote?q=200324,1108292&checkin=2011-05-23&nights=3&webid=45">/api/get-quote?q=200324,1108292&checkin=2011-05-23&nights=3&webid=45</a>
-
adults
Type Int32Description Adults: The number of adult guests.Example <a class="showCode" href="/api/get-quote?q=200324,1108292&adults=4&webid=45">/api/get-quote?q=200324,1108292&adults=4&webid=45</a>
-
children
Type Int32Description Children: The number of children guests.Example <a class="showCode" href="/api/get-quote?q=200324,1108292&children=2">/api/get-quote?q=200324,1108292&children=2</a>
-
cb
Type StringExample <a class="showCode" href="/api/get-quote?q=200324,1108292&webid=45&cb=jsonpFEBC23945A">/api/get-quote?q=200324,1108292&webid=45&cb=jsonpFEBC23945A</a>
-
webid
Type Int32Description The affiliate id for the message you are requesting.Required true
-
callback
Type StringDescription Define a callback function for cross-site ajax
-
IgnoreCache
Type Boolean
-
ShowError
Type Boolean