Add new venue
Adds a new venue to the Findevent database.
Arguments:
- auth or (user, pass)
This method requires authentication.See authentication.
- vnam
The venue name.
- str
The venue street address.
- city
The venue city.
- state
The venue state or province.
- ctry
The venue country.
- zip (option)
The venue zip or postal code.
- phon (option)
The venue phone.
- url (option)
The venue website.
Example Request URL:
http://www.findevent.com/api/rq/See authentication
&fuc=addvnu
&vnam=Air Canada Centre
&str=40 Bay Street
&city=Toronto
&state=Ontario
&ctry=Canada
&zip=M5J 2X2
&phon=416 815-5500
&url=www.theaircanadacentre.com
&fuc=addvnu
&vnam=Air Canada Centre
&str=40 Bay Street
&city=Toronto
&state=Ontario
&ctry=Canada
&zip=M5J 2X2
&phon=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>
<venue_id>3617</venue_id>
<message>Venue has been added</message>
</response>
<response>
<venue_id>3617</venue_id>
<message>Venue has been added</message>
</response>
Possible Errors:
- vnam empty (Missing name)
- str empty (Missing street address)
- city empty (Missing city)
- state empty (State missing.)
- ctry empty (Missing country)