logo
logo

Manipulate selection

This resources allows you to PATCH a selection, which means that the PATCH request can contain multiple commands and is used both to add and to remove entities from a selection using the PATCH object.

PATCH /selection/:selectionType

Replace these placeholders:

placeholderdescription
:selectionTypeThe name of the selection that needs to be manipulated. See the full list of the selection types for possible values

Body parameters

Because PATCH uses operation objects, it is needed to list all the Selection Patch objects in an array.

Inside this array as many operation objects can be added as are wanted. This operation object can have the following values:

ParameterTypeDescription
ArrayArrayThe array that will contain the Selection Patch objects

Body examples

[
    { 
        "operation": "add", 
        "value": [ 6191 ]
    }
]

Response

ResponseDescription
204 No ContentReturns an empty body when everything was processed without errors.

Can we improve this article ? Provide feedback