Retrieves all round trips
query Parameters
orgIdThe unique id to identify a organisation
fareFrameIdThe unique id to identify dataset to an organization
languageCodeThe language code from ISO-639-3
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
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.
Retrieves all round trips › Responses
Returns the info
Create a roundtrip
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 roundtrip › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId
Round trip Name represented in different languages. Language codes are ISO-639.
version^([A-Z]{3}):([A-Za-z… · requiredRound trip version.
shortTripShort trip
isRequiredIs required.
Fare frame ref.
doubleSingleFareDouble single fare
Fare prices for the round trip.
requiredtripTypeType of round trip
Description represented in different languages. Language codes are ISO-639.
References to fare tables that provide prices or discounts for the round trip.
Fare frame ref.
Validity conditions for the round trip.
typeOfUsageParametertypeOfUsageParameter.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Create a roundtrip › Responses
Entity created successfully
Retrives a roundtrip by id
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a roundtrip
query Parameters
versionThe id for the version of the roundtrip
languageCodeThe language code from ISO-639-3
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
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 roundtrip 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… · requiredRoundTrip version.
shortTripShort trip
isRequiredIs required.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
doubleSingleFareDouble single fare
RoundTrip Name represented in different languages. Language codes are ISO-639.
Fare prices for the round trip.
requiredtripTypeType of round trip
Description represented in different languages. Language codes are ISO-639.
References to fare tables that provide prices or discounts for the round trip.
Fare frame ref.
Validity conditions for the round trip.
typeOfUsageParametertypeOfUsageParameter.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Retrieves a round trips by id
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a round trips
query Parameters
startDateendDatestatusThe version status of the round trips
fromDateThe from date of the round trips version
toDateThe to date of the round tripss 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.
Retrieves a round trips 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… · requiredRoundTrip version.
shortTripShort trip
isRequiredIs required.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
doubleSingleFareDouble single fare
RoundTrip Name represented in different languages. Language codes are ISO-639.
Fare prices for the round trip.
requiredtripTypeType of round trip
Description represented in different languages. Language codes are ISO-639.
References to fare tables that provide prices or discounts for the round trip.
Fare frame ref.
Validity conditions for the round trip.
typeOfUsageParametertypeOfUsageParameter.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Retrives a roundtrip by id and version
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a roundtrip
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the roundtrip
query Parameters
languageCodeThe language code from ISO-639-3
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
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 roundtrip by id and version › Responses
Returns the info
id^([A-Z]{3}):([A-Za-z… · requiredId.
statusStatus
changedChanged datetime.
createdCreated datetime.
version^([A-Z]{3}):([A-Za-z… · requiredRoundTrip version.
shortTripShort trip
isRequiredIs required.
nameOfClassName of class.
Fare frame ref.
modificationModification status.
doubleSingleFareDouble single fare
RoundTrip Name represented in different languages. Language codes are ISO-639.
Fare prices for the round trip.
requiredtripTypeType of round trip
Description represented in different languages. Language codes are ISO-639.
References to fare tables that provide prices or discounts for the round trip.
Fare frame ref.
Validity conditions for the round trip.
typeOfUsageParametertypeOfUsageParameter.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Update a round trips
path Parameters
id^([A-Z]{3}):([A-Za-z… · required · style: simpleThe unique id to identify a roundtrip
version^([A-Z]{3}):([A-Za-z… · required · style: simpleThe id for the version of the roundtrip
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
Update a round trips › Request Body
id^([A-Z]{3}):([A-Za-z… · requiredId
Round trip Name represented in different languages. Language codes are ISO-639.
version^([A-Z]{3}):([A-Za-z… · requiredRound trip version.
shortTripShort trip
isRequiredIs required.
Fare frame ref.
doubleSingleFareDouble single fare
Fare prices for the round trip.
requiredtripTypeType of round trip
Description represented in different languages. Language codes are ISO-639.
References to fare tables that provide prices or discounts for the round trip.
Fare frame ref.
Validity conditions for the round trip.
typeOfUsageParametertypeOfUsageParameter.
derivedFromVersionRefDerived from version.
compatibleWithVersionRefCompatible with version.
Update a round trips › Responses
Entity updated successfully