Differences

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

Link to this comparison view

en:sidebar:remoteapi:apiref:core:search_item [29/11/2013 12:31]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:core:search_item [07/04/2014 08:29]
Line 1: Line 1:
-{{indexmenu_n>​11}} 
-====== Search item by ID ====== 
  
-To find an item with certain ID, use the command **core/​search_item**: ​ 
-<code javascript>​ 
-svc=core/​search_item&​params={"​id":<​long>,​ 
-      "​flags":<​long>​} 
-</​code>​ 
- 
-:!: You can find an example of this request in the sample [[../​../​codesamples/​search|]]. 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| id | item ID | 
-| flags | data flags for the response (the value of this parameter depends on item type; data formats of all item types and their flags are described in the chapter [[../​format/​format|]])| 
- 
-===== Response ===== 
-<code javascript>​ 
-{ 
- "​item":​{ /​* found item */ 
- ...  
- }, 
- "​flags":<​unit>​ /​* applied data flags */ 
-} 
-</​code>​ 
-The format of "​item"​ depends on item type. All formats are described in the chapter [[../​format/​format|]]. 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam