Gets list of rented vehicles for the task

  1. HTTP Request
  2. Path Parameters
  3. Query Parameters
  4. Responses
    1. Code 200
      1. Representation
      2. Fields
    2. Code 401
    3. Code 403
    4. Code 422
    5. Code 504

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

task_id *

string

The id of MVRP task.

task_id *

string

The id of MVRP task.

Query Parameters

lang

string

Response locale in RFC-3066 format.

lang

string

Response locale in RFC-3066 format.

Responses

Code 200

The list of orders was received.

[
  {
    "date": string,
    "order_id": string,
    "provider": string,
    "ref": string
  }
]
Copied to clipboard

Representation

Collapse all
Expand 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.

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.

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.