-
Notifications
You must be signed in to change notification settings - Fork 0
CT Local Eatout Fetch Collection List
SoumyaSian edited this page Nov 25, 2017
·
6 revisions
fetch_eatout_collections
KEY | DESCRIPTION |
---|---|
CITY_NAME | Name of city |
{
"city_name":"$CITY_NAME"
}
KEY | DESCRIPTION |
---|---|
IMAGE | URL path of the image (Image can be obtained by prefixing "http://ui.cltpstatic.com/" or "http://apistaging.cleartrip.com/" as base url) |
COUNT | Number of eatouts available for the collections |
COLLECTION_NAME | Name of the collection of eatouts |
COLLECTION_ID | Cleartrip ID for a collection |
CITY_ID | Cleartrip ID for a city |
[
{
"image": "$IMAGE",
"count": $COUNT,
"collection_name": "$COLLECTION_NAME",
"collection_id": $COLLECTION_ID,
"city_id": $CITY_ID
},
...
]
Some error messages, you might get for an invalid search request. The HTTP response code in this case will be 400.
Status | Error message | Description |
---|---|---|
400 | Please specify the city | City is missing. |