Skip to content

EventsHIgh Event Details API

Akshay Tiwari edited this page Jan 15, 2018 · 3 revisions

1.2 Fetch Events Details

Intent

event_details

Request Params Description

KEYWORD DESCRIPTION
CITY city name to get list of events
EVENT_ID EventsHigh Id for the event

Payload

{
  	"city" : "$CITY",
	"event_id": "$EVENT_ID"
}

Response Params Description

KEY DESCRIPTION
EVENT_ID EventsHigh ID for an event
CITY Event City
DESCRIPTION Description of the event
TITLE Event Title
BANNER_IMAGE Primary Event Image URL
EVENT_URL URL gives complete details about the event
UPCOMING_OCCURENCE List of all upcoming occurrences for the event
UPCOMING_OCCURENCE.OCCURRENCE_ID Events High Id for the upcoming occurrence
UPCOMING_OCCURENCE.START_DATE Start date of an upcoming occurrence of the event with time
UPCOMING_OCCURENCE.END_DATE End date an upcoming occurrence of the event with time
UPCOMING_OCCURENCE.TIME_ZONE Name of the time zone
VENUE_NAME Venue name of the event
VENUE_ADDRESS Venue address of the event
LATITUDE Latitude of the location
LONGITUDE Longitude of the location
MIN_TICKET_PRICE Minimum ticket price of the event
MAX_TICKET_PRICE Maximun ticket price of the event

Response Body

{
    "event_id": "$EVENT_ID",
    "city": "$CITY",
    "description": "$DESCRIPTION",
    "title": "$TITLE",
    "bannerImage": "$BANNER_IMAGE",
    "eventUrl": "$EVENT_URL",
    "upcoming_occurrences": [
        {
            "occurrence_id": $OCCURRENCE_ID,
            "startDate": "$START_DATE",
            "endDate": "$END_DATE",
            "timezone": "$TIME_ZONE"
        }
    ],
    "venueName": "$VENUE_NAME",
    "venueAddress": "$VENUE_DETAILS",
    "latitude": $LATITUDE,
    "longitude": $LONGITUDE,
    "minTicketPrice": $MIN_TICKET_PRICE,
    "maxTicketPrice": $MAX_TICKET_PRICE
}

Error messages

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.
401 Please specify the event Id event_id is missing.
402 Event not available event_id doesn't exist.
Clone this wiki locally