Inquiry: details

Descriptions

Query type details returns the offer by the given IDs (ofr_id). Inquiry result is the same as in the case offers

Inquiry

field nametypelengthcontains
extraDataxmlAdditional info about offers
ofr_idchar64offer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string
selectAnswerFieldstextfields name
totalPriceboolreturns the total price for the asked product
useMerlinMarginboolreturns price with agency margin
<?xml version='1.0'?>
<mds>
    <auth>
        <login>login</login>
        <pass>pass</pass>
    </auth>
   <request>
     <type>details</type>
     <conditions>
       <ofr_id>cafc9c55c61765013b70f7c3fa763f2e219a9fdeb566ece37793980eba3ab128</ofr_id>
     </conditions>
   </request>
</mds>

Answer

field nametypecontains
countintnumber of matching results for the given query
extraDataxmlAdditional info about offers
obj_accomodationcharCode assignment, unites the value of the code room and board, used by the booking system
obj_bookBedsboolIf reservation on individual beds is possible
obj_categoryintCategory of the object multiplied by 10
obj_citytextThe city in which the object is located
obj_codecharhotel code
obj_countrytextCountry
obj_desCodecharUsually the airport code serving the area where hotel is located
obj_maxAdtintMaximum number of adults
obj_maxPaxintMaximum number of people (occupancy)
obj_minAdtintThe minimum number of adults
obj_minPaxintThe minimum number of people (occupancy)
obj_nametextThe name of the object (the hotel / cruise / circuit / package)
obj_ratingtextHotel rating by Zoover system
obj_regiontextThe name of the region in which the object is located
obj_roomDesctextDescription of room / accommodation
obj_roomcharRoom code/ accommodation
obj_serviceDesctextdescription of the meals / service
obj_servicecharService code/board
obj_typecharObject type (hotel/round trip/cruise /...)
obj_xAttributesbitmaskObject's attributes / flag offer
obj_xCitytextThe city in which the object is assigned by MerlinX (original or revised)
obj_xCodeintID assigned to the hotel by MerlinX
obj_xCountryIdintID assigned to a country by MerlinX
obj_xLatfloatLatitude location of the object
obj_xLongfloatLongitude position of the object
obj_xNametextObject's name that is assigned by MerlinX (original or revised)
obj_xRegionIdintID assigned to a region by MerlinX
obj_xRoomDesccharRoom description processed by MerlinX
obj_xServiceIdintID meal/service assigned by MerlinX
obj_xskiregpathtextInformation about ski regions
ofr_candybitmaskCandy (bonus)
ofr_catalogcharCatalog code
ofr_idcharoffer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string
ofr_operCurrcharcurrency used by the operator
ofr_operPriceintPrice per adult in the currency of the operator
ofr_priceintPrice per adult (in the case ofr_operCurr pathologist from PLN should be taken as approximate this value!)
ofr_statuscharlast known status/availability of offers
ofr_sweetboolCandy - promoted flag ads (provided by the operator)
ofr_tourOpchartouroperator code
ofr_typecharType of offer
ofr_xCatalogcharcatalogs unified by MerlinX
room_hashcharHotel room id
trp_desDesctextplace of trip/ directions
trp_arrTimetimetimes of trip / directions
trp_busStopDesctextDescription of the bus stop
trp_busStoptext
trp_carrierCodetextcarrier code and flight number (if both of the information is available)
trp_carrierDesctextName of carrier
trp_depCodecharCode of departure location/airport ( IATA Code )
trp_depDatedateDate of departure / departure / start of trip
trp_depNametextplace of departure / start
trp_depNametextplace of departure / start
trp_depTimetimetime of departure / start
trp_desCodecharCode of destination location/airport ( IATA Code )
trp_desDatedatedate of reach the destination
trp_durationMintnumber of days
trp_durationintnumber of days
trp_flightCodecharservice code for flight / transport
trp_flightOptextflight operator name
trp_rArrTimetimetime of arrival of the return trip
trp_rCarrierCodetextcarrier code and flight number of return (if both information is available)
trp_rDepCodechardeparture code of the return place
trp_rDepDatedateDeparture date of the return trip
trp_rDepTimetimeDeparture time of the return trip
trp_rDesCodechardestination code of the return trip
trp_rDesDatedateDate of return
trp_rFlightCodecharservice code of the return flight / transport (information can be included also in the field trp_flightCode)
trp_seasonchar
trp_startDatedateTour start date
trp_stayintnumber of nights
trp_tourCodechar
trp_type2charsupplement field trp_type
trp_typecharservice type of transport (plane / bus /...)
wtr_valtextweather value
wtrtextWeather information
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
	<ofr id="cafc9c55c61765013b70f7c3fa763f2e219a9fdeb566ece37793980eba3ab128" catalog="MADA" tourOp="MADA" type="H" sweet="0" status="BA" operPrice="25" operCurr="PLN" price="25">
		<obj name="Tatralandia - tydzień w aquaparku" city="Liptov" category="30" code="193" room="193" service="I" roomDesc="Apartament 2+2" minPax="1" maxPax="4" minAdt="1" maxAdt="4" xCode="-924" region="Kotlina Liptowska" acomodation="" attributes="(nil)" type="H" serviceDesc="śniadania kolacje" serviceId="1" country="Słowacja" bookBeds="0" rating="" desCode="a59" xName="Tatralandia - tydzień w aquaparku" xCity="Liptov" lat="" long=""/>
		<trp desCode="" depCode="" depDate="20101112" duration="7" flightCode="" carrierCode="" rFlightCode="" rCarrierCode="" depTime="0000" arrTime="0000" rDepTime="0000" rArrTime="0000" type="" type2="" dstCode="428_3456" depDesc="" desDesc="" rDepDate="20101119" desDate="20101112" rDesDate="20101119" rDepCode="" rDesCode="" startDate="20101112" tourCode="" busStop="" durationM="7" season="0" busStopDesc="" flightOp="" stay=""/>
	</ofr>
	<ofr id="18a71e7373561ad94fa984291669596d219a9fdeb566ece37793980eba3ab128" catalog="MADA" tourOp="MADA" type="H" sweet="0" status="BA" operPrice="25" operCurr="PLN" price="25">
		<obj name="Tatralandia - tydzień w aquaparku" city="Liptov" category="30" code="193" room="218" service="I" roomDesc="Apartament 5 os" minPax="1" maxPax="5" minAdt="1" maxAdt="5" xCode="-924" region="Kotlina Liptowska" acomodation="" attributes="(nil)" type="H" serviceDesc="śniadania kolacje" serviceId="1" country="Słowacja" bookBeds="0" rating="" desCode="a59" xName="Tatralandia - tydzień w aquaparku" xCity="Liptov" lat="" long=""/>
		<trp desCode="" depCode="" depDate="20101112" duration="7" flightCode="" carrierCode="" rFlightCode="" rCarrierCode="" depTime="0000" arrTime="0000" rDepTime="0000" rArrTime="0000" type="" type2="" dstCode="428_3456" depDesc="" desDesc="" rDepDate="20101119" desDate="20101112" rDesDate="20101119" rDepCode="" rDesCode="" startDate="20101112" tourCode="" busStop="" durationM="7" season="0" busStopDesc="" flightOp="" stay=""/>
	</ofr>
</response>
 
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki