View site in English, Español, or Français
The fair-trade ticketing company.
Sign Me Up!  |  Log In
 
Find An Event Create Your Event Help
 
Brown Paper Tickets API v1.0 - Add Date
Back
URL: https://www.brownpapertickets.com/api/adddate.html
 
Description: This portal is used to add dates to an event. This portal must be used immediately after creating a new event and before using the Add Price portal. It may also be used to add dates to already existing events. When used for this second purpose, it can be considered an "Update Event" portal.
 
Inputs:
l - Login name for your Brown Paper Tickets account.
 
p - Password for your Brown Paper Tickets account.
 
e_number - Brown Paper Tickets' unique event tracking number. The event's e_number is returned when creating a new event and can also be found using the Event List feed.
 
begin_time - This is the start date and time for the date. This should be in the format "MON-DD-YYYY 24:00".
 
end_time - This is the end date and time for the date. This should be in the format "MON-DD-YYYY 24:00".
 
sales_end - This is the day and time at which sales will end for this date. This should be in the format "MON-DD-YYYY 24:00". It is recommended that sales end no more than 24 hours and no less than 2 hours before the event's begin_time.
 
max_sales - This is the quantity of tickets available for this date. Use 0 for unlimited sales.
 
Optional
physical - Toggles the availability of physical shipped tickets. Values may be "t" or "f". Defaults to "t". (Optional)
 
pos - Toggles the availability of physical point-of-sale tickets. Values may be "t" or "f". Defaults to "t". (Optional)
 
willcall - Toggles the availability of willcall tickets. Values may be "t" or "f". Defaults to "t". (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 - Unknown error while fetching event info from DB
 
3333 - Event does not belong to user
 
4444 - Event can no longer be updated
 
9999 - Unknown error while posting info to DB
 
0000:E_NUMBER:DATE_ID - Success. Includes the event's e_number, the unique event tracking ID provided to each event, followed by the date's date_id, the unique tracking ID provided to each date.
Contact us
Email
support@brownpapertickets.com
24/7 Customer Service
1-800-838-3006 US, Canada, Puerto Rico
Resources
Developer Center
Media Center
Ticket Buyers
Track Your Order
Browse Events
Locations
Event Producers
Create an Event
Pricing
Services
Buy Pre-Printed Tickets
The Venue List
Join the mailing list
Get spam-free daily notifications of new events in your neighborhood!
Customize your mailing list
Connect with us
Use of Brown Paper Tickets is subject to our Terms & Conditions. All rights reserved. © 2011-2012 Mobile EN ES FR