Venue ID API: Venue Methods: get_pending

Purpose

This method allows an admin user to get the details of a pending venue. Use get to get the details of an active venue.

In addition to the venue details, a list of up to 20 other nearest venues will be returned. This is to help the user quickly determine whether this venue is a duplicate of another venue already on the system, in which case it should be deleted (using delete) instead of being approved (using approve).

The user must supply a valid venue_id.

URLs

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

Input

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

Sample Request
http://api.ives.info/rest/venues/get_pending?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"?>
<venue id="http://ives.info/gb/4d5rr"
  <venue_name>Electric Ballroom</venue_name>
  <alt_names></alt_names>
  <previous_names></previous_names>
  <address>184 Camden High Street</address1>
  <town>London</town>
  <region></region>
  <country_code>GB</country>
  <postal_code>NW1 8QP</postcode>
  <latitude>51.5397</latitude>
  <longitude>-0.143</longitude>
  <submit_user>user@domain.com</submit_user>
  <nearest_venues>
    <venue id="http://ives.info/gb/8gjgk">
      <venue_name>Dublin Castle</venue_name>
      <latitude>51.6847</latitude>
      <longitude>-0.123</longitude>
      <distance>0.0001</distance>
    </venue>
    <venue id="http://ives.info/gb/fh578">
      <venue_name>Edinboro Castle</venue_name>
      <latitude>51.7834</latitude>
      <longitude>-0.121</longitude>
      <distance>0.0001</distance>
    </venue>
  </nearest_venues>
</venue>