Get versioned plan-fact for nodes
Returns all plan-fact updates occurring after the given previous version for the orders/depots/garages of the company.
HTTP Request
GET https://courier.yandex.ru/api/v1/analytics/companies/{company_id}/plan-fact/versioned/nodes\
?prev_version={string}\
&page={integer}\
&per_page={integer}
Path Parameters
company_id * | integer The ID of the company that is used in requests to the Track & Trace API. |
company_id * | integer The ID of the company that is used in requests to the Track & Trace API. |
* Required parameter
Query Parameters
prev_version * | string Version returned by the previous call to this method. For the initial call, use the value |
page | integer Page number. Each page contains Minimum value: |
per_page | integer Count of nodes per page. Minimum value: |
prev_version * | string Version returned by the previous call to this method. For the initial call, use the value |
page | integer Page number. Each page contains Minimum value: |
per_page | integer Count of nodes per page. Minimum value: |
* Required parameter
Responses
Code 200
Success.
{ "data": [ { "courier": { "id": integer, "name": string, "number": string }, "depot": { "id": integer, "name": string, "number": string, "timezone": string }, "fact": { "address": string, "amount": number, "comments": string, "customer_name": string, "failed_time_window": boolean, "node_idle_duration_s": integer, "number": string, "point": { "lat": number, "lon": number }, "point_radius": number, "real_sequence_pos": integer, "refined_lat": number, "refined_lon": number, "sequence_pos": integer, "service_duration_s": integer, "status": string, "status_comments": [ {} ], "transit_distance_m": number, "transit_duration_s": integer, "transit_idle_duration_s": integer, "type": string, "volume_cbm": number, "weight_kg": number }, "plan": { "address": string, "amount": number, "customer_name": string, "failed_time_window": boolean, "number": string, "point": { "lat": number, "lon": number }, "sequence_pos": integer, "service_duration_s": integer, "shared_service_duration_s": integer, "transit_distance_m": number, "transit_duration_s": integer, "type": string, "volume_cbm": number, "weight_kg": number }, "route": { "date": string, "id": integer, "number": string }, "version_status": string } ], "version": string }
Copied to clipboard
Representation
Fields
data[] * | array |
data[]. | object |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | object |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | string |
data[]. | object |
data[]. | string |
data[]. | number |
data[]. | object Node arrival time. |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | object Node departure time. |
data[]. | string |
data[]. | integer |
data[]. | boolean |
data[]. | integer |
data[]. | string |
data[]. | object Node position. |
data[]. | number Node position latitude. |
data[]. | number Node position longitude. |
data[]. | number |
data[]. | integer Actual sequence position of the node. |
data[]. | number |
data[]. | number |
data[]. | integer Sequence position of the node as approved by the logistician. |
data[]. | integer |
data[]. | string |
data[]. | array |
data[]. | object Time window of the node. |
data[]. | object Time window end time. |
data[]. | string |
data[]. | integer |
data[]. | object Time window start time. |
data[]. | string |
data[]. | integer |
data[]. | number |
data[]. | integer |
data[]. | integer |
data[]. | string Node type. Allowed values
|
data[]. | number |
data[]. | number |
data[]. | object |
data[]. | string |
data[]. | number |
data[]. | object Node arrival time. |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | object Node departure time. |
data[]. | string |
data[]. | integer |
data[]. | boolean |
data[]. | string |
data[]. | object Node position. |
data[]. | number Node position latitude. |
data[]. | number Node position longitude. |
data[]. | integer Sequence position of the node. |
data[]. | integer |
data[]. | integer |
data[]. | object Time window of the node. |
data[]. | object Time window end time. |
data[]. | string |
data[]. | integer |
data[]. | object Time window start time. |
data[]. | string |
data[]. | integer |
data[]. | number |
data[]. | integer |
data[]. | string Node type. Allowed values
|
data[]. | number |
data[]. | number |
data[]. | object |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | string Change type in version. Allowed values
|
version * | string |
data[] * | array |
data[]. | object |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | object |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | string |
data[]. | object |
data[]. | string |
data[]. | number |
data[]. | object Node arrival time. |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | string |
data[]. | object Node departure time. |
data[]. | string |
data[]. | integer |
data[]. | boolean |
data[]. | integer |
data[]. | string |
data[]. | object Node position. |
data[]. | number Node position latitude. |
data[]. | number Node position longitude. |
data[]. | number |
data[]. | integer Actual sequence position of the node. |
data[]. | number |
data[]. | number |
data[]. | integer Sequence position of the node as approved by the logistician. |
data[]. | integer |
data[]. | string |
data[]. | array |
data[]. | object Time window of the node. |
data[]. | object Time window end time. |
data[]. | string |
data[]. | integer |
data[]. | object Time window start time. |
data[]. | string |
data[]. | integer |
data[]. | number |
data[]. | integer |
data[]. | integer |
data[]. | string Node type. Allowed values
|
data[]. | number |
data[]. | number |
data[]. | object |
data[]. | string |
data[]. | number |
data[]. | object Node arrival time. |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | object Node departure time. |
data[]. | string |
data[]. | integer |
data[]. | boolean |
data[]. | string |
data[]. | object Node position. |
data[]. | number Node position latitude. |
data[]. | number Node position longitude. |
data[]. | integer Sequence position of the node. |
data[]. | integer |
data[]. | integer |
data[]. | object Time window of the node. |
data[]. | object Time window end time. |
data[]. | string |
data[]. | integer |
data[]. | object Time window start time. |
data[]. | string |
data[]. | integer |
data[]. | number |
data[]. | integer |
data[]. | string Node type. Allowed values
|
data[]. | number |
data[]. | number |
data[]. | object |
data[]. | string |
data[]. | integer |
data[]. | string |
data[]. | string Change type in version. Allowed values
|
version * | string |
* Required parameter
Code 400
Invalid parameters were passed.
Code 403
You do not have access to this object.
Code 422
Incorrect input.
Code 500
Server error during request processing.