Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:sidebar:remoteapi:apiref:item:update_custom_property [13/02/2013 07:01]
alek
en:sidebar:remoteapi:apiref:item:update_custom_property [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​4}} 
-====== Custom properties ====== 
  
-To create a new custom property for an item or update an existed one, use the command **item/​update_custom_property**: ​ 
-<code javascript>​ 
-svc=item/​update_custom_property&​params={"​itemId":<​long>,​ 
- "​name":<​text>,​ 
- "​value":<​text>​} 
-</​code>​ 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| itemId | item ID | 
-| name | custom property name | 
-| value | custom property value | 
- 
- 
-===== Response ===== 
-<​code=javascript>​ 
-{ 
- "​n":<​text>,​ /​* custom property name */ 
- "​v":<​text>​ /​* custom property value */ 
-} 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam