GET /api/v2/sessions/getLocations
Returns the halls and stands (conference locations) available for sessions within a given event.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
GET /api/v2/sessions/getLocations
Query Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Yes |
The ID of the event to retrieve session locations for |
Response Format
Success Response (HTTP 200)
The halls key is present only when there are conference halls for the event. The stands key is present only when there are conference stands within those halls. Either or both keys may be absent if no matching records exist.
Hall Object
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The hall ID |
Stand Object
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The stand ID |
|
|
integer |
The ID of the hall this stand belongs to |
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
|
|
|
400 |
|
|
|
403 |
Missing or invalid API key |
|
Example Request
curl -X GET "https://your-event-domain.com/api/v2/sessions/getLocations?event_id=7" \
-H "Authorization: Bearer your_api_key_here"