Changelog
The method returns the change history of the claim. You can find out about the changes in order status and price. For terminal statuses, the "resolution" field is returned, with possible values being ''success'' and ''failed''.
Request
POST
b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/journal
Service URL
Body
application/json
{
"cursor": "string"
}
Name |
Description |
cursor |
Type: string A string with the ID of the last |
Responses
200 OK
OK
Body
application/json
{
"cursor": "string",
"events": [
{
"operation_id": 1,
"claim_id": "3b8d1af142664fde824626a7c19e2bd9",
"change_type": "status_changed",
"updated_ts": "2020-01-01T00:00:00+00:00",
"new_status": "new",
"new_price": "20.00",
"new_currency": "AED",
"resolution": "success",
"revision": 1,
"client_id": "95d010b2471041499b8cb1bfa282692f",
"current_point_id": 372036854775807
}
]
}
Name |
Description |
cursor* |
Type: string Last change ID |
events* |
Type: Event[] Information about the order change |
Event
Information about the order change
Name |
Description |
change_type* |
Type: string Change type. Possible values:
Example: |
claim_id* |
Type: string Claim ID (claim_id) Example: |
operation_id* |
Type: integer<int64> Operation ID (int64) Example: |
revision* |
Type: integer<int64> Claim change version (int64) Example: |
updated_ts* |
Type: string<date-time> Event time in ISO 8601 format Example: |
client_id |
Type: string Customer ID Example: |
current_point_id |
Type: integer<int64> Integer point ID (int64) generated Example: |
new_currency |
Type: string Order currency code Example: |
new_price |
Type: string Order price Example: |
new_status |
Type: ClaimStatus Claim status. To learn more, see Status model Example: Enum: |
resolution |
Type: ClaimStatusResolution Terminal status resolution Example: Enum: |
ClaimStatus
Claim status. To learn more, see Status model
Type |
Description |
Example: Enum: |
ClaimStatusResolution
Terminal status resolution
Type |
Description |
Example: Enum: |
400 Bad Request
BAD REQUEST
Body
application/json
{
"code": "invalid_cursor",
"message": "Incorrect cursor format"
}
Name |
Description |
code* |
Type: string Error code Enum: |
message* |
Type: string Error description Example: |
429 Too Many Requests
TOO MANY REQUESTS
Body
application/json
{
"code": "too_many_requests",
"message": "Too many requests"
}
Name |
Description |
code* |
Type: string Error code Example: Enum: |
message* |
Type: string Error description Example: |