User Tools

Site Tools


data:request:details

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
ofr_idcharup to 1 KBoffer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string
par_chdAgetextage of children or children bitrh dates
totalPriceboolreturns the total price for the asked product
extraDataxmlAdditional info about offers
useMerlinMarginboolreturns price with agency margin
selectAnswerFieldstextfields name
<?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
obj_acomodationcharDEPRECIATED! Code assignment, unites the value of the code room and board, used by the booking system
obj_countrytextCountry
trp_flightChangeCountintNumber of stops for ongoing flight
obj_desCodecharUsually the airport code serving the area where hotel is located
obj_maxAdtintMaximum number of adults
obj_xCountryIdintID assigned to a country by MerlinX
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_roomcharRoom code/ accommodation
obj_xAttributesbitmaskObject's attributes / flag offer
trp_depNametextplace of departure / start
obj_xCitytextThe city in which the object is assigned by MerlinX (original or revised)
obj_xCodeintID assigned to the hotel by MerlinX
obj_xLatfloatLatitude location of the object
obj_rating !!! not available anymore !!!textHotel rating by Zoover system
obj_xNametextObject's name that is assigned by MerlinX (original or revised)
obj_categoryintCategory of the object multiplied by 10
obj_xServiceIdintID meal/service assigned by MerlinX
ofr_idcharoffer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string
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
trp_flightCodecharservice code for flight / transport
trp_busStopDesctextDescription of the bus stop
obj_xLongfloatLongitude position of the object
trp_rCarrierCodetextcarrier code and flight number of return (if both information is available)
ofr_catalogcharCatalog code
trp_rDepCodechardeparture code of the return place
trp_rArrTimetimetime of arrival of the return trip
obj_citytextThe city in which the object is located
trp_desDatedatedate of reach the destination
trp_rDepTimetimeDeparture time of the return trip
ofr_tourOpchartouroperator code
ofr_xCatalogcharcatalogs unified by MerlinX
trp_durationintnumber of days
trp_type2charsupplement field trp_type
ofr_operPriceintPrice per adult in the currency of the operator
trp_typecharservice type of transport (plane / bus /...)
wtrtextWeather information
obj_bookBedsboolIf reservation on individual beds is possible
trp_depNametextplace of departure / start
obj_typecharObject type (hotel/round trip/cruise /...)
trp_tourCodechar
trp_rDepDatedateDeparture date of the return trip
trp_stayintnumber of nights
trp_rFlightCodecharservice code of the return flight / transport (information can be included also in the field trp_flightCode)
obj_codecharhotel code
trp_rDesDatedateDate of return
trp_startDatedateTour start date
wtr_valtextweather value
trp_depTimetimetime of departure / start
obj_serviceDesctextdescription of the meals / service
trp_seasonchar
trp_rDesCodechardestination code of the return trip
trp_carrierDesctextName of carrier
ofr_operCurrcharcurrency used by the operator
trp_durationMintnumber of days
obj_roomDesctextDescription of room / accommodation
trp_desCodecharCode of destination location/airport ( IATA Code )
trp_depDatedateDate of departure / departure / start of trip
ofr_sweetboolCandy - promoted flag ads (provided by the operator)
obj_servicecharService code/board
trp_arrTimetimetimes of trip / directions
trp_depCodecharCode of departure location/airport ( IATA Code )
obj_regiontextThe name of the region in which the object is located
trp_carrierCodetextcarrier code and flight number (if both of the information is available)
trp_busStoptext
ofr_candybitmaskCandy (bonus)
trp_desDesctextplace of trip/ directions
ofr_typecharType of offer
countintnumber of matching results for the given query
obj_xRoomDesccharRoom description processed by MerlinX
obj_xRegionIdintID assigned to a region by MerlinX
obj_xskiregpathtextInformation about ski regions
trp_flightOptextflight operator name
extraDataxmlAdditional info about offers
room_hashcharHotel room id
ofr_TFGincludedboolreturns the price including TFG
ofr_transferTypecharTransfer included or not
rFlightChangeCountintNumber of stops for return flight
obj_luggagecharMain baggage is included or not
ofr_refundablecharOffer have some flex rules or not
ofr_residentcharResident is available or not
<?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>
data/request/details.txt · Last modified: 2014/03/18 15:30 by marekj