Skip to main content
GET
/
journeys
/
stops
Retrieve the journey stops
curl --request GET \
  --url https://b2b-api.markoub.dev/journeys/stops \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "Gare routière",
    "address": "Avenue de la Gare, 20000, Casablanca",
    "time": "12:00:00",
    "type": "stop",
    "latitude": 33.59586,
    "longitude": -7.612193,
    "daysElapsed": 0
  }
]

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

journeyId
string
required

The journey ID retreived from the search

searchId
string
required

The search ID retreived from the search

Response

The retreived stops

name
string
required

The name of the stop

Example:

"Gare routière"

address
string
required

The address of the stop

Example:

"Avenue de la Gare, 20000, Casablanca"

time
string
required

The time of the stop

Example:

"12:00:00"

type
string
required

The type of the stop

Example:

"stop"

latitude
number | null
required

The latitude of the stop

Example:

33.59586

longitude
number | null
required

The longitude of the stop

Example:

-7.612193

daysElapsed
number | null
required

The number of days till the stop

Example:

0