Unit Deactivation

To deactivate/activate units use the command svc=unit/set_active:

svc=unit/set_active&params={"itemId":<long>,"active":<bool>}

Parameters

Name Description
itemId unit ID
active 0 - deactivation, 1 - activation

Response

{
	"active":<bool>,	/* 0- deactivation successfully, 1 - activation successfully, or error code*/
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam