This method will get the Organization control information based on the corp organization ID.
Parameters
appKey
A key identifying the application making the call
userKey
A key identifying the user making the call
corpOrgID
The corp organization ID
Return Values
An Organization Control data structure containing the following fields
OrgID
int
The corp organization ID
WebSalesURL
string
The root URL for the Agile Ticketing web sales application
ImageURL
string
The root URL for images stored at this corp organization
BasketTimeOut
byte
The number of minutes before expiring a transaction
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/xml/OrgControlGet?appkey={APPKEY}&userkey={USERKEY}&corporgid={CORPORGID}
Example JSON Response
{ "OrgID":2147483647, "WebSalesURL":"String content", "ImageURL":"String content", "BasketTimeOut":255 }
Example XML Response
<OrgControl xmlns="http://www.agiletix.com/api"> <OrgID>2147483647</OrgID> <WebSalesURL>String content</WebSalesURL> <ImageURL>String content</ImageURL> <BasketTimeOut>255</BasketTimeOut> </OrgControl>
Comments