Prev | Next |
GetItems
Return the full properties for the requested items.
Inputs
Parameter |
Details |
---|---|
parameters |
A JSON string of parameters. Includes:
|
Outputs via Callbacks
AddProperty - multiple calls per menu item:
- AddProperty(index, "id", "item1");
- AddProperty(index, "name", "Item 1");
Optional extra properties. These can be custom propertyID:propertyValue pairs, eg:
- AddProperty(index, "notes", "Example notes for item 1");
- AddProperty(index, "modifiedDate", "2022-04-06T11:33:44");
- AddProperty(index, "type", "Requirement");
- AddProperty(index, "url", "http://example.com/item/1");
- AddProperty(index, "propertyX", "Item 1 Property X");
- AddProperty(index, "propertyY", "Item 1 Property Y");
- AddProperty(index, "propertyZ", "Item 1 Property Z");
[Optional] LogMessage or SetError - to provide user feedback.
Details
Return the properties for a list of items. Recommended: If the provider has a way of querying a list of items, then it is recommended to run a single query and return the results. If the provider can't query multiple items, then run multiple individual 'GetItem' calls and concatenate the results.
The returned values should be the same as for GetItem, but specify a unique 'index' value for each different item.