Schemas
Leg
modeTravel mode for Leg.
subModeThe transport sub mode (e.g., localBus or expressBus) used when traversing this leg. Null if leg is not a ride
arrivalTimedepartureTimeserviceJourneyReflegIddatedServiceJourneyRefSeat
idseatNumberrailcarNumberexternalSeatIdProperties of a seat. They describe both physical and logical properties of a seat.Physical properties are for example position of the seat.Logical properties describe properties that the operator use when selling the seat. For example fare class.
seatCodeDeprecated. Better use the more flexible types in seatingProperties which mirrors the properties from seating manager.
seatTypeDeprecated. Better use the more flexible types in seatingProperties which mirrors the properties from seating manager.
Group
idA collection of all the different user profiles in the group.
nameversiondescriptionuserProfilesDeprecated in favour of new type userProfileSummary.
Parking
SubMode
The transport sub mode (e.g., localBus or expressBus) used when traversing this leg. Null if leg is not a ride
ApiError
patherrortitleShort, human-readable summary of the problem
statusmessageexceptiontimestampCustomer
idThe internal id of the customer
customerIdThe id of the customer in the external system
FareZone
idnameTopology
distancezoneTypeReference to fare zone with display name. Will eventually replace tariff zones.
toStopPlaceReference to fare zone with display name. Will eventually replace tariff zones.
fromStopPlacetoStopPlaceExttoStopPlaceNamefromStopPlaceExtfromStopPlaceNamedatedServiceJourneyReftoTariffZonefromTariffZonetoTariffZoneExttoTariffZoneNamefromTariffZoneExtfromTariffZoneNamePdfTicket
pdf^(?:[A-Za-z0-9+/]{4}… · requiredorderIddeleteAtorderLineIdorderVersioncombinedTicketorderLineVersionticketDistributionIdidorganisationIdDistribution
fareContractRefReference to an account-based-ticketing farecontract
customerAccountRefReference to an account-based-ticketing customer account
LanguageCode
Desired language. Makes display text appear in defined language - if available. Default: nob
EmailAttachment
contentfilenamemimeTypedispositionPageOfPdfTicket
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
PaymentMeansType
The payment means type used to purchase the ticket
ValidableElement
legIdslist of legIds that belong to this validableElement
elementIdThe elementId as found on the validableElement. NOTE: This is NOT the same as validableElementRef.id
GroupOfTariffZone
idnameSupplementProduct
Parking data for a PARKING supplement product.
supplementTypeType to indicate if for instance the product is some kind of passenger or just a seat allocation. Mirrors the supplement types defined in NeTEx and configured on supplement products in Entur Product catalog.
datedServiceJourneyRefsTicketDistribution
idprovidernetworkIdtariffCodeticketTypepurchaseDateendOfValiditycombinedTicketloyaltyProgramproductTemplatestartOfValidityticketWithZonesorderLineVersiondistributionStatusdurationcreatedAtupdatedAtarrivalTimedeliverAfterusageTriggerdepartureTimemaxTravellersfareContractIdfullAreaValiditytravelDocumentIdcancellationReasonreason for cancellation of the ticket distribution, Possible values: TRANSFERRED, DEVIATION, SEAT_CHANGED, VALIDITY_UPDATED
mediaSerialNumberIdTicketPdfTraveller
nameFull names of the traveller
ticketDistributionIdTicketDistributionIds for this traveller
UserProfileInGroup
countThe number of travellers with given user profile.
userProfileIdReference to the product register.
nameDisplay name of user profile for requested language. Defaults to norwegian name.
userProfileVersionDistributionDetails
clientSecretorderGroupIdfareContractRefReference to an account-based-ticketing farecontract
distributedAsPdfIs set to true if distributed as a PDF by ticket-distribution
customerAccountRefReference to an account-based-ticketing customer account
TicketPdfSendRequest
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.
FailedValidityUpdates
errorMessageticketDistributionGroupIdUpdateValidityRequest
startOfValidityFormat is DateTime. It is also possible to send in the keyword NOW to set the startOfValidity to the current time calculated by ticket-distribution
ticketDistributionIdticketDistributionGroupIdelementIdIf set, startOfValidity will only be updated for this elementId. If not, startOfValidity will be updated for entire TicketDistribution
TicketPdfCreateRequest
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.
TicketDistributionGroup
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
TicketTravelCardRequest
activateActivate the product
paymentMeansTypeThe payment means type used to purchase the ticket
mediaSerialNumberIdThe media serial number (MSN) ID of the travel card
UpdateValiditiesRequest
TicketDistributionStatus
UpdateValiditiesResponse
TicketDistributionSummary
orderIdThe orderId of the ticket distribution summary
List of distinct summaries of all ticket distributions of the ticket distribution groups for a given orderId. At least one of the fields in a distribution is non-null.
OrderLineDistributionRequest
orderLineIdID of the order line
deliverAfterThe earliest time it should be possible to pick up the ticket. If specified then it will override the value from the parent
startOfValidityThe time when the ticket for this order line should become active. Will be specified by order data if not overridden here.
PageOfTicketDistributionGroup
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
TicketDistributionGroupTransfer
toCustomerIdThe customerId of the customer that will receive the ticket
ticketDistributionGroupIdThe id of the ticket distribution group to transfer to another customer
toCustomerAccountRefReference to an account-based-ticketing customer account
TransferDistributionHolderRequest
TransferDistributionHolderResponse
FailedTicketDistributionGroupTransfer
errorMessageThe error message that explains why the transfer failed
ticketDistributionGroupIdThe ticketDistributionGroupId of the ticket distribution group that failed to be transferred to another customer
TicketDistributionGroupDistributeRequest
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.