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>,
							"st":<uint>
						}
				      ]}

Parameters

Name Description
itemId retranslator ID
units array of units IDs for retranslation
i unit ID
a unit unique ID
st time, when retranslation will be stopped (optional parameter)

Response

{
	"rtru":[
		{
			"i":<long>,	/* unit ID */
			"a":<text>,	/* unit unique ID */
			"st":<uint>	/* time, when retranslation will be stopped */
		}
	]
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam