/tripkit/TripKitData/com.skedgo.tripkit.data.locations/LocationsApi/fetchLocationsAsync
fetchLocationsAsync
\
@POST
abstract fun fetchLocationsAsync(@Urlurl: String, @Bodybody: LocationsRequestBody): Observable<LocationsResponse>
Parameters
androidJvm
url | A concatenation of an item of getURLs and "locations.json". For example, "https://sydney-au-nsw-sydney.tripgo.skedgo.com/satapp/locations.json". |
\
@GET
abstract fun fetchLocationsAsync(@Urlurl: String, @Query(value = "lat")lat: Double, @Query(value = "lng")lng: Double, @Query(value = "limit")limit: Int, @Query(value = "radius")radius: Int, @Query(value = "modes")modes: List<String>): Observable<LocationsResponse>