Services for generating and sending pdf tickets.
Search generated and distributed ticket PDFs
Searches generated and distributed ticket PDFs. Query parameters support operators eq, ne, gt, gte, lt, lte, in, and nin. Defaults to eq if no operator is given. At least one search parameter is required.
query Parameters
idPDF ticket id
orderIdFilters by order ID
orderLineIdFilters by order line ID
organisationIdFilters by organisation if the user has correct privileges
ticketDistributionIdFilters by ticket distribution id
pageSelects a specific page in the collection
perPageSpecifies the number of entries returned in a page. Maximum allowed value is 100.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Search generated and distributed ticket PDFs › Responses
OK
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
Create PDF
Creates or gets PDFs with valid tickets. Returns PDFs with qr codes. If a PDF is not created, but found, then the language parameter is irrelevant. PDFs can later be sent by email.
path Parameters
orderIdorderId
Headers
Entur-PosA header containing a point-of-sale reference
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Create PDF › Request Body
pdfLanguageDesired language. Makes display text appear in defined language - if available. Default: nob
orderVersionDesired version of the order that is going to be distributed as a pdf-ticket. Default: 1
Array of names and ticketDistributionIds of travellers. These names will overwrite existing traveller names on the ticket if the order line does not include any entitlements.
orderLineIdsList of orderLineIds to include in the pdf-ticket. If unspecified, all order lines for the given order version will be included.
shouldGroupTravellersFlag to indicate that PDF tickets are grouped together for travellers with the same journey.
Create PDF › Responses
OK
pdf^(?:[A-Za-z0-9+/]{4}… · requiredorderIddeleteAtorderLineIdorderVersioncombinedTicketorderLineVersionticketDistributionIdidorganisationIdSend PDF
Sends an email containing PDFs with valid tickets
path Parameters
orderIdorderId
Headers
Entur-PosA header containing a point-of-sale reference
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Send PDF › Request Body
pdfLanguageDesired language. Makes display text appear in defined language - if available. Default: nob
orderVersionDesired version of the order that is going to be distributed as a pdf-ticket. Default: 1
emailEmail-address for the receiver of pdf-ticket
Array of names and ticketDistributionIds of travellers. These names will overwrite existing traveller names on the ticket if the order line does not include any entitlements.
orderLineIdsList of orderLineIds to include in the pdf-ticket. If unspecified, all order lines for the given order version will be included.
shouldGroupTravellersFlag to indicate that PDF tickets are grouped together for travellers with the same journey.
Send PDF › Responses
OK
Deprecated. Please use /v1/pdf-tickets/{orderId}
Creates or gets PDFs with valid tickets. Returns PDFs with qr codes. If a PDF is not created, but found, then the language parameter is irrelevant. PDFs can later be sent by email.
path Parameters
orderIdorderId
Headers
Entur-PosA header containing a point-of-sale reference
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Deprecated. Please use /v1/pdf-tickets/{orderId} › Request Body
pdfLanguageDesired language. Makes display text appear in defined language - if available. Default: nob
orderVersionDesired version of the order that is going to be distributed as a pdf-ticket. Default: 1
Array of names and ticketDistributionIds of travellers. These names will overwrite existing traveller names on the ticket if the order line does not include any entitlements.
orderLineIdsList of orderLineIds to include in the pdf-ticket. If unspecified, all order lines for the given order version will be included.
shouldGroupTravellersFlag to indicate that PDF tickets are grouped together for travellers with the same journey.
Deprecated. Please use /v1/pdf-tickets/{orderId} › Responses
OK
pdf^(?:[A-Za-z0-9+/]{4}… · requiredorderIddeleteAtorderLineIdorderVersioncombinedTicketorderLineVersionticketDistributionIdidorganisationId