8.3. Get the result of applying changes
Get the result of applying changes
HTTP Request
POST b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/apply-changes/result\
?claim_id={string}\
&request_id={string}
Query Parameters
claim_id * | string Claim ID, received upon creation of claim |
request_id * | string Unique change request ID (idempotency token) |
* 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
Responses
Code 200
OK
{ "changes": [ { "error": { "code": string, "message": string }, "id": integer, "kind": string, "status": string } ] }
Copied to clipboard
Representation
Fields
changes[] * | array |
changes[]. | object Error information |
changes[]. | string String error code Allowed values
|
changes[]. | string Human-readable error message |
changes[]. | integer Unique change ID (int64) |
changes[]. | string Change type |
changes[]. | string Change processing status Allowed values
|
changes[] * | array |
changes[]. | object Error information |
changes[]. | string String error code Allowed values
|
changes[]. | string Human-readable error message |
changes[]. | integer Unique change ID (int64) |
changes[]. | string Change type |
changes[]. | string Change processing status Allowed values
|
* Required parameter
Code 404
Change 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
Example
Responses:
{ "changes": [ { "error": { "code": "state_mismatch", "message": "State mismatch error" } } ] }
Copied to clipboard
{ "code": "not_found", "message": "Claim not found" }
Copied to clipboard