Query
充电站设施
使用 amenityList 查询获取特定充电站周边的可用设施列表。当您想在车辆充电期间显示附近的餐厅、商店或其他设施时,此操作非常有用。
查询
获取充电站的设施需要充电站的 id。id 可通过路线、瓦片服务或周边充电站查询获取。使用 filter 参数根据特定条件缩小结果范围,并使用 size 和 page 参数对结果进行分页。
参数
stationId· ID· requiredfilter· AmenityListFiltersize· Intpage· Int字段
id· IDexternalId· String· external_id.external_id· Stringname· Stringlocation· Pointaddress· Addresstype· Stringdistance· Int· station_distance.station_distance· FloatfoursquareUrl· String· opening_hours· AmenityOpeningHourspets_allowed· Booleanaccessibility· AmenityAccessibilitycontact· AmenityContactrating· FloatcreatedAt· String· updatedAt· String· last_updated.last_updated· DateTime操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
error_forbidden_message- You are forbidden to execute this operation.
operation_not_allowed- You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded- Rate limit exceeded.
station_not_found- No station was found with the provided parameters.
此内容是否有帮助?