Entur Developer
Partner
REST
Timetable Delivery Status

ProblemDetail

RFC 9457 problem details, carried by the error responses that declare it. Those are the errors of the progress operation; the status operation was published before this format and answers its own errors in its own way. Neither `type` nor `instance` is carried. Both must be absolute URIs, and neither would say anything the status code and the request do not: no problem type is minted for these failures, and the only resource a request can concern is the one its own path names.
title
​string · required

The HTTP reason phrase of the status code.

Example: Not Found
status
​integer · int32 · required

The HTTP status code, repeated in the body.

Example: 404
detail
​string

What went wrong on this particular request. Absent when there is nothing to add to the status code. It repeats back only what the caller already sent — never the codespace, which the progress operation resolves from the stored events rather than from the request.

Example: Correlation id not found

DataDeliveryStatus

state
​string · enum
Enum values:
IN_PROGRESS
FAILED
OK
date
​string · date-time
fileName
​string

ImportProgress

Per-stage progress of one timetable data delivery.
codespace
​string · required

Codespace of the data provider that owns the delivery. Resolved from the correlation id; it is not supplied by the caller.

Example: RUT
correlationId
​string · required

The correlation id from the request path.

Example: 9f3c1b2e-7a44-4f10-9c1d-2b8e5a6f0d13
​ImportProgressStage[] · required

One element per pipeline stage observed for this delivery, ordered by the stage's earliest recorded event.

ImportProgressStage

The latest known state of one pipeline stage.
stage
​string · enum · required

The pipeline stage. IMPORT, VALIDATION_LEVEL_1, VALIDATION_LEVEL_2 and DATASPACE_TRANSFER are steps of the legacy import path and will disappear when it is retired.

Enum values:
FILE_TRANSFER
FILE_CLASSIFICATION
PREVALIDATION
IMPORT
VALIDATION_LEVEL_1
VALIDATION_LEVEL_2
DATASPACE_TRANSFER
LINKING
status
​string · enum · required

FAILED covers a stage that reported an error, one that never came back, and one that was called off before it could run — for example an import step on a provider that does not have automatic import enabled. An errorCode is present only in the first case. A delivery containing any such stage is also reported as FAILED by the status endpoint.

Enum values:
PENDING
IN_PROGRESS
COMPLETED
FAILED
startedAt
​string | null · date-time

When the stage started. Not every step reports a start of its own, and one that does not falls back to the time it finished. Null only while the stage is still PENDING.

completedAt
​string | null · date-time

When the stage reached its final state. Null while the stage is unfinished.

errorCode
​string | null

Why the stage failed. Null unless status is FAILED, and null on a FAILED stage that never reported a reason — a failed validation is always one of those, because what was wrong with the data is answered by the validation report for the same correlation id rather than by a code here. Deliberately not an enumeration: new codes are added upstream and are additive.

Example: NO_JOURNEYS_IN_NETEX_DATASET
Did you find what you were looking for?