Restore item's icons from backup

To restore item's icons, use the command item/restore_icons:

svc=item/restore_icons&params={"resId":<long>,
			       "trailerIcons":{<long>:<text>},
			       "driverIcons":{<long>:<text>},
			       "zoneIcons":{<long>:<text>},
			       "unitIcons":{<long>:<text>}}

<long> - item/propitem id;
<text> - icon url on backup server.

:!: You can restore a few of items at the same command, separated by comma <long>:“<text>“ .

Parameters

Name Description
resId resource ID
itemId item ID
trailerIcons trailer icon parameters
driverIcons driver icon parameters
zoneIcons geozone icon parameters
unitIcons unit icon parameters

Response

{} /* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam