ResolveWaypoint
POST/v1/rides/resolve-waypoint¶ Description
Returns information pertaining to specialised pickup and dropoff locations for venues like airports, hospitals, concert arenas, and other high density locations.
¶ Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| context | ThirdPartyRequestContext | Context of this request | Y |
| requested_location | LocationSpecification | Origin location containing coordinate or a location id to resolve. | Y |
| requested_by | ParticipantEntity | The requester who is requesting this location refinement. | Y |
| waypoint_context | WaypointContext | Additional context to resolve the requested location. | Y |
| response_options | ResponseOptions | Option to the caller to ask for additional metadata in the response | N |
| target_product_ids | array |
Product ids of the product for which default access point is needed | N |
¶ Response Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| resolved_location | ResolvedLocation | [DEPRECATED] Resolved Anchor location - Where Uber thinks the rider is located. | Y |
| access_points | array<AccessPoint> | Suggested navigable locations in the physical world (which are outside of any zone) where pick-up/drop-off can be executed. . | N |
| zone_info_one_of | ZoneInfoOneOf | If present, could be either one of BoundedZones or AirportDropoffZone | N |
¶ Errors
| HTTP status | Code | Message |
|---|---|---|
| 404 | ERROR_CODE_PARTICIPANT_NOT_FOUND | One or more participants not found [value: “ |
| 403 | ERROR_CODE_INVALID_ENTITY_ACCESS | One or more of the participants are not accessible in the current environment |
| 422 | ERROR_CODE_INVALID_LOCATION_SPEC | At least one of placeId or point should be present, or location spec is otherwise invalid |
| 400 | ERROR_CODE_VALIDATION_FAILED | Requested location could not be resolved |
| 422 | ERROR_CODE_INVALID_LOCATION_ID | Location id/provider is invalid |
| 422 | ERROR_CODE_OUTSIDE_SERVICE_AREA | Requested waypoint is outside the service area |