Create selection by type

Note: LOCKED.
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.

Note: When 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

Example: Create selection

This example shows how to create a selection that contains two engine services, one repository service, and one tag.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?