Add pre-generated Barcodes to Ticket Type
POST/ticket/:guid/barcodes
Add new Barcodes to a Ticket Type, when a Ticket Type uses pre-generated Barcodes (i.e. the barcode_type
of the Ticket Type is "pre").
Request
Path Parameters
The guid of the Ticket Type.
- application/json
Body
array
Input data, example input: '["XXXXX100","XXXXX101", "XXXXX102"]'
Array [
]
string
Responses
- 200
- 404
- 406
The Barcodes of the Ticket Type, including preexisting Barcodes.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The guid of the Ticket Type to which this TicketNumber applies to.
The barcode.
The time it was created, i.e. when the barcode was inserted.
The time it was used, i.e. when it was attached to a Ticket Type.
[
{
"ticket_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ticket_number": "string",
"created_at": "2023-08-01T14:40:24+00:00",
"used_at": "2023-08-01T14:40:24+00:00"
}
]
Ticket Type not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
The Barcode is not of type "pre" or request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}