Add/remove units

To add or remove units to/from a retranslator, use the command retranslator/update_units:

svc=retranslator/update_units&params={"itemId":<long>,
				      "units":[	
						{
							"a":<text>,
							"i":<long>
						}
				      ]}

Parameters

Name Description
itemId retranslator ID
units array of units IDs for retranslation
i unit ID
a hardware unique ID

Response

{
	"rtru":[
		{
			"i":<long>,	/* unit ID */
			"a":<text>	/* hardware unique ID */
		}
	]
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2021 Gurtam