musement / api-documentation

Musement API documentation
https://api-docs.musement.com/
3 stars 7 forks source link

Accept header does not work #17

Closed phil-newman closed 8 years ago

phil-newman commented 8 years ago

Request

GET https://developers.musement.com/api/v3/cities/1/events?vertical=3&limit=1 HTTP/1.1
User-Agent: Fiddler
Accept: application/xml
Accept-Language: es
X-Musement-Currency: EUR
Host: developers.musement.com
X-Musement-Version: 3.1.0

Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 6900
Connection: keep-alive
Access-Control-Allow-Origin: *
Cache-Control: max-age=3605, public, s-maxage=3605
Date: Thu, 14 Jul 2016 12:59:31 GMT
ETag: "856a02b223f317007acb7dc0cb2e5c29"
Last-Modified: Thu, 14 Jul 2016 11:59:31 GMT
Musement-Server: 10.0.0.193
Server: nginx/1.8.1
Set-Cookie: musement_browser=%7B%22locale%22%3Afalse%2C%22currency%22%3A%22EUR%22%2C%22country%22%3Afalse%2C%22ip_country%22%3A%22gb%22%2C%22color%22%3Afalse%7D; expires=Tue, 26-Jul-2016 12:59:31 GMT; Max-Age=1036800; path=/
Vary: Accept-Encoding,Accept-Encoding,Accept-Language,X-Musement-Currency
X-Cache: Miss from cloudfront
Via: 1.1 c9d4d8710ea2ee7404e993c5ad34736e.cloudfront.net (CloudFront)
X-Amz-Cf-Id: Ihh8aLbuY2cw1F7hi2_sXzKIYugergRU1bFqAgd1YyydMBUu5kzXHg==

[{"id":3838,"city":{"id":1,"name":"Mil\u00e1n","country":{"id":82,"name":"Italia"},"cover_image_url":"https:\/\/images.musement.com\/cover\/0001\/24\/milan_event-23142.jpeg?event","url":"https:\/\/developers.musement.com\/es\/milan\/"},"saves":0,"title":"Off the beaten track in Piedmont - Monferrato Wine Tour","relevance":1,"relevance_venue":200,"max_confirmation_time":172800,"must_see":false,"last_chance":false,"top_seller":false,"temporary":false,"description":"Buy your Off the beaten track in Piedmont - Monferrato Wine Tour with Musement with our price match guarantee and secure booking. Get informed, plan and book your amazing activities in Milan.","about":"Leave the touristic, beaten track to explore the scenic wine region of Monferrato, in Piedmont.Meet your guide and driver at 9 AM and jump on your bus. You will travel a little south of River Po, in a landscape made of green, rolling hills. This area is famous for its elegant, excellent wines, such as \u201cBarbera del Monferrato\u201d, \u201cDolcetto di Ovada\u201d and \u201cBrachetto d\u2019Acqui\u201d. It's not all about wines, though! Discover the delicious \u201cAgnolotti\u201d (a kind of pocket pasta filled with minced meat and traditionally served as \u201cbroth\u201d with wine), \u201cBagna cauda\u201d (a special sauce made of salted anchovies, garlic and olive oil), \u201cSalame cotto\u201d (boiled salami), Montebore and Robiola di Roccaverano cheeses and many more local delicacies.You will reach Marenco estate in the village of Strevi at 10.30 AM. The history of the winery dates back to the early 1990s, when Michele and his son Giuseppe founded and later expanded the estate. They gradually acquired the best land in the region and chose the most typical grape varieties to grow. The business is now run by Michela, Patrizia, and Doretta, that show the same passion for the land of their father, Giuseppe. It is \u201cthe family dream\u201d, that they carry on with enthusiasm and dedication day after day. They personally supervise and control every step of the production process, all the way from grape to bottle. At Marenco estate, you will have a tour of their vineyards: take in the amazing views and learn about the history of the family and wine production of the area. Next is a wine tasting of 5 wines, including Cariasolo, made with Caricalasino, also known as white Barbera, a Piedmont grape that was almost lost to posterity; Strevi Moscato Passito DOC; Brachetto d'Acqui DOCG; and Albarossa, a variety of Piedmontese grape, a cross of Chatus (Nebbiolo Dronfield) and Barbera, discovered in 1938 by Professor Dalmasso of Turin, while he was searching for new varieties able to combine Nebbiolo\u2019s elegance and color with the freshness and drinkability of Barbera.You will then continue your journey to reach Ovada. Lunch will be served at 12.45 PM, in a typical country inn's restaurant. Here you will find heavy hams that seem to protect a small niche with checkered tablecloths. Menu will be made of local dishes with a hint of influence from Liguria, as this is a border land between the two regions. Enjoy the beautiful recipes, the quality ingredients and the friendliness and charm of this place. Do not miss the Agnolotti pasta cooked with wine!Continue your tour and reach the beautiful Rocco di Carpeneto winery. Let Lidia, winemaker, welcome you into this organic boutique winery. Lidia will lead you through the estate with her husband Paolo: learn about viticulture and natural wine production, visit the tiny, modern cellar and enjoy a tasting of 3 wonderful wines. After 20 years of living and working in Milan, Lidia and Paolo moved to the country and decided to produce natural wines. Lidia is very thorough when it comes to analyzing their wines, vines and soil: wines undergo spontaneous fermentation and they only contain the slightest amount of sulfites. Lidia and Paolo own about 5 hectares of vineyards and the majority grows Piedmont-native grapes (dolcetto, barbera, cortese, nebbiolo, albarossa).After the visit to the winery you be transferred back to Milan, where you will arrive by 6.45 PM.","duration":"PT9H30M","open":false,"ticket_not_included":false,"likely_to_sell_out":false,"special_offer":false,"exclusive":false,"daily":false,"languages":["en","it"],"group_size":[{"code":"group","name":"Grupo est\u00e1ndar"}],"food":[],"services":[],"features":["istant","free"],"highlights":["Discover the wine region of Monferrato, an off the beaten track area of Piedmont","Taste the authentic Piedmontese cuisine","Taste some authoctonous grapes, such as Dolcetto, Albarossa, Brachetto, Caricalasino, Cortese","Try organic, natural wines, made without chemical additives and man\u2019s manipulations"],"included":["Private, certified driver","2 private vineyard and cellar visits","Private wine tastings in 2 wineries (7 different wines)","5-course lunch with water, coffe & wine (1 bottle of wine for 2 guests, or equivalent)","Local taxes","Bottled water available on the bus","Assistance phone number available throughout your tour"],"not_included":["Everything not mentioned in the \"Included\" field"],"is_available_today":false,"is_available_tomorrow":false,"cover_image_url":"https:\/\/images.musement.com\/cover\/0001\/18\/off-the-beaten-track-in-piedmont-monferrato-wine-tour_event-17906.jpeg?event","retail_price":{"currency":"EUR","value":199,"formatted_value":"\u20ac 199.00"},"net_price":{"currency":"EUR","value":199,"formatted_value":"\u20ac 199.00"},"discount":0,"categories":[{"id":58,"name":"Degustaciones de Vino y Cerveza","level":"1","event_image_url":"https:\/\/images.musement.com\/cover\/0001\/08\/louvre-museum-by-night-semi-private-tour-art-and-wine-experience_event-7383.jpeg?event?event","cover_image_url":"https:\/\/images.musement.com\/cover\/0001\/08\/louvre-museum-by-night-semi-private-tour-art-and-wine-experience_event-7383.jpeg?event?event","url":"https:\/\/developers.musement.com\/es\/all\/degustaciones-de-vino-y-cerveza-c\/"},{"id":59,"name":"Tours Culinarios y de Bodegas","level":"1","event_image_url":"https:\/\/images.musement.com\/cover\/0001\/19\/bacaro-wine-tour-in-venice-ombre-and-cicchetti_event-18177.jpeg?event?event","cover_image_url":"https:\/\/images.musement.com\/cover\/0001\/19\/bacaro-wine-tour-in-venice-ombre-and-cicchetti_event-18177.jpeg?event?event","url":"https:\/\/developers.musement.com\/es\/all\/tours-culinarios-y-de-bodegas-c\/"}],"reviews_number":0,"reviews_avg":0,"latitude":45.463,"longitude":9.19,"url":"https:\/\/developers.musement.com\/es\/milan\/off-the-beaten-track-in-piedmont-monferrato-wine-tour-3838\/","flavours":[],"verticals":[{"id":3,"name":"Comida & bebidas","active":true,"code":"food-wine","slug":"comida-bebidas","section_title":"","cover_image_url":"https:\/\/images.musement.com\/vertical\/0001\/30\/food-wine-01-jpg_background-29025.jpeg?background","relevance":70}]}]
mfoti commented 8 years ago

Fixed, ty

phil-newman commented 8 years ago

Yeah this isn't fixed. please reopen.

phil-newman commented 8 years ago

ok now it works. thanks