Venue ID API: Venue Methods: approve

Purpose

This method allows an authenticated admin user to approve a venue that has a pending status. Once approved, the venue will become 'active' rather than 'pending'. The submitting user will get an email notification unless they have disabled notifications in their preferences.

This method verifies that the status modification was successful, so it should not be necessary to use other methods to perform verification.

URLs

Live: http://api.ives.info/rest/venues/approve

Input

Required Arguments
user_email For authentication
user_password For authentication
venue_id Venue ID code

Sample Request
http://api.ives.info/rest/venues/approve?user_email=user@domain.com&user_password=fak3passw0rd&venue_id=http://ives.info/gb/4d5rr

Output

Errors will be returned in the form of an error document.

Sample XML Output
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <message>Venue 'http://ives.info/gb/4d5rr' approved</message>
</response>