Custom properties

Create/update property

To create a new custom property for an item or update an existed one, use the command item/update_custom_property:

svc=item/update_custom_property&params={"itemId":<long>,
					"name":<text>,
				 	"value":<text>}

Delete property

To delete custom property, use the same command but with empty value param:

svc=item/update_custom_property&params={"itemId":<long>,
					"name":<text>,
				 	"value":""}

Parameters

Name Description
itemId item ID
name custom property name
value custom property value

Response

{
	"n":<text>,	/* custom property name */
	"v":<text>	/* custom property value */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam