Entur Developer
Products

interchangings

Server

Retrieves all interchangings for a given fare frame

GET
https://api.entur.io/products
/interchangings

Retrieves all interchangings for a given fare frame › query Parameters

orgId
​string · style: form · explode: true
fareFrameId
​string · style: form · explode: true

The unique id to identify a dataset for an organization

languageCode
​string · style: form · explode: true

Retrieves all interchangings for a given fare frame › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

If-None-Match
​string · style: simple

Used 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 interchangings for a given fare frame › Responses

Returns the info

changed
​string · date-time · required

Changed datetime.

created
​string · date-time · required

Created datetime.

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:Interchanging:Trondelag
modification
​string · enum · required

Modification status.

Enum values:
NEW
REVISE
DELETE
Example: NEW
nameOfClass
​string · required

Name of class.

Example: Interchanging
status
​string · enum · required

Status

Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Version.

Example: NSB:Version:V1
compatibleWithVersionRef
​string

Compatible with version.

derivedFromVersionRef
​string

Derived from version.

​TextInLanguage[]

Description.

fromMode
​string · enum

Vehicle fromMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
maximumNumberOfChanges
​integer · int32

MaximumNumberOfChanges.

maximumTimeToMakeATransfer
​string

MaximumTimeToMakeATransfer

​TextInLanguage[]

Name.

toMode
​string · enum

Vehicle toMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
​VersionOfObjectRef

Fare frame ref.


Create an interchanging

POST
https://api.entur.io/products
/interchangings

Create an interchanging › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

Create an interchanging › Request Body

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:Interchanging:Trondelag
​TextInLanguage[] · required

Name.

​TextInLanguage[]

Description.

fromMode
​string · enum

Vehicle fromMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
maximumNumberOfChanges
​integer · int32

MaximumNumberOfChanges.

maximumTimeToMakeATransfer
​string

MaximumTimeToMakeATransfer

toMode
​string · enum

Vehicle toMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
​VersionOfObjectRef

Fare frame ref.

version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z…

Version.

Example: NSB:Version:V1

Create an interchanging › Responses

Returns the info


Retrieves an interchanging by id and version

GET
https://api.entur.io/products
/interchangings/{id}/{version}

Retrieves an interchanging by id and version › path Parameters

id
​string · pattern: ^([A-Z]{3}):([A-Za-z… · required · style: simple

The unique id to identify a interchanging

version
​string · pattern: ^([A-Z]{3}):([A-Za-z… · required · style: simple

The id for the version of the interchanging

Retrieves an interchanging by id and version › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

Accept-Language
​string · style: simple

The language code from ISO-639-3

If-None-Match
​string · style: simple

Used 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 an interchanging by id and version › Responses

Returns the interchanging

changed
​string · date-time · required

Changed datetime.

created
​string · date-time · required

Created datetime.

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:Interchanging:Trondelag
modification
​string · enum · required

Modification status.

Enum values:
NEW
REVISE
DELETE
Example: NEW
nameOfClass
​string · required

Name of class.

Example: Interchanging
status
​string · enum · required

Status

Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Version.

Example: NSB:Version:V1
compatibleWithVersionRef
​string

Compatible with version.

derivedFromVersionRef
​string

Derived from version.

​TextInLanguage[]

Description.

fromMode
​string · enum

Vehicle fromMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
maximumNumberOfChanges
​integer · int32

MaximumNumberOfChanges.

maximumTimeToMakeATransfer
​string

MaximumTimeToMakeATransfer

​TextInLanguage[]

Name.

toMode
​string · enum

Vehicle toMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
​VersionOfObjectRef

Fare frame ref.


Update an interchanging

PUT
https://api.entur.io/products
/interchangings/{id}/{version}

Update an interchanging › path Parameters

id
​string · pattern: ^([A-Z]{3}):([A-Za-z… · required · style: simple

The unique id to identify a interchanging

version
​string · pattern: ^([A-Z]{3}):([A-Za-z… · required · style: simple

The id for the version of the interchanging

Update an interchanging › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

Update an interchanging › Request Body

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:Interchanging:Trondelag
​TextInLanguage[] · required

Name.

​TextInLanguage[]

Description.

fromMode
​string · enum

Vehicle fromMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
maximumNumberOfChanges
​integer · int32

MaximumNumberOfChanges.

maximumTimeToMakeATransfer
​string

MaximumTimeToMakeATransfer

toMode
​string · enum

Vehicle toMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
​VersionOfObjectRef

Fare frame ref.

version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z…

Version.

Example: NSB:Version:V1

Update an interchanging › Responses

Entity updated successfully

No data returned

Retrieves an interchanging by id

GET
https://api.entur.io/products
/v1/interchangings/{id}

Retrieves an interchanging by id › path Parameters

id
​string · pattern: ^([A-Z]{3}):([A-Za-z… · required · style: simple

The unique id to identify a group ticket

Retrieves an interchanging by id › query Parameters

startDate
​string · style: form · explode: true
endDate
​string · style: form · explode: true
status
​string · style: form · explode: true

The version status of the interchaning

fromDate
​string · style: form · explode: true

The from date of the interchaning version

toDate
​string · style: form · explode: true

The to date of the interchaning version

Retrieves an interchanging by id › Headers

ET-Client-Name
​string · style: simple

Entur 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-Id
​string · style: simple

Correlation id

Accept-Language
​string · style: simple

The language code from ISO-639-3

If-None-Match
​string · style: simple

Used 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 an interchanging by id › Responses

Returns interchaning

changed
​string · date-time · required

Changed datetime.

created
​string · date-time · required

Created datetime.

​VersionOfObjectRef · required

Fare frame ref.

id
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Id.

Example: NSB:Interchanging:Trondelag
modification
​string · enum · required

Modification status.

Enum values:
NEW
REVISE
DELETE
Example: NEW
nameOfClass
​string · required

Name of class.

Example: Interchanging
status
​string · enum · required

Status

Enum values:
DRAFT
PROPOSED
VERSIONED
DEPRECATED
Example: DRAFT
version
​string · minLength: 1 · pattern: ^([A-Z]{3}):([A-Za-z… · required

Version.

Example: NSB:Version:V1
compatibleWithVersionRef
​string

Compatible with version.

derivedFromVersionRef
​string

Derived from version.

​TextInLanguage[]

Description.

fromMode
​string · enum

Vehicle fromMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
maximumNumberOfChanges
​integer · int32

MaximumNumberOfChanges.

maximumTimeToMakeATransfer
​string

MaximumTimeToMakeATransfer

​TextInLanguage[]

Name.

toMode
​string · enum

Vehicle toMode.

Enum values:
AIR
BUS
CABLE_WAY
WATER
FUNICULAR
LIFT
RAIL
METRO
​VersionOfObjectRef

Fare frame ref.


Did you find what you were looking for?