Entur Developer
Distances and zones

Export neighbour distances as NeTEx

GET
https://api.entur.io/distance
/netex/neighbour-distances

Returns all Neighbour Distances as a NeTEx export

Export neighbour distances as NeTEx › query Parameters

organisationId
​integer · int64 · required · style: form · explode: true

The internal ID of the organisation that owns the distances

time
​string · date-time · style: form · explode: true

The time at which the distances are active to export

Export neighbour distances as NeTEx › 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

Export neighbour distances as NeTEx › Responses

OK

No data returned

Export group of tariff zones by authority ref as NeTEx

GET
https://api.entur.io/distance
/netex/groups-of-tariff-zones

Redirects to the GCS bucket URL for groups of tariff zones for an organisation as a NeTEx export

Export group of tariff zones by authority ref as NeTEx › query Parameters

authorityRef
​string · style: form · explode: true

The authority reference of the organisation who owns the zones. Used as a replacement for internal organisation ID.

time
​string · date-time · style: form · explode: true

The time at which the zones are active to export

Export group of tariff zones by authority ref as NeTEx › 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

Export group of tariff zones by authority ref as NeTEx › Responses

Redirects to a GCS bucket URL containing the NeTEx XML export of fare zones for the given authority

No data returned

Export fare zones as NeTEx

GET
https://api.entur.io/distance
/netex/fare-zones

Redirects to the GCS bucket URL for all Fare Zones for an organisation as a NeTEx export. If no organisation is provided, returns all Fare Zones across all organisations. If no time is provided, returns the latest Fare Zones. If time is provided, returns the Fare Zones valid at that time.

Export fare zones as NeTEx › query Parameters

organisationId
​integer · int64 · style: form · explode: true

The internal ID of the organisation that owns the fare zones

time
​string · date-time · style: form · explode: true

The time at which the zones are active to export

Export fare zones as NeTEx › 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

Export fare zones as NeTEx › Responses

Redirects to a GCS bucket URL containing the NeTEx XML export of fare zones

No data returned

Export a single fare zone as NeTEx

GET
https://api.entur.io/distance
/netex/fare-zones/{netexId}

Redirects to the GCS bucket URL for all versions of a specific Fare Zone as a NeTEx export

Export a single fare zone as NeTEx › path Parameters

netexId
​string · required · style: simple

Netex ID of zone to export

Export a single fare zone as NeTEx › 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

Export a single fare zone as NeTEx › Responses

Redirects to a GCS bucket URL containing the NeTEx XML export of the specified fare zone

No data returned

Export fare zones by authority ref as NeTEx

GET
https://api.entur.io/distance
/netex/fare-zones/authority-ref

Redirects to the GCS bucket URL for all Fare Zones for an organisation as a NeTEx export

Export fare zones by authority ref as NeTEx › query Parameters

organisationAuthorityRef
​string · required · style: form · explode: true

The authority reference of the organisation who owns the zones. Used as a replacement for internal organisation ID.

time
​string · date-time · style: form · explode: true

The time at which the zones are active to export

Export fare zones by authority ref as NeTEx › 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

Export fare zones by authority ref as NeTEx › Responses

Redirects to a GCS bucket URL containing the NeTEx XML export of fare zones for the given authority

No data returned

Did you find what you were looking for?