10.2. Get claim information
Returns claim information as proof of delivery.
You may receive this information as any of the following: point ID, photos
the courier took at that location, and the name(s) of the recipient(s).
HTTP Request
POST b2b.taxi.yandex.net/b2b/cargo/integration/v2/claims/proof-of-delivery/info\
?claim_id={string}
Query Parameters
claim_id * | string The claim ID received at the claim creation stage |
claim_id * | string The claim ID received at the claim creation stage |
* Required parameter
Header Parameters
X-B2B-Client-Id * | string |
Accept-Language * | string Preferred language of response. Examples: "ru" — Russian, "en" — English |
* Required parameter
Responses
Code 200
OK
{ "proof_of_delivery_info": [ { "claim_point_id": integer, "photos": [ { "claim_point_id": integer, "external_id": string, "id": string, "status": string, "url": string } ], "recipient_info": { "document_id": string, "recipient_name": string, "recipient_type": string } } ] }
Copied to clipboard
Representation
Fields
proof_of_delivery_info[] * | array |
proof_of_delivery_info[]. | integer The integer ID (int64) of the point generated on the Delivery side. |
proof_of_delivery_info[]. | array |
proof_of_delivery_info[]. | integer point_id of the claim point (int64). Returned to understand which point the photo belongs to. |
proof_of_delivery_info[]. | string External ID, taken from the cargo_orders_proof_of_delivery_settings experiment |
proof_of_delivery_info[]. | string Photo ID in postgres. Returns to maintain links to claim_point_id. |
proof_of_delivery_info[]. | string Upload status Allowed values
|
proof_of_delivery_info[]. | string url for the upload |
proof_of_delivery_info[]. | object |
proof_of_delivery_info[]. | string |
proof_of_delivery_info[]. | string Recipient's name |
proof_of_delivery_info[]. | string Who is the actual recipient |
proof_of_delivery_info[] * | array |
proof_of_delivery_info[]. | integer The integer ID (int64) of the point generated on the Delivery side. |
proof_of_delivery_info[]. | array |
proof_of_delivery_info[]. | integer point_id of the claim point (int64). Returned to understand which point the photo belongs to. |
proof_of_delivery_info[]. | string External ID, taken from the cargo_orders_proof_of_delivery_settings experiment |
proof_of_delivery_info[]. | string Photo ID in postgres. Returns to maintain links to claim_point_id. |
proof_of_delivery_info[]. | string Upload status Allowed values
|
proof_of_delivery_info[]. | string url for the upload |
proof_of_delivery_info[]. | object |
proof_of_delivery_info[]. | string |
proof_of_delivery_info[]. | string Recipient's name |
proof_of_delivery_info[]. | string Who is the actual recipient |
* Required parameter
Code 404
Claim not found or claim information 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:
{ "proof_of_delivery_info": [ { "claim_point_id": 6987 } ] }
Copied to clipboard