Gets depot visits of the route
Gets a list of depot visits in the order they are located in the route.
HTTP Request
GET https://courier.yandex.ru/api/v1/companies/{company_id}/routes/{route_id}/depot-visits
Path Parameters
company_id * | integer Company ID used in requests to the Track & Trace API. |
route_id * | integer The ID of the route that is used in requests to the Track & Trace API. |
* Required parameter
Responses
Code 200
Returns a list of depot visits in the order they are located in the route.
[ { "instance_id": integer, "status": string } ]
Copied to clipboard
Representation
Collapse all
Fields
status | string The current depot visit status. Possible values:
|
instance_id | integer The ID of the depot visit involved in the route. |
status | string The current depot visit status. Possible values:
|
instance_id | integer The ID of the depot visit involved in the route. |
* Required parameter
Code 401
Authorization failed. Send the correct OAuth token in the authorization header.
Code 403
You do not have access to this object.