headout / api-docs

Documentation for Headout's public API
16 stars 5 forks source link

City List Issue #8

Closed Jayesh26121988 closed 6 years ago

Jayesh26121988 commented 6 years ago

Give me APi format or an example for get CityList

kunal15595 commented 6 years ago

Hi Jayesh Currently, there is no API for listing cities. We'll be adding this very soon (within a week), after which you can find the details in the api docs

Jayesh26121988 commented 6 years ago

Thank you for your reply.

So, How can we go ahead with this API?

kunal15595 commented 6 years ago

The API covers 3 broad topics:

  1. Product
  2. Inventory
  3. Booking You can find these here - https://github.com/headout/api-docs#apis
kunal15595 commented 6 years ago

Hi Jayesh We have added city-listing, category-listing & category-product-listing APIs. Please find the details in the docs.

Jayesh26121988 commented 6 years ago

Hi Krunal

I check api but its not working pls give me example how can i get city list.

Jayesh26121988 commented 6 years ago

citylist

kunal15595 commented 6 years ago

This is the correct URL - https://www.headout.com/api/public/v1/city?offset=0&limit=30 query params are to be separated by & and not ,

Jayesh26121988 commented 6 years ago

ok done thank you krunal

kunal15595 commented 6 years ago

Resolved. closing.

Jayesh26121988 commented 5 years ago

Hi Kunal

How to get product option price this api.

https://www.headout.com/api/v1/product/get/1866

In response I don't get product option price.

This are the options. 1)Burj Khalifa + Dubai Fountain Boardwalk 2)Sunrise + Pastry & Coffee at The Café 3)General Admission 4)Burj Khalifa + Pastry & Coffee at The Café 5)Burj Khalifa + Dubai Aquarium & Underwater Zoo 6)Burj Khalifa Fast Track Access 7)Burj Khalifa At the Top Sky (Level 124, 125 & 148)

FYR.Attach Json Response for this activity

headout response.txt

Jayesh26121988 commented 5 years ago

Hi Kunal

Headout supplier, when i search record. In api can i passed fromdate,noofadult,noofchild wise get perperson price.

https://www.headout.com/api/v1/product/listing/list-by/city?cityCode=LONDON&currencyCode=AED&fromdate='13/07/2018 12:00:00 AM'&todate='19/07/2018 12:00:00 AM'

Jayesh26121988 commented 5 years ago

minimumprice variants

in Response i got 3 options.how to get options price.

Jayesh26121988 commented 5 years ago

https://www.headout.com/api/v1/product/get/3353

in this api can i get aed currency price

https://www.headout.com/api/v1/product/get/3353?currencyCode=AED

I passed but it's gives GBP currency format.

"currency": { "code": "GBP",