API Method /venues/modify
Modifies an existing venue.
Arguments
- authentication
- This method requires user authentication.
- id string
- The venue ID to modify.
- name string
- The displayed name for this venue. (optional)
- address string
- The street address of the venue. (optional)
- city string
- The city name. (optional)
- region string
- The name of the region (state, province, county) (optional)
- postal_code string
- The postal code or ZIP code. (optional)
- country string
- The name of the country.
- description string
- The venue description. (optional)
- privacy integer
- The privacy setting for this venue. (1 = public, 2 = private, 3 = semi-private) (optional)
- venue_type string
- The type of venue (e.g. Cinema, Arena). See the new venue page for a current list of options.
- parent_id string
- The ID of this venue's parent venue. (optional)
-
-
Example Request
Here's an example request URL:
http://api.evdb.com/rest/venues/modify?...&id=V0-001-000113112-0&postal_code=92093
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- idstring
- The ID of this event.
- messagestring
- Modify event complete
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<id>V0-001-000113112-0</id>
<message>Modify venue complete</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
- A mandatory parameter was not set.
- Invalid Parent
- The specified parent venue_id was not found.
-
- Not found
- There is no venue with that identifier.