POST /api/v2/floorplan/setHall
Creates a new hall for an event, or updates an existing one.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
POST /api/v2/floorplan/setHall
Content-Type: multipart/form-data
Create vs Update
-
Create: Omit
id(or pass0).event_idandnameare required -
Update: Pass the
idof the existing hall. Other fields are optional
Body Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Required for update |
ID of the hall to update |
|
|
integer |
Required on create |
The event the new hall belongs to |
|
|
string |
Required on create |
Hall name (unique within the event venue) |
|
|
string or file |
No |
Floor plan image — URL string or file upload ( |
|
|
boolean |
No |
Marks the hall as conference-eligible |
|
|
boolean |
No |
Marks the hall as a check-in zone |
Hall flags explained
|
Flag |
Effect |
|---|---|
|
|
Halls with this flag appear in |
|
|
Marks the hall as a check-in zone |
Example Request — Create
curl -X POST "https://your-event-domain.com/api/v2/floorplan/setHall" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "name=Hall A" \
-F "is_conference=false"
Example Request — Update
curl -X POST "https://your-event-domain.com/api/v2/floorplan/setHall" \
-H "Authorization: Bearer your_api_key_here" \
-F "id=9" \
-F "name=Hall A — Updated" \
-F "is_conference=true"