Entur Developer
Partner
REST
Pricing

LocalizedString

​object[]
lang
​string · pattern: ^[a-z]{2}-[A-Z]{2}$ · required

BCP-47 language tag (e.g., 'nb-NO', 'en-GB').

Example: nb-NO
value
​string · required

The localized string value for the specified lang.

Example: Sykkel

ValidBetween

The validity period of a version, modelled on NeTEx `ValidBetween`. Both dates are inclusive: the version is valid from the start of `fromDate` up to and including the whole of `toDate`. This follows NeTEx, where `ToDate` is documented as inclusive ([netex_validityCondition_version.xsd](https://github.com/NeTEx-CEN/NeTEx/blob/37ff1e453596c79650a96160ab6d6b6448ee1883/xsd/netex_framework/netex_responsibility/netex_validityCondition_version.xsd#L434-L438)), and the Nordic NeTEx profile examples, which give the last valid day as `ToDate` (e.g. `2018-12-31T23:59:59`, [fares-penalty.xml](https://github.com/entur/profile-examples/blob/7b7c717c758e32a44f141308673b485dd221a232/netex/fares-sales/fares-penalty.xml#L22-L23)). The dates are calendar dates; NeTEx uses `xsd:dateTime`, so `toDate` corresponds to the end of that day in a NeTEx export.
fromDate
​string · date · required

First day the version is valid.

Example: 2026-08-01
toDate
​string · date

Last day the version is valid (inclusive). Absent for an open-ended version. Must not be before fromDate.

Example: 2026-12-31

VersionStatus

string · enum
Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT

FarePriceType

string · enum
Enum values:
FlatPrice

Discriminator for a fare table price cell. Only the flat FlatPrice (a fixed amount with no selectors, NeTEx FarePrice) is implemented today; DistanceMatrixElementPrice and GeographicalIntervalPrice will be added as sibling types when the price model is extended beyond flat prices.

Example: FlatPrice

FarePriceEntry

A single NeTEx-typed price, held as a cell of the fare table. Each price is an explicit NeTEx price object identified by its `type` (the NeTEx class). Only the flat `FlatPrice` is implemented today: a fixed amount with no origin/destination, interval or passenger-type selectors. The richer NeTEx price types — `DistanceMatrixElementPrice` for an origin/destination pair, `GeographicalIntervalPrice` for a counted interval, each optionally carrying a `LimitingRule` for discounts and caps — will be added as sibling `type`s when the model is extended, so clients can already branch on `type`.
type
​FarePriceType · enum · required

Discriminator for a fare table price cell. Only the flat FlatPrice (a fixed amount with no selectors, NeTEx FarePrice) is implemented today; DistanceMatrixElementPrice and GeographicalIntervalPrice will be added as sibling types when the price model is extended beyond flat prices.

Enum values:
FlatPrice
Example: FlatPrice
amount
​string · pattern: ^[0-9]+(\.[0-9]+)?$ · required

The price in the major unit of this entry's currency, as a decimal string (for example "49.00"). The number of decimals must not exceed what that currency allows — 2 for NOK and EUR, 0 for JPY, 3 for KWD.

Example: 49.00
currency
​string · pattern: ^[A-Z]{3}$ · required

ISO 4217 currency code for this individual price, per NeTEx FarePrice.Currency. Required: the flat amount cannot be interpreted without knowing its currency (the number of decimals depends on it). Different entries in the same fare table may declare different currencies.

Example: NOK

FareTableRequest

​ValidBetween · required

The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive: the version is valid from the start of fromDate up to and including the whole of toDate. This follows NeTEx, where ToDate is documented as inclusive (netex_validityCondition_version.xsd), and the Nordic NeTEx profile examples, which give the last valid day as ToDate (e.g. 2018-12-31T23:59:59, fares-penalty.xml). The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of that day in a NeTEx export.

status
​string · enum · required

Status of the fare table version. Required; on create only DRAFT or PROPOSED is accepted — a new version cannot be published directly.

  • DRAFT - Under construction and not ready for operational use.
  • PROPOSED - Complete but pending review and approval.
  • VERSIONED - Finalized and frozen; a new version must be created for further modifications. Remains authoritative for its validity period even after expiry.
  • DEPRECATED - Explicitly withdrawn and should not be used; indicates an active decision to retract, not a natural expiry.
Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
​FarePriceEntry[] · minItems: 1 · required

The prices in this table. Each entry must be uniquely identified by its selector combination, so a flat price with no passenger-type differentiation is a single selector-less entry. Each entry carries its own optional currency, per NeTEx.

ownerOrganisationId
​integer · int64 · min: 1

Internal id of the organisation that owns this element. Omit it to use the organisation in the access token, which is what a caller acting for itself should do. Supplying a different organisation requires permission to act on behalf of that organisation.

Example: 1
​object[]
​object[]

FareTableResponse

id
​string · pattern: ^([A-Z]{3}):FareTabl… · required

NeTEx id of the fare table.

Example: ENT:FareTable:bike-supplement
versionId
​string · pattern: ^([A-Z]{3}):Version:… · required

NeTEx id of this fare table version.

Example: ENT:Version:8f1b2c3d
ownerOrganisationId
​integer · int64 · required

Internal id of the organisation that owns this fare table.

Example: 1
​ValidBetween · required

The validity period of a version, modelled on NeTEx ValidBetween. Both dates are inclusive: the version is valid from the start of fromDate up to and including the whole of toDate. This follows NeTEx, where ToDate is documented as inclusive (netex_validityCondition_version.xsd), and the Nordic NeTEx profile examples, which give the last valid day as ToDate (e.g. 2018-12-31T23:59:59, fares-penalty.xml). The dates are calendar dates; NeTEx uses xsd:dateTime, so toDate corresponds to the end of that day in a NeTEx export.

status
​string · enum · required

Status of the fare table version.

  • DRAFT - Under construction and not ready for operational use.
  • PROPOSED - Complete but pending review and approval.
  • VERSIONED - Finalized and frozen; a new version must be created for further modifications. Remains authoritative for its validity period even after expiry.
  • DEPRECATED - Explicitly withdrawn and should not be used; indicates an active decision to retract, not a natural expiry.
Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
​FarePriceEntry[] · required

The prices in this table. Each entry echoes its own currency, per NeTEx FarePrice.Currency.

​object[]
​object[]
pricesFor
​string[] · readOnly

NeTEx ids of the priceable objects (e.g. supplement products) this fare table prices — NeTEx FareTable.pricesFor.

The FareTable → PriceableObject link is deliberately loose: a versioned fare table prices a priceable object by netex id only, never pinned to a specific priceable object version. Version resolution happens later, when the product tree is built.

Default: []

ProblemDetails

RFC 9457 Problem Details
type
​string · uri · required

A URI reference that identifies the problem type.

Example: https://developer.entur.org/errors/bad-request
title
​string · required

Short, human-readable summary of the problem type.

Example: Bad Request
status
​integer · int32 · required

The HTTP status code.

Example: 400
detail
​string · required

Human-readable explanation specific to this occurrence.

Example: The supplied ruleId is not a valid UUID.
instance
​string · uri-reference

A URI reference that identifies the specific occurrence, i.e. the request path.

Example: /v3/supplement-products/ENT:SupplementProduct:123
Did you find what you were looking for?