Mashery Support Portals Forums

Ask a Question & General Support

RSS Feed

about hotel reservation using ean api

    • rajesh
    • Topic created 1 year ago

    HI, I am trying to test hotel reservation using ean api with xml code.

    my code is given below.

    https://book.api.ean.com/ean-services/rs/hotel/v3/res?cid=55505&minorRev=13&apiKey=cbrzfta369qwyrm9t5b8y8kf&locale=en_EN&currencyCode=USD&customerIpAddress=10.184.2.9&customerUserAgent=Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.2.24)+Gecko/20111103+Firefox/3.6.24+GTB7.1&customerSessionId=0ABAA824-C6F7-1913-58B2-4E99259051FC&xml=<HotelRoomReservationRequest> <hotelId>113601</hotelId> <arrivalDate>02/20/2012</arrivalDate> <departureDate>02/23/2012</departureDate> <supplierType>E</supplierType> <rateKey>b16ab361-eadf-46e8-9fa0-512dffe89990</rateKey> <roomTypeCode>131365</roomTypeCode> <rateCode>200114628</rateCode> <chargeableRate>800.31</chargeableRate> <RoomGroup> <Room> <numberOfAdults>1</numberOfAdults> <firstName>Test Booking</firstName> <lastName>Test Booking</lastName> <bedTypeId>14</bedTypeId> <smokingPreference>NS</smokingPreference> </Room> </RoomGroup> <ReservationInfo> <email>rajesh.kum.08@gmail.com</email> <firstName>Test Booking</firstName> <lastName>Test Booking</lastName> <homePhone>4178291392</homePhone> <workPhone>4178291392</workPhone> <creditCardType>Mastercard</creditCardType> <creditCardNumber>5401999999999999</creditCardNumber> <creditCardExpirationMonth>01</creditCardExpirationMonth> <creditCardExpirationYear>2013</creditCardExpirationYear> <creditCardIdentifier>123</creditCardIdentifier> </ReservationInfo> <AddressInfo> <address1>travelnow</address1> <postalCode>65807</postalCode> </AddressInfo> </HotelRoomReservationRequest>

    but nothing happen. how could I test hotel reservation .please suggest me.

    Note: -I want to test my code before live the site.

    Thanks with regards Rajesh 9310136202 rajesh.kum.08@gmail.com

    Message edited by rajesh 11 months ago

  1. Shai Simchi1 year ago

    Hi Rajesh,

    I have sent your inquiry to the EAN API team so they can guide you further.

    Thanks,

    Shai Simchi Mashery Customer Support

  2. Igex1 year ago

    Hi... I also have same problem with hotel booking API. Here is my code http://book.api.ean.com/ean-services/rs/hotel/v3/res?cid=55505&amp;minorRev=13&amp;apiKey=rf6zmqxuwb737xbknxg96mbq&amp;locale=en_EN¤cyCode=USD&amp;customerIpAddress=192.168.1.2&amp;customerUserAgent=Mozilla/5.0+(Windows+NT+5.1;+rv:10.0.2)+Gecko/20100101+Firefox/10.0.2&amp;customerSessionId=0ABAA876-8B7C-F913-5C82-E7218390590C&amp;xml=<hotelroomreservationrequest><hotelid>134556</hotelid><arrivaldate>03/20/2012</arrivaldate><departuredate>03/22/2012</departuredate><suppliertype>E</suppliertype><ratekey>b8d1f7cf-6ffa-479c-b811-c0f55d8d1d9b</ratekey><roomtypecode>90628</roomtypecode><ratecode>200641803</ratecode><chargeablerate>149.1</chargeablerate><roomgroup><room><numberofadults>1</numberofadults><firstname>test</firstname><lastname>booking</lastname><bedtypeid>14</bedtypeid><smokingpreference>S</smokingpreference></room></roomgroup><reservationinfo><email>test1.igex@gmail.com</email><firstname>test booking</firstname><lastname>test booking</lastname><homephone>4178291392</homephone><workphone>4178291392</workphone><creditcardtype>CA</creditcardtype><creditcardnumber>5401999999999999</creditcardnumber><creditcardexpirationmonth>12</creditcardexpirationmonth><creditcardexpirationyear>2013</creditcardexpirationyear><creditcardidentifier>123</creditcardidentifier></reservationinfo><addressinfo><address1>travelnow</address1><city>new york</city><stateprovincecode>AL</stateprovincecode><countrycode>US</countrycode><postalcode>65807</postalcode> Can please tell me where problem is going on....??? Please reply as soon as possible..... Thanks in advance.

  3. seboongo1 year ago

    Hi I too having problem with hotel booking API.Here is my code http://api.ean.com/ean-services/rs/hotel/v3/res?minorRev=4&cid=55505&apiKey=g62k9q4sr4hgmurrwykewgqt&customerUserAgent=Mozilla/5.0+(Windows+NT+5.1;+rv:10.0.2)+Gecko/20100101+Firefox/10.0.2&customerSessionId=0ABAA876-73F4-1C91-35C2-D5959FB964D7&locale=en_US&currencyCode=USD&xml=<HotelRoomReservationRequest><hotelId>163072</hotelId><arrivalDate>4/14/2012</arrivalDate><departureDate>4/18/2012</departureDate><supplierType>E</supplierType><roomTypeCode>55013</roomTypeCode><rateCode>125389</rateCode><affiliateConfirmationId>1234</affiliateConfirmationId><chargeableRate>495.59</chargeableRate><rateKey>f8b978ff-d34c-4391-b673-0bc6a1c82608</rateKey><RoomGroup><Room><numberOfAdults>2</numberOfAdults><firstName>test</firstName><lastName>testt</lastName><bedType>15</bedType><numberOfBeds>1</numberOfBeds><smokingPreference>NS</smokingPreference><specialInformation>test</specialInformation></Room></RoomGroup><ReservationInfo><email>vikash@rnjcs.in</email><firstName>test</firstName><lastName>test</lastName><homePhone>4178291392</homePhone><workPhone>4178291392</workPhone><creditCardType>VI</creditCardType><creditCardNumber>5401999999999999</creditCardNumber><creditCardExpirationMonth>10</creditCardExpirationMonth><creditCardExpirationYear>2012</creditCardExpirationYear><creditCardIdentifier>123</creditCardIdentifier></ReservationInfo><AddressInfo><address1>HuronAvenueAndBrigantineBlvd</address1><city>Atlantic City</city><stateProvinceCode>NJ</stateProvinceCode><postalCode>08401</postalCode><countryCode>US</countryCode></AddressInfo></HotelRoomReservationRequest> Here all the information is correct but xml is not generated giving an error .Please help how to use it. Please reply ASAP Thanks in advance

  4. itspl11 months ago

    What should I do to fetch Top Deals API integration.

  5. Jeff Dillon11 months ago

    Hi

    You would want to contact Expedia Affiliate Network regarding this API. Their developer portal is located at

    http://developer.ean.com/

    I hope this helps

    Best regards,

    Mashery Support

[ Page 1 of 1 ]