Custom fields

To update custom fields, use the command item/update_custom_field:



Name Description
itemId item ID
id custom field ID (not taken into account when creating; IDs for new custom fields are generated by the system)
callMode action: create, update, delete
Optional parameters (required for create and update)
n custom field name
v custom field value


On create and edit:

	<long>,		/* custom field ID */
		"id":<long>,	/* custom field ID */
		"n":<text>,	/* name */
		"v":<text>	/* value */

On delete:

	<long>,		/* custom field ID */


Code Value
1 invalid session
2 invalid service name
3 invalid result
4 invalid format or value of parameters
6 custom field not found
7 access denied
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon   |   Copyright © 2002-2021 Gurtam