Search item by ID

To find an item with certain ID, use the command core/search_item:

svc=core/search_item&params={"id":<long>,
			     "flags":<long>}

:!: You can find an example of this request in the sample Item 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 Data format)

Response

{
	"item":{	/* found item */
		...	
	},
	"flags":<uint>	/* applied data flags */
}

The format of “item” depends on item type. All formats are described in the chapter Data format.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam