Skip to main content
GET
/
v1
/
mgm-stations
/
page
/
{pageNumber}
/
size
/
{pageSize}
Lists stations paged
curl --request GET \
  --url https://risk-api.tarla.io/v1/mgm-stations/page/{pageNumber}/size/{pageSize}
{
  "totalStations": 123,
  "totalPages": 123,
  "currentPage": 123,
  "pageSize": 123,
  "stations": [
    {
      "stationId": 123,
      "stationName": "<string>",
      "latitude": 123,
      "longitude": 123,
      "city": "<string>",
      "district": "<string>"
    }
  ]
}

Path Parameters

pageNumber
integer<int32>
required
pageSize
integer<int32>
required

Response

Success

Paged response structure for stations

totalStations
integer<int64>

Total number of stations available

totalPages
integer<int32>

Total number of pages

currentPage
integer<int32>

Current page index in pagination

pageSize
integer<int32>

Number of records per page

stations
object[]

List of stations in this page