Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Env

OAuth2 token URI

OAuth2 audience / Base URI

Dev

https://partner.dev.entur.org/oauth/token

https://api.dev.entur.io

TestStaging

https://partner.staging.entur.org/oauth/token

https://api.staging.entur.io

Prod

https://partner.entur.org/oauth/token

https://api.entur.io

...

It provides the same feature as a manual upload from the Operator Portal application.

The examples below uses use parameters for the production environment, use the table above to adapt them for the development and test staging environments.

Endpoint URI

https://api.entur.io/timetable-admin/v1/timetable/upload/{codespace}

Parameter

{codespace}: lowercase codespace attributed to the data provider. Examples: rut, sky, vyg, …

Payload

An HTTP multipart body containing the NeTEx zip archive

Response

Empty

Response code

"200": OK - the dataset has been received successfully (this is only a technical acknowledgement, before applying any validation rule. The dataset may be rejected further down in the validation pipeline)
"401": Unauthorized - the authorization token is missing or has expired.
"403": Forbidden - the authorization token is present, but it does not provide sufficient privileges to perform the operation.
"404": Not Found - most likely a typo in the request URL.
"500": Internal Server Error - a processing error on Entur's side.

...