API Method /events/performers/add
This function adds a performer to an event.
Arguments
- authentication
- This method requires user authentication.
- id string
- The event ID.
- performer_id string
- The performer ID. (See /performers/new to create a performer and retrieve the ID.)
Example Request
Here's an example URL:
http://api.evdb.com/rest/events/performers/add?...&id=E0-001-000001237-8&performer_id=P0-001-000000567-9
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- messagestring
- Performer added successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Performer added successfully.</message>
</response>
Error Codes
This method may return these errors in an error document:
- Authentication error
- The specified user was not found or provided invalid credentials.
- Missing parameter
- The 'id' and 'performer_id' parameters are mandatory.
- Not found
- There is no event (or performer) with that identifier.