Add new venue
Adds a new venue to the Findevent database.
Arguments:
- auth or (user, password)
This method requires authentication.See authentication.
- name
The venue name.
- street
The venue street address.
- city
The venue city.
- country
The venue country.
- state (option)
The venue state or province.
- zip (option)
The venue zip or postal code.
- phone (option)
The venue phone.
- url (option)
The venue website.
Example Request URL:
http://www.findevent.com/api/request/See authentication
&function=add_venue
&name=Air Canada Centre
&street=40 Bay Street
&city=Toronto
&country=Canada
&zip=M5J 2X2
&phone=416 815-5500
&url=www.theaircanadacentre.com
&function=add_venue
&name=Air Canada Centre
&street=40 Bay Street
&city=Toronto
&country=Canada
&zip=M5J 2X2
&phone=416 815-5500
&url=www.theaircanadacentre.com
Response Parameters:
Response is a regular XML block.
- id
ID of a newly added venue.
- message
Venue has been added.
Example Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<id>3617</id>
<message>Venue has been added</message>
</response>
<response>
<id>3617</id>
<message>Venue has been added</message>
</response>
Possible Errors:
- name empty (Missing name)
- street empty (Missing street address)
- city empty (Missing city)
- country empty (Missing country)
