Follow

API Method - Membership List Access

This method will list the membership programs that have access to the membership required BuyerType.  If the optional buyerTypeID parameter is not provided then all membership programs that have access to a web BuyerType will be listed.
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
buyerTypeID
 
int
 
optional
The buyer type ID
Return Values
A list of membership program data structures with the following fields
MembershipID
 
int
The membership program ID
Name
 
string
The name of the membership
OrgID
 
int
The membership level organization ID
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/MembershipListAccess?appkey={APPKEY}&usekey={USERKEY}&corporgid={CORPORGID}&buyertypeid={BUYERTYPEID}
Example JSON Response
[{
	"MembershipID":2147483647,
	"Name":"String content",
	"OrgID":2147483647
}]
Example XML Response
<ArrayOfMembership xmlns="http://www.agiletix.com/api">
  <Membership>
    <MembershipID>2147483647</MembershipID>
    <Name>String content</Name>
    <OrgID>2147483647</OrgID>
  </Membership>
  <Membership>
    <MembershipID>2147483647</MembershipID>
    <Name>String content</Name>
    <OrgID>2147483647</OrgID>
  </Membership>
</ArrayOfMembership>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments