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 (*).

ParameterDescription
itemId*Resource ID.
routeId*Route ID.
timeFrom*Start time.
timeTo*End time.
addPointsAdd route points to the response. The default is 1.

Response

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

Error codes

Error codeDescription
7Incorrect resource ID.
6Internal error.
Download PDF file
Download Word document

See also