Follow

Legacy API Method - Tickets Add

This method will add the requested tickets to an order.
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
eventOrgID
 
int
The event level organization ID
orderID
 
long
The order ID
transactionID
 
long
The transaction ID
eventID
 
long
The event ID
tierID
 
long
The tier ID for the prices being requested
ticketTypes
 
string
A comma separated list of ticket types for the ticket request
quantities
 
string
A comma separated list of quantities for the ticket request
promoCodes
 
string
 
optional
A comma separated list of promo codes for the ticket request
variableAmounts
 
string
 
optional
A comma separated list of variable dollar amounts for the ticket request (Only needed for prices that allow customer to specify dollar amount)
inventoryGroupID
 
int
 
optional
The inventory group ID to access non-default or restricted inventory
Return Values
A bool status message
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
InvalidTicketRequest
 
1032
Invalid ticket request
OrderTransactionInvalid
 
1031
Order/Transaction information is invalid
TransactionExpired
 
1035
Transaction expired
TransactionClosed
 
1036
Transaction closed
InvalidTicketQtyRequest
 
1033
Invalid ticket quantities
InvalidPromoCode
 
1034
Invalid promo code
AutoAssignFailed
 
1037
The tickets could not be auto assigned
CompAutoAssignFailed
 
1038
The extra comp policy tickets could not be auto assigned
ItemNotOnSale
 
1041
The requested event is not currently on sale
Example Request
https://prod1.agileticketing.net/sales.svc/json/TicketsAdd?appkey={APPKEY}&userkey={USERKEY}&corporgid={CORPORGID}&eventorgid={EVENTORGID}&orderid={ORDERID}&transactionid={TRANSACTIONID}&eventid={EVENTID}&tierid={TIERID}&tickettypes={TICKETTYPES}&quantities={QUANTITIES}&promocodes={PROMOCODES}&variableAmounts={VARIABLEAMOUNTS}&
Example JSON Response
true
Example XML Response
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments