Query
Rota olanaklı durak
getRouteStationsWithAmenities sorgusunu kullanarak bir rota boyunca belirli bir noktada olanaklara sahip şarj istasyonlarını arayın. Bu, restoranlara, mağazalara veya diğer olanaklara yakın bir şarj durağı planlamak istediğinizde kullanışlıdır.
Sorgu
Bir rota boyunca istasyon aramak için route_id, route_details_id, time_window ve amenity_types gereklidir. Her iki kimlik de getRoute sorgusu üzerinden alınabilir. Sonuçları belirli ölçütlere göre daraltmak için filter argümanını, bunlar arasında sayfalandırma yapmak için ise first ve after argümanlarını kullanın.
Parametreler
route_id· ID· requiredroute_details_id· ID· requiredtime_window· RouteTimeWindow· requiredamenity_types· AmenityType· requiredAmenityType enum values
parkrestaurantmuseumcoffeehotelshoppingbathroomsupermarketplaygroundpharmacybakeryconvenience_storefilter· RouteStationsWithAmenityFilterfirst· Intafter· StringAlanlar
total_count· Intpage_info· PageInfonodes· RouteStationWithAmenitiesOperations başarısız olabilir. Bunları doğru şekilde işlemek için aşağıdaki hata senaryolarını göz önünde bulundurun. Hatalar hakkında daha fazla here.
maximum_distance_from_path_above_allowed- Provided maximum distance from path is not valid. The value must be less than or equal to 10 000 meters or an equivalent unit.
maximum_distance_from_station_above_allowed- Provided maximum distance from station is not valid. The value must be less than or equal to 1000 meters or an equivalent unit.
pagination_invalid_after- The cursor provided in $LOCATION is invalid.
pagination_invalid_first- The page size indicated in $LOCATION must value between 1 and $SIZE.
route_amenities_expired- This route has expired for this type of search. To ensure data accuracy, routes older than 24 hours cannot be used. Please create a new route and try again.
route_amenities_invalid_status- Cannot search stations and amenities in a route with status [object Object].
route_not_found- No route was found with the provided ID.
time_window_exceeds_route_duration- The specified time window center takes place after the estimated arrival time. All center times must take place between the estimated departure and arrival time.
time_window_margin_above_allowed- Provided time window margin is not valid. The value must be less than or equal to 45 minutes or an equivalent unit.
zero_or_negative_value_not_allowed- Zero or negative value for $LOCATION is not allowed.
Bu içerik yardımcı oldu mu?