Services regarding ticket distribution group level.
Search generated and distributed ticket distribution groups
Searches generated and distributed ticket distribution groups. Query parameters supports 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
idFilters by ticket distribution group ID
orderIdFilters by order ID
orderVersionFilters by order version
orderLineIdFilters by order line ID
orderOwnerCustomerIdFilters by field orderOwnerCustomerId on ticket distribution group. Field is a string with only numeric values.
distributionHolderCustomerIdFilters by field distributionHolderCustomerId on ticket distribution group. Field is a string with only numeric values.
organisationIdFilters by organisation if the user has correct privileges
ticketDistributionIdFilters by ticket distribution id
distributionStatusFilters by ticket distributions group containing a ticket distribution status matching specified query
mediaSerialNumberIdFilters by mediaSerialNumberId, id identifying the ecard
createdAtFilters by when ticket distributions were created
updatedAtFilters by when ticket distributions last were updated
startOfValidityFilters by field startOfValidity on ticket distributions. Must be timestamp string. Supports search in a range by specifying two timestamps each prefixed with an operator.
endOfValidityFilters by field endOfValidity on ticket distributions. Must be timestamp string. Supports search in a range by specifying two timestamps each prefixed with an operator.
customersFilters by customer 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
Accepts-LanguageA header used to select language
Current supported languages are 'nob', 'nno' and 'eng'
Search generated and distributed ticket distribution groups › Responses
OK
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
Distribute ticket distribution groups
Distribute a set of ticket distribution groups to NOD.
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
Entur-Distribution-ChannelA header containing a distribution channel reference
Distribute ticket distribution groups › Request Body
orderIdID of the order
orderVersionVersion of the order
deliverAfterThe earliest time it should be possible to pick up the ticket(s)
languageCodeDesired language. Makes display text appear in defined language - if available. Default: nob
qrChecksumTypeThe 'toughness' of the QR-code. If not specified the service will determine it automatically based on deliverAfter and startOfValidity
List of specific orderlineIds to distribute tickets for. If not specified, all tickets for the order will be distributed.
Distribute ticket distribution groups › Responses
OK
idorderIdorderLineIdorderVersionupdatedForOrderLineVersioncreatedByDCIorganisationIddistributedByDCIfulfillmentMethodThe fulfillment method given by the order line. Useful for determining which external ticketing system to retrieve validation data from. Possible values: NOD, ACCOUNT_BASED_TICKETING, INTERNATIONAL, BIFROST
distributedByOrgIdorderOwnerCustomerIdThe customerId of the customer that owns the order
distributionHolderCustomerIdThe customerId of the customer that will receive the ticket
Update the validity of ticket distribution groups
Update the validity of the ticket distribution groups, the endOfValidity is calculated automatically
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
Entur-Distribution-ChannelA header containing a distribution channel reference
Update the validity of ticket distribution groups › Request Body
Update the validity of ticket distribution groups › Responses
OK
Get specific ticket distribution group by its id
Get the ticket distribution group located at this path
path Parameters
ticketDistributionGroupIdticketDistributionGroupId
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
Accepts-LanguageA header used to select language
Current supported languages are 'nob', 'nno' and 'eng'
Get specific ticket distribution group by its id › Responses
OK
idorderIdorderLineIdorderVersionupdatedForOrderLineVersioncreatedByDCIorganisationIddistributedByDCIfulfillmentMethodThe fulfillment method given by the order line. Useful for determining which external ticketing system to retrieve validation data from. Possible values: NOD, ACCOUNT_BASED_TICKETING, INTERNATIONAL, BIFROST
distributedByOrgIdorderOwnerCustomerIdThe customerId of the customer that owns the order
distributionHolderCustomerIdThe customerId of the customer that will receive the ticket
Transfer the distribution holder for ticket distribution groups
Transfer the distribution holder for these ticket distribution groups to another customer
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
Entur-Distribution-ChannelA header containing a distribution channel reference
Transfer the distribution holder for ticket distribution groups › Responses
Distribute travel card tickets by order ID
Distribute a set of travel card tickets to NOD for pick-up based on an order ID.
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
Distribute travel card tickets by order ID › Request Body
activateActivate the product
paymentMeansTypeThe payment means type used to purchase the ticket
mediaSerialNumberIdThe media serial number (MSN) ID of the travel card
Distribute travel card tickets by order ID › Responses
OK
idorderIdorderLineIdorderVersionupdatedForOrderLineVersioncreatedByDCIorganisationIddistributedByDCIfulfillmentMethodThe fulfillment method given by the order line. Useful for determining which external ticketing system to retrieve validation data from. Possible values: NOD, ACCOUNT_BASED_TICKETING, INTERNATIONAL, BIFROST
distributedByOrgIdorderOwnerCustomerIdThe customerId of the customer that owns the order
distributionHolderCustomerIdThe customerId of the customer that will receive the ticket