Copy image from one unit to another

To copy the image from one unit to another (for example, while coping a unit), use the command unit/update_image:

svc=unit/update_image&params={"itemId":<long>,
			      "oldItemId":<long>}

Parameters

Name Description
itemId new unit ID
oldItemId old unit ID

Response

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