Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
en:sidebar:remoteapi:apiref:core:search_item [25/01/2013 09:06] zuve |
en:sidebar:remoteapi:apiref:core:search_item [07/04/2014 08:29] (current) |
====== Search item by ID ====== | ====== Search item by ID ====== |
| |
To find item with certain ID use command **core/search_item**: | To find an item with certain ID, use the command **core/search_item**: |
<code javascript> | <code javascript> |
svc=core/search_item¶ms={"id":<long>, | svc=core/search_item¶ms={"id":<long>, |
</code> | </code> |
| |
:!: The example with this request you can find in chapter [[../../codesamples/search]]. | :!: You can find an example of this request in the sample [[../../codesamples/search|]]. |
| |
===== Parameters ===== | ===== Parameters ===== |
^ Name ^ Description ^ | ^ Name ^ Description ^ |
| id | item ID | | | id | item ID | |
| flags | data flags for response (Value of this parameter depends on item type you want to find. Data formats of all elements and their flags are describedin chapter [[../format/format]].)| | | 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 ===== | ===== Response ===== |
... | ... |
}, | }, |
"flags":<unit> /* applied data flags */ | "flags":<uint> /* applied data flags */ |
} | } |
</code> | </code> |
Format of field "item" depends on type of fount item. All formats are enumerated in chapter [[../format/format]]. | The format of "item" depends on item type. All formats are described in the chapter [[../format/format|]]. |