Online Booking
Book Event
Changed onpost/activity/{location_id}/{event_id}/book
Request
- Base URLhttps://api.alteg.io/api/v1
- URLhttps://api.alteg.io/api/v1/activity/{location_id}/{event_id}/book
- AuthHTTP bearer
Path parameters
location_idnumber required
location ID
event_idinteger required
Event ID
Headers
Acceptstring required
e.g. application/vnd.api.v2+json
Content-Typestring required
application/json
Request body */*
Example request
{
"fullname": "James Smith",
"phone": "+13155550175",
"email": "j.smith@example.com",
"national_id": "950315300129",
"code": 0,
"comment": "",
"notify_by_sms": 0,
"notify_by_email": 0,
"type": "mobile"
}Response
OK
Example response
{
"success": true,
"data": {
"id": 28417878,
"hash": "9e6a54a1a9b118b65cc39ab6f3c3b5b4"
},
"meta": []
}Changes
- info
added the new optional request property
- info