Print a sale's tickets at the counter's printer
Prints the paid sale's sold tickets not printed yet, one page each and at most 20 at a time, at the printer of the counter the caller is signed in at, through the station bridge's `ticket` template, and answers DELIVERED, NOT_DELIVERED with the bridge's reason, or OUTCOME_UNKNOWN, with the template the document was sent to be drawn with. A ticket delivered or unknown prints again only through a reprint. A body naming `ticket_ids` prints those of the sale's tickets alone, as a reissue prints the ticket it issued, whatever the sale's other tickets. **Required permission:** `ticketing.sale:write`
/ticketing/v1/sales/{id}/ticket-printsPrints the paid sale's sold tickets not printed yet, one page each and at most 20 at a time, at the printer of the counter the caller is signed in at, through the station bridge's ticket template, and answers DELIVERED, NOT_DELIVERED with the bridge's reason, or OUTCOME_UNKNOWN, with the template the document was sent to be drawn with. A ticket delivered or unknown prints again only through a reprint. A body naming ticket_ids prints those of the sale's tickets alone, as a reissue prints the ticket it issued, whatever the sale's other tickets.
Required permission: ticketing.sale:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/sales/string/ticket-prints" \ -H "Content-Type: application/json" \ -d '{}'{ "outcome": "DELIVERED", "printer_place": "string", "reason": "string", "template": { "confirmed": true, "name": "string", "version": 0 }, "ticket_ids": [ "string" ]}Preview a sale's tickets
Returns, in Base64, the PDF the station bridge makes of the paid sale's ticket document for the printer of the caller's counter — the same layout a print sends, its QR a sample and its verification code masked — or of one ticket when `ticket` names it, with its page count and the template that drew it. Nothing is printed. **Required permission:** `ticketing.sale:read`
List the towns sellable on a day
Returns, by name, each town a departure of the day still sellable reaches after a station this deployment runs, with its names per locale — the towns a search by town can be asked for. **Required permission:** `ticketing.sale:read`