Get the editing result after confirmation
The method returns a response about the status of changes requested via the method claims/apply-changes/request.
Request
POST
b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/apply-changes/result
Service URL
Query parameters
Name |
Description |
claim_id* |
Type: string Claim ID received at the claim creation stage Min length: Max length: |
request_id* |
Type: string Unique edit request ID (idempotency token) Min length: Max length: |
Headers
Name |
Description |
Accept-Language* |
Type: string Preferred response language. Examples: "en" — English |
Responses
200 OK
OK
Body
application/json
{
"changes": [
{
"id": 0,
"kind": "string",
"status": "new",
"error": {
"code": "apply_change_error",
"message": "State mismatch error",
"details": "bad item at pos 2"
}
}
]
}
Name |
Description |
changes* |
Type: ChangeResponse[] |
ChangeResponse
Name |
Description |
id* |
Type: integer<int64> Unique change ID (int64) |
kind* |
Type: string Change type |
status* |
Type: ChangeStatus Change processing status Enum: |
error |
Type: ErrorWithDetails Error description (for the failed status) |
ChangeStatus
Change processing status
Type |
Description |
Enum: |
ErrorWithDetails
Error information
Name |
Description |
code* |
Type: string Error code Example: Enum: |
message* |
Type: string Error description Example: |
details |
Type: string Non-localized error message Example: |
404 Not Found
Change not found
Body
application/json
{
"code": "not_found",
"message": "Claim not found"
}
Name |
Description |
code* |
Type: string Error code Example: Enum: |
message* |
Type: string Error description Example: |