...
Env | OAuth2 token URI | OAuth2 audience / Base URI |
---|---|---|
Dev |
|
|
TestStaging |
|
|
Prod |
|
|
...
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) |
...