Venue
Create new venue
POST https://api.bealder.com/v2/region
POST Parameters
Name |
Type |
Require |
Description |
name |
String |
true |
Name of venue |
address |
String |
true |
Address |
active |
boolean |
true |
1 if venue is active or 0 |
with |
integer |
|
with (meter) |
height |
integer |
|
height (meter) |
image |
String |
|
map of venues |
Name |
Description |
x-bealder-key |
Your email |
x-bealder-token |
Your token |
Example
CURL -X POST https://api.bealder.com/v2/venue
-H "content-Type:application/json"
-H "x-bealder-key:example@bealder.com"
-H "x-bealder-token:20f586ec4b244e00a81d00bca91b7d7f"
-d '{
"name":"NewVenue",
"address":"23 Av Albert Einstein 69100 Villeurbanne",
"width":200,
"height":200,
"map":"https:\/\/img.bealder.com\/img\/\/259169-Selection_Niveau3_SET_2.PNG",
"active":true
}'
Edit venue
PUT https://api.bealder.com/v2/region/{id}
GET Parameters
Name |
Require |
Description |
id |
true |
id of venue |
PUT Parameters
Name |
Type |
Require |
Description |
name |
String |
true |
Name of venue |
address |
String |
true |
Address |
active |
boolean |
true |
1 if venue is active or 0 |
with |
integer |
|
with (meter) |
height |
integer |
|
height (meter) |
image |
String |
|
map of venues |
Name |
Description |
x-bealder-key |
Your email |
x-bealder-token |
Your token |
Get all venues
GET https://api.bealder.com/v2/region
Name |
Description |
x-bealder-key |
Your email |
x-bealder-token |
Your token |
Get one venue
GET https://api.bealder.com/v2/region/{id}
GET Parameters
Name |
Require |
Description |
id |
true |
id of venue |
Name |
Description |
x-bealder-key |
Your email |
x-bealder-token |
Your token |
Delete venue
DELETE https://api.bealder.com/v2/region/{id}
Name |
Description |
x-bealder-key |
Your email |
x-bealder-token |
Your token |
To get your token, go to authentication.