Creating transfers

This API creates the specified predefined transfers.

Each transfer is composed of the following elements:

Property

Type

Description

id

String

Mandatory. It contains the unique identifier of all transfers provided in the JSON object. The id must be set by the user.

from_route_id

String

Mandatory. It contains a valid identifier of a line, as specified in the model.

from_public_stop_id

String

Mandatory. It contains a valid identifier of a public stop, as specified in the model.

to_public_stop_id

String

Mandatory. It contains a valid identifier of a public stop, as specified in the model.

to_route_id

String

Mandatory. It contains a valid identifier of a line, as specified in the model.

min_transfer_time

Integer

It contains the minimum transfer time, measured in seconds. This property coincides with tmin in → Transfer alert service.

threshold

Integer

It contains the minimum transfer time, measured in seconds, to raise an alert.

If you need additional details, see → Transfer alert service.

Authentication phase

Before using the endpoint, you must run the authentication phase (→ Login).

After the authentication, a session opens and a valid session token persists until: