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#
MethodThis method returns a list of available parking by zoneId
- Kotlin
- Java
- Swift
- JS
suspend fun getListOfAvlParking(parkingListBody: ParkingListBody): ParkingListRes
public ParkingListRes getListOfAvlParking(ParkingListBody parkingListBody)
func getListOfAvlParking(parkingListBody: ParkingListBody, completionHandler: @escaping (ParkingListRes?, Error?) -> Void)
async fun getListOfAvlParking(parkingListBody)
#
Available Parking Request ModelRepresents the structure of the ParkingListBody object required to obtain the list of available parking by the zone id
- Kotlin
- Java
- Swift
- JS
data class ParkingListBody(val zoneId: Int)
public class ParkingListBody { private int zoneId;
// ... setters and getters go here }
struct ParkingListBody { let zoneID: Int }
interface ParkingListBody { zoneID: int;}
#
Available Parking by Coordinates#
MethodThis method returns available parking information by the coordinates passed as parameter
- Kotlin
- Java
- Swift
- JS
suspend fun getListOfAvlParking(parkingListBodyGeoLocation: ParkingListBodyGEOLocation): Any
public Object getListOfAvlParking(ParkingListBodyGEOLocation parkingListBodyGEOLocation)
func getListOfAvlParking(parkingListBodyGEOLocation: ParkingListBodyGEOLocation, completionHandler: @escaping (Any?, Error?) -> Void)
async fun getListOfAvlParking(parkingListBodyGeoLocation)
#
Available Parking Request ModelRepresents the structure of the ParkingListBodyGEOLocation object required to obtain the list of available parking by coordinates
- Kotlin
- Java
- Swift
- JS
data class ParkingListBodyGEOLocation(val location: Location)
data class Location(val lat: Double, val lng: Double)
public class ParkingListBodyGEOLocation { private Location location;
// ... setters and getters go here }
public class Location { private double lat; private double lng;
// ... setters and getters go here }
struct ParkingListBodyGEOLocation { let location: Location }
struct Location { let lat, lng: Double }
interface ParkingListBodyGEOLocation { location: Location;}interface Location { lat: double; lng: double;}