API Method: /api/live/registration/add
Add a new registration for a live event.
Parameters
Parameter | Description |
---|---|
live_id (required) | The ID of the live event to register for. |
user_id | ID of a registered user or visitor, if applicable.|
name | Name|
phone | Phone number|
email_or_phone | E-mail address or phone, with appropriate auto-detection of whether the value is mail or phone.|
ip_address | IP address of the person registering.|
calendar_p | Mark the registration as having been added to the person's calendar.
Permission level
The minimum required permission level is:
read
Example XML Response
<response status="ok" permission_level="write"
message="The live registration was added" cached="0">
<live_registration_id>123</live_registration_id>
<live_id>456</live_id>
</reponse>
Example JSON Response
{
"status": "ok",
"message":"The live registration was added",
"liveregistration":{live_registration_id: 123, live_id: 456},
"permission_level":"write",
"cached":"0",
"p": "1",
"size": "1",
"site": { ...},
"endpoint": "/api/live/registration/add"
}