The fair-trade ticketing company.
English | Español | Français
Find an Event! Create an Event! FAQ
 
Brown Paper Tickets API v2.0 - Add Date
Back
URL: https://www.brownpapertickets.com/api2/adddate
 
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:
id - Developer ID - Available from your Account Settings page.
 
account - Client Login Name - This account must be associated with your Developer Account.
 
event_id - Brown Paper Tickets' unique event tracking number. The event's event_id 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 (aka "Open Ticket Network") 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 REST-Compliant XML feed containing the following variables:

resultcode
    300038 - Required variables are missing
 
    300039 - Unknown error while fetching event info from DB
 
    300040 - Event does not belong to user
 
    300041 - Unable to add date
 
    0000 - Success.
 
date_id - The unique tracking number for this date. The date_id must be used when adding prices to this date.