get_route_from_history

To get a route from history, use order/get_route_from_history.

Request

Copied!
svc=order/get_route_from_history&params={
						"itemId":<long>,
						"routeId":<long>,
						"timeFrom":<uint>,
						"timeTo":<uint>,
						"addPoints":<uint>
				   }

Parameters

The required parameters are marked with an asterisk (*).

Parameter Description
itemId* Resource ID.
routeId* Route ID.
timeFrom* Start time.
timeTo* End time.
addPoints Add route points to the response. The default is 1.

Response

Copied!
{
	"routes":[
		{...},
		{...},
		...
	],
	"count":<uint>,
	"total":<uint>
}

Error codes

Error code Description
7 Incorrect resource ID.
6 Internal error.

If you find a mistake in the text, please select it and press Ctrl+Enter.