Create selection by type
Information noteLOCKED.
This API is extremely reliable and will not be broken unless absolutely necessary.
This API is extremely reliable and will not be broken unless absolutely necessary.
Method
POST
Path
/qrs/selection/[type]?filter={filter}
Description
Create a selection set that is pre-populated with selection items referring to entities of a specific [type]. Optionally, include an empty GUID in the API call. Optionally, filter the entities.
Information noteWhen using the standard GET method on the selection set, selection items are returned, not the actual entities. To get the actual entities in the selection set, use the paths described in Get all as condensed by selection and Get all as full by selection.
Body
-
Return value
Selection:
{ "items": [ { "type": "typename of entity", "objectid": "id of entity", "objectname": "..." }, { ... } ] }
Optional parameters
-
{filter}: See Filtering.
Example: Create selection
This example shows how to create a selection that contains two engine services, one repository service, and one tag.