The fair-trade ticketing company.
English | Español | Français
Find an Event! Create an Event! FAQ
 
Brown Paper Tickets API v1.0 - Modify Sub Account Tool Assignments
Back
URL: https://www.brownpapertickets.com/api/subaccounttools.html
 
Description: This portal is used to change sub account tool assignments.
 
Inputs:
l - Login name for your Brown Paper Tickets account.
 
p - Password for your Brown Paper Tickets account.
 
subaccount_login - Unique identifier of sub account.
 
Optional
current_printer - This is the account currently assigned printer. (Optional)
 
auth_printerlist - This is a listing of printers which can be assigned to this sub account. (Optional)
 
$tool_id - The name of the variable should be the tool_id. The value of the variable should be "self" or "parent". For example, to allow the use of tool #100001 as the parent account, you would send "100001=parent". (Optional)
Outputs: Returns a plain text 4-character result code and additional information when available. Follows the format: "Code:xxxx:Additional Information:" where "xxxx" is the result code. The possible 4 character codes are listed below.

1111 - Required variables are missing
 
2222 - Invalid sub account id.
 
3333 - Invalid printer id
 
4444 - Invalid login
 
9999 - Unknown error while posting info to DB
 
0000 - Success