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> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Create a tariff › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId
Tariff Name represented in different languages. Language codes are ISO-639.
version^([A-Z]{3}):([A-Za-z… · requiredTariff version.
Fare frame ref.
Fare frame ref.
Description represented in different languages. Language codes are ISO-639.
tariffBasisTariffBasis.
derivedFromVersionRefDerived from version.
returnFareTwiceSinglereturnFareTwiceSingle
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
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> for companies, and <personal name>-<application> for individuals.
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
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredTariffs version.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
Tariff Name represented in different languages. Language codes are ISO-639.
Description represented in different languages. Language codes are ISO-639.
tariffBasisTariffBasis.
organisationIdOrganisation related to the userProfile
Fare frame ref.
derivedFromVersionRefDerived from version.
returnFareTwiceSinglereturnFareTwiceSingle
compatibleWithVersionRefCompatible with version.
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> for companies, and <personal name>-<application> for individuals.
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
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredTariffs version.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
Tariff Name represented in different languages. Language codes are ISO-639.
Description represented in different languages. Language codes are ISO-639.
tariffBasisTariffBasis.
organisationIdOrganisation related to the userProfile
Fare frame ref.
derivedFromVersionRefDerived from version.
returnFareTwiceSinglereturnFareTwiceSingle
compatibleWithVersionRefCompatible with version.