9.2 Request to open the rover cover
If the claim is delivered by a rover (robot),
you can use this method to open the cover of the robot to
load/receive the order.
HTTP Request
POST b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/robot/open-request\
?claim_id={string}
Query Parameters
claim_id * | string Claim ID, received upon creation of claim |
claim_id * | string Claim ID, received upon creation of claim |
* Required parameter
Header Parameters
Accept-Language * | string Preferred language of response. Examples: "ru" — Russian, "en" — English |
Accept-Language * | string Preferred language of response. Examples: "ru" — Russian, "en" — English |
* Required parameter
Request Body
{ "delay": integer, "point_id": integer }
Copied to clipboard
Representation
Fields
delay * | integer Open the cover after how many seconds (int64) |
point_id * | integer The integer ID (int64) of the point generated by Delivery. source, destination, return |
* Required parameter
Responses
Code 200
The task to open the cover is accepted for processing
Code 400
The order isn't delivered by a rover
{ "code": string, "message": string }
Copied to clipboard
Representation
Fields
code * | string String error code Allowed values
|
message * | string Human-readable error message |
* Required parameter
Code 404
Claim not found
{ "code": string, "message": string }
Copied to clipboard
Representation
Fields
code * | string String error code Allowed values
|
message * | string Human-readable error message |
* Required parameter
Code 409
The claim has a wrong status or the point is no longer relevant
{ "code": string, "message": string }
Copied to clipboard
Representation
Fields
code * | string String error code Allowed values
|
message * | string Human-readable error message |
* Required parameter
Example
Request:
curl -X POST "b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/robot/open-request?claim_id={string}" \ -H "Accept-Language: {string}" \ -d '{ "point_id": 6987 }'
Copied to clipboard