Search item by ID
To find an item with certain ID, use the command core/search_item:
svc=core/search_item¶ms={"itemId":<long>,
"flags":<uint>}
You can find an example of this request in the sample Item search.
Parameters
Name | Description |
itemId | 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
The format of response depends on item type. All formats are described in the chapter Data format.
Errors
Code | Value |
1 | invalid session |
2 | invalid service name |
3 | invalid result |
4 | invalid format or value of parameters |
7 | access denied |