Query type details returns the offer by the given IDs (ofr_id). Inquiry result is the same as in the case offers
field name | type | ↓ length | contains |
---|---|---|---|
par_chdAge | text | age of children or children bitrh dates | |
totalPrice | bool | returns the total price for the asked product | |
extraData | xml | Additional info about offers | |
useMerlinMargin | bool | returns price with agency margin | |
selectAnswerFields | text | fields name | |
ofr_id | char | up to 1 KB | offer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string |
<?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>
field name | type | contains |
---|---|---|
obj_acomodation | char | DEPRECIATED! Code assignment, unites the value of the code room and board, used by the booking system |
trp_flightChangeCount | int | Number of stops for ongoing flight |
obj_category | int | Category of the object multiplied by 10 |
obj_bookBeds | bool | If reservation on individual beds is possible |
rFlightChangeCount | int | Number of stops for return flight |
ofr_transferType | char | Transfer included or not |
obj_luggage | char | Main baggage is included or not |
ofr_refundable | char | Offer have some flex rules or not |
ofr_resident | char | Resident is available or not |
ofr_status | char | last known status/availability of offers |
trp_type2 | char | supplement field trp_type |
trp_type | char | service type of transport (plane / bus /...) |
trp_season | char | |
obj_service | char | Service code/board |
ofr_type | char | Type of offer |
obj_desCode | char | Usually the airport code serving the area where hotel is located |
trp_rDepCode | char | departure code of the return place |
obj_type | char | Object type (hotel/round trip/cruise /...) |
trp_rDesCode | char | destination code of the return trip |
ofr_operCurr | char | currency used by the operator |
trp_desCode | char | Code of destination location/airport ( IATA Code ) |
trp_depCode | char | Code of departure location/airport ( IATA Code ) |
obj_xRoomDesc | char | Room description processed by MerlinX |
ofr_catalog | char | Catalog code |
ofr_tourOp | char | touroperator code |
obj_room | char | Room code/ accommodation |
trp_flightCode | char | service code for flight / transport |
trp_tourCode | char | |
trp_rFlightCode | char | service code of the return flight / transport (information can be included also in the field trp_flightCode) |
obj_code | char | hotel code |
obj_xAttributes | bitmask | Object's attributes / flag offer |
ofr_candy | bitmask | Candy (bonus) |
obj_country | text | Country |
obj_maxAdt | int | Maximum number of adults [DEPRECATED] |
obj_xCountryId | int | ID assigned to a country by MerlinX |
obj_maxPax | int | Maximum number of people [DEPRECATED] |
obj_minAdt | int | The minimum number of adults [DEPRECATED] |
obj_minPax | int | The minimum number of people [DEPRECATED] |
obj_name | text | The name of the object (the hotel / cruise / circuit / package) |
trp_depName | text | place of departure / start |
obj_xCity | text | The city in which the object is assigned by MerlinX (original or revised) |
obj_xCode | int | ID assigned to the hotel by MerlinX |
obj_xLat | float | Latitude location of the object |
obj_rating !!! not available anymore !!! | text | Hotel rating by Zoover system |
obj_xName | text | Object's name that is assigned by MerlinX (original or revised) |
obj_xServiceId | int | ID meal/service assigned by MerlinX |
ofr_price | int | Price per adult (in the case ofr_operCurr pathologist from PLN should be taken as approximate this value!) |
trp_busStopDesc | text | Description of the bus stop |
obj_xLong | float | Longitude position of the object |
trp_rCarrierCode | text | carrier code and flight number of return (if both information is available) |
trp_rArrTime | time | time of arrival of the return trip |
obj_city | text | The city in which the object is located |
trp_desDate | date | date of reach the destination |
trp_rDepTime | time | Departure time of the return trip |
ofr_xCatalog | char | catalogs unified by MerlinX |
trp_duration | int | number of days |
ofr_operPrice | int | Price per adult in the currency of the operator |
wtr | text | Weather information |
trp_depName | text | place of departure / start |
trp_rDepDate | date | Departure date of the return trip |
trp_stay | int | number of nights |
trp_rDesDate | date | Date of return |
trp_startDate | date | Tour start date |
wtr_val | text | weather value |
trp_depTime | time | time of departure / start |
obj_serviceDesc | text | description of the meals / service |
trp_carrierDesc | text | Name of carrier |
trp_durationM | int | number of days |
obj_roomDesc | text | Description of room / accommodation |
trp_depDate | date | Date of departure / departure / start of trip |
ofr_sweet | bool | Candy - promoted flag ads (provided by the operator) |
trp_arrTime | time | times of trip / directions |
obj_region | text | The name of the region in which the object is located |
trp_carrierCode | text | carrier code and flight number (if both of the information is available) |
trp_busStop | text | |
trp_desDesc | text | place of trip/ directions |
count | int | number of matching results for the given query |
obj_xRegionId | int | ID assigned to a region by MerlinX |
obj_xskiregpath | text | Information about ski regions |
trp_flightOp | text | flight operator name |
extraData | xml | Additional info about offers |
room_hash | char | Hotel room id |
ofr_TFGincluded | bool | returns the price including TFG |
ofr_id | char | offer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string |
<?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>