Getting the lines that pass a stop
This API returns all the lines that pass a specific stop.
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:
- The end of the session time-out, that is set through the parameter sessionTimeout (→ OptimaWSI configuration > OptimaAuth section).
- An explicit Logout call (→ Logout).

Request
GET
https://<OPTIMA_HOST_IP_ADDRESS>:<PORT_NUMBER>/optima-put/topology/line/stop/{public_stop_id}
The path parameter public_stop_id is required. It is the specific identifier of a stop.
Request parameters
Not applicable.
Request content-type
Not applicable.
Request body (payload)
Not applicable.

Response status
HTTP status | Description |
---|---|
200 OK |
Result of the processed request. |
400 Bad request |
Several conditions can be classified under this code. Generally, when the API has been called with wrong arguments. |
Response content-type
text/plain
Request body (payload)
Comma separated list of line identifiers.

Request
https://<OPTIMA_HOST_IP_ADDRESS>:<PORT_NUMBER>/optima-put/topology/line/stop/express_6405
Response status
HTTP status | Description |
---|---|
200 OK |
Result of the processed request. |
Response output
399,371