Basic Usage
Returns a paginated list of all accounts set up by the Administrator under "Account Setup" service. The accounts are returned in alphabetical order based on the name of the account. Most organizations only have one account set up under their organization.
GET https://api.bigtickets.com/v1/accounts
GET https://api.bigtickets.com/v1/accounts?expand=venue
GET https://api.bigtickets.com/v1/accounts?filter=Atlanta
GET https://api.bigtickets.com/v1/accounts?expand=venue&filter=Atlanta
Query parameters limit and start_on_page can also be used as defined in Pagination.
An Example
curl https://api.bigtickets.com/v1/accounts?expand=venue -u aSecretKey:
{
"next_page_starts_on": 2,
"items": [
{
"id": "1",
"key": "V0xiVnZZY2cwMHZqTlluMVVHVVBCQT09",
"name": "Atlanta Productions, Inc",
"isVenue": false
},
{
"id": "2",
"key": "ajl3WUk3NFZpT3ZiVXFZem5wRk9yZz09",
"name": "The Dallas Comedy Venue",
"isVenue": true,
"venueName":"Dallas Station Comedy Club",
"venueState":"TX",
"venueAddress1":"1399 Comedy St NW",
"venueAddress2":"",
"venueZip":"75001",
"venuePhone":""
}
]
}
-
Additional venue information will not exist if
isVenueisfalse.
Query Parameters
-
filter (optional)
Thefilterquery param is used to filter the accounts based on the account name (case insensitive). The filter value entered is treated as a wildcard search. -
expand (optional)
Theexpandquery param is a comma delimited list used to retrieve additional data. Currently the only value supported isvenue.
Query parameters limit and start_on_page can also be used as defined in Pagination.