Create a tariff
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>.
X-Correlation-IdCorrelation id
Create a tariff › Request Body
Fare frame ref.
id^([A-Z]{3}):([A-Za-z… · requiredId
Tariff Name represented in different languages. Language codes are ISO-639.
Fare frame ref.
version^([A-Z]{3}):([A-Za-z… · requiredTariff version.
derivedFromVersionRefDerived from version.
Description represented in different languages. Language codes are ISO-639.
returnFareTwiceSinglereturnFareTwiceSingle
tariffBasisTariffBasis.
Create a tariff › Responses
Entity created successfully
Retrives a tariff by id
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a tariff
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the tariff
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>.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from ISO-639-3
If-None-MatchUsed to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.
Retrives a tariff by id › Responses
Returns the info
changedChanged datetime.
createdCreated datetime.
Fare frame ref.
id^([A-Z]{3}):([A-Za-z… · requiredId.
modificationModification status.
nameOfClassName of class.
statusStatus
version^([A-Z]{3}):([A-Za-z… · requiredTariffs version.
compatibleWithVersionRefCompatible with version.
derivedFromVersionRefDerived from version.
Description represented in different languages. Language codes are ISO-639.
Tariff Name represented in different languages. Language codes are ISO-639.
organisationIdOrganisation related to the userProfile
returnFareTwiceSinglereturnFareTwiceSingle
tariffBasisTariffBasis.
Fare frame ref.
Retrives a tariff by id
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a tariff
query Parameters
startDateendDatestatusThe version status of the tariff
fromDateThe from date of the tariffs version
toDateThe to date of the tariffs version
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>.
X-Correlation-IdCorrelation id
Accept-LanguageThe language code from ISO-639-3
If-None-MatchUsed to make conditional requests. It allows the client to provide an ETag value, and the server will process the request only if the ETag does not match the current version of the resource.
Retrives a tariff by id › Responses
Returns the info
changedChanged datetime.
createdCreated datetime.
Fare frame ref.
id^([A-Z]{3}):([A-Za-z… · requiredId.
modificationModification status.
nameOfClassName of class.
statusStatus
version^([A-Z]{3}):([A-Za-z… · requiredTariffs version.
compatibleWithVersionRefCompatible with version.
derivedFromVersionRefDerived from version.
Description represented in different languages. Language codes are ISO-639.
Tariff Name represented in different languages. Language codes are ISO-639.
organisationIdOrganisation related to the userProfile
returnFareTwiceSinglereturnFareTwiceSingle
tariffBasisTariffBasis.
Fare frame ref.