search_item
The search_item function is used to find an item with a certain ID.
svc=core/search_item¶ms={"id":<long>,
"flags":<long>}
Parameters
Name | Description |
---|---|
id | Item ID. |
flags | Flags with properties for the returned result. The value of this parameter depends on the item type. The data formats of all item types and their flags are described in the format section. |
Returned result
{
"item":{ /* found item */
...
},
"flags":<uint> /* applied flags with properties */
}
The format of the item parameter depends on the item type. All formats are described in the format section.
Possible error codes:
Code | Description |
---|---|
7 | One of the following:
|
6 | No session. |