Follow

API Method - Venue List

This will return a list of venues that the given user is allowed to see.
Parameters
appKey
 
string
A key identifying the application making the call
userKey
 
string
A key identifying the user making the call
corpOrgID
 
int
The corp organization id under which the venues exist
venueOrgID
 
int
 
optional
The lower level folder/organization id under which the venues exist
Return Values
A list of venue data structures with the following fields
ID
 
int
The ID of the Venue
OrgID
 
int
The organization id that the venue is under
Name
 
string
The name of the venue
InternalName
 
string
The internal name of the venue
ShortName
 
string
A short name for the venue
Address1
 
string
The street address of the venue
Address2
 
string
Additional venue street address if needed.
City
 
string
The city of the venue
State
 
string
The state of the venue (Specified as two letter state representation)
Zip
 
string
The zipcode of the venue
Errors
ApplicationKeyMissing
 
1000
Required parameter appkey is missing or invalid
UserCredentialsMissing
 
1001
Required user credentials are missing or invalid
SecurityInsufficient
 
1002
User security does not permit access to the requested function
Example Request
https://prod1.agileticketing.net/api/admin.svc/json/VenueList?appkey={APPKEY}&userkey={USERKEY}&corporgid={CORPORGID}&venueorgid={VENUEORGID}
Example JSON Response
JSON Response Here
[{
	"ID":2147483647,
	"OrgID":2147483647,
	"Name":"String content",
	"InternalName":"String content",
	"ShortName":"String content",
	"Address1":"String content",
	"Address2":"String content",
	"City":"String content",
	"State":"String content",
	"Zip":"String content"
}]
Example XML Response
<ArrayOfVenue xmlns="http://www.agiletix.com/api">
  <Venue>
    <ID>2147483647</ID>
    <OrgID>2147483647</OrgID>
    <Name>String content</Name>
    <InternalName>String content</InternalName>
    <ShortName>String content</ShortName>
    <Address1>String content</Address1>
    <Address2>String content</Address2>
    <City>String content</City>
    <State>String content</State>
    <Zip>String content</Zip>
  </Venue>
  <Venue>
    <ID>2147483647</ID>
    <OrgID>2147483647</OrgID>
    <Name>String content</Name>
    <InternalName>String content</InternalName>
    <ShortName>String content</ShortName>
    <Address1>String content</Address1>
    <Address2>String content</Address2>
    <City>String content</City>
    <State>String content</State>
    <Zip>String content</Zip>
  </Venue>
</ArrayOfVenue>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments