Gets list of rented vehicles for the task
Returns а list of vehicles for the MVRP task.
HTTP Request
GET https://courier.yandex.ru/api/v1/vrs/mvrp/{task_id}/rented-vehicle\
?lang={string}
Path Parameters
* Required parameter
Query Parameters
lang | string Response locale in RFC-3066 format. |
lang | string Response locale in RFC-3066 format. |
* Required parameter
Responses
Code 200
The list of orders was received.
[ { "date": string, "order_id": string, "provider": string, "ref": string } ]
Copied to clipboard
Representation
Collapse all
Fields
date | string Date the order was added. |
order_id * | string Order identifier from provider. |
provider * | string Identifier of provider. |
ref * | string Ref field from mvrp task result. |
* Required parameter
Code 401
Authorization error. Make sure that the request header contains the correct OAuth token.
Code 403
You do not have access to this object.
Code 422
Incorrect input. The operation can't be performed.
Code 504
Error working with the API. Repeat the request.