Mashery Support Portals Forums

Ask a Question & General Support

RSS Feed

Data Export

  1. Hi, I'd like to find an easy way to export user data into a single CSV file that would include email addresses, location, and registered date. Is there any way to either export data I can see in the Users section, or customise fields in the Reports section?

    Message edited by Jason Cormier 2 years ago

  2. Jeremy Pollock2 years ago

    Hi Jason

    Presently you cannot export the data, as a CSV obtained through a Dashboard action, that you see in the User section nor can you customize the fields in the Reports section. The former is a known enhancement request and is on the Roadmap, albeit without a firm release date. I will add the latter idea to our features repository.

    Many of our customers achieve your type of export via the Mashery API. If you would like, I can help guide you through the usage of the API for this exact purpose. I can be reached at jpollock@mashery.com.

    Jeremy

  3. Jason Cormier2 years ago

    Thanks Jeremy, I will look into the API and reach out to you directly if (when!) I have questions. I apprecaite your prompt response.

  4. NanC77772 years ago

    Hi,

    1. I am using ean api for hotel, when i search a hotel i got all the data regarding serach but not able to find out the special offers like " Stay 3 nights and save 10% off your stay! i got low rate and high rate but how to able to find the Average Nightly Rate please help

    I am pasting the code which i use for hotel listing

    $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=[xxx]&apiKey=[xxxxxx]&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>'".$city."'</city><RoomRateDetails><promoDescription>true</promoDescription></RoomRateDetails><hasMap>true</hasMap><arrivalDate>'".$arrivalDate."'</arrivalDate><departureDate>'".$departureDate."'</departureDate><RoomGroup><Room>'".$rooms."'<numberOfAdults>'".$adults."'</numberOfAdults><numberOfChildren>'".$child."'</numberOfChildren></Room></RoomGroup><promotion>true</promotion><maxRatePlanCount>1</maxRatePlanCount><numberOfResults>1</numberOfResults></HotelListRequest>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_HTTPHEADER,array('Accept:application/xml')); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = curl_exec($ch);
    curl_close($ch);

    1. On detail page of a hotel i got room types but how to get the rates of the hotels room ,please help

    this is the code regarding hotel information

    $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/info?cid=[xxxx]&minorRev=1&apiKey=[xxxxxxxx]&locale=en_US&currencyCode=USD&xml=<HotelInfo><hotelId>".$hotelId."</hotelId><city>noida</city><options>DEFAULT,HOTEL_DETAILS,HOTEL_SUMMARY,SUPPLIERS,ROOM_TYPES,ROOM_AMENITIES,HOTEL_IMAGES,ROOM_RATE_DETAILS</options></HotelInfo>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_HTTPHEADER,array('Accept:application/xml')); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = curl_exec($ch);
    curl_close($ch);

  5. eellerbee2 years ago

    Hi Nancy,

    I will be forwarding this request to the API team at EAN. If you have any questions, I can be reached at eellerbee@mashery.com

    ~Elizabeth

[ Page 1 of 1 ]