Add Ticket Endpoint
An existing Tixstock broker creates a listing on a broker website, or the broker wishes to upload the Broker’s inventory to Tixstock. The Add Ticket Endpoint should be used to create the listings on Tixstock.
Endpoint URL
https://api.tixstock.com/tickets/add
Authorisation
Authorisation | Description |
---|---|
Basic Auth | A valid Basic auth must be provided within the Authorizarion as a username and password for the API request. To generate an access token, please see your API settings from within the Tixstock Broker Admin Area. |
Please see 'Authentication - Basic Auth' for further information
Request Data
The supplied data must adhere to the following ruleset:
The User ID and Team ID must be supplied. Otherwise, an error will be outputted
Parameter | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
team_id * | A valid Team ID must be supplied Type: Integer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user_id * | A valid User ID must be supplied Type: Integer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
section_location | The Section Location for the listing Type: String |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
post_data * |
|
API Response:
Please note, the example shown below displays no base64 PDF file and venue details empty. This data would be returned in a real api response.
{
{
"data": [],
"meta": {
"mode": "Sandbox",
"auth_token": "dGl4c3RvY2s6c2RoaXNkbmpvOTBr",
"ip": "127.0.0.1"
},
"message": "Job dispatched"
}
}