Skip to main content

Available Parking


This operation allows you to search for available parkings in two ways. By

  • location - By providing specific GPS coordinates
  • zoneID - By providing a specific zoneID

Available Parking by Zone Id#

Method#

This method returns a list of available parking by zoneId

suspend fun getListOfAvlParking(parkingListBody: ParkingListBody): ParkingListRes

Available Parking Request Model#

Represents the structure of the ParkingListBody object required to obtain the list of available parking by the zone id

  data class ParkingListBody(val zoneId: Int)

Available Parking by Coordinates#

Method#

This method returns available parking information by the coordinates passed as parameter

suspend fun getListOfAvlParking(parkingListBodyGeoLocation: ParkingListBodyGEOLocation): Any

Available Parking Request Model#

Represents the structure of the ParkingListBodyGEOLocation object required to obtain the list of available parking by coordinates

  data class ParkingListBodyGEOLocation(val location: Location)
  data class Location(val lat: Double, val lng: Double)