Follow

API Method - Inventory Group List

This will return a list of Inventory Groups 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
Return Values
A list of Inventory Group data structures with the following fields
ID
 
int
The ID of the Inventory Group
DisplayChar
 
string
The special display character for this group
Name
 
string
The name of the Inventory Group
Default
 
bool
Indicates if this is the default Inventory Group
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/sales.svc/json/InventoryGroupList?appkey={APPKEY}&userkey={USERKEY}&corporgid={CORPORGID}
Example JSON Response
JSON Response Here
[{
	"ID":2147483647,
	"DisplayChar":"String content",
	"Name":"String content",
	"Default":true
}]
Example XML Response
<ArrayOfInventoryGroup xmlns="http://www.agiletix.com/api">
  <InventoryGroup>
    <ID>2147483647</ID>
    <DisplayChar>String content</DisplayChar>
    <Name>String content</Name>
    <Default>true</Default>
  </InventoryGroup>
  <InventoryGroup>
    <ID>2147483647</ID>
    <DisplayChar>String content</DisplayChar>
    <Name>String content</Name>
    <Default>true</Default>
  </InventoryGroup>
</ArrayOfInventoryGroup>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments