Follow

API Method - List Orgs

This method will get a list of the corp orgs that a user can select for scanning operations.

Parameters
appKey
 
string
A key identifying the application making the call
userKey
 
string
A key identifying the user making the call
corpOrgID
 
int
The org id of the user
Return Values
A list of scanning organization data structures with the following fields
OrgID
 
int
The ID of the organization
OrgGUID
 
string
The GUID of the organization
Name
 
string
The name of the organization
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
RequiredParameter
 
1028
Required parameter is missing
Example Request
https://prod1.agileticketing.net/GateControl.svc/xml/ListOrgs?appkey={APPKEY}&userkey={USERKEY}&corporgid={CORPORGID}
Example XML Response
<ArrayOfOrganization xmlns="http://www.agiletix.com/api">
  <Organization>
    <OrgID>2147483647</OrgID>
    <OrgGUID>String content</OrgGUID>
    <Name>String content</Name>
  </Organization>
  <Organization>
    <OrgID>2147483647</OrgID>
    <OrgGUID>String content</OrgGUID>
    <Name>String content</Name>
  </Organization>
</ArrayOfOrganization>
Example JSON Response
[{
	"OrgID":2147483647,
	"OrgGUID":"String content",
	"Name":"String content"
}]
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments