POST /api/database/views/{view_id}/sortings/prioritize/

Updates the priority of the sorts to match the order of the given IDs. Sorts earlier in the list are applied first.

Servers

Path parameters

Name Type Required Description
view_id Integer Yes

Updates the priority of the sortings in the view related to the provided value.

Request headers

Name Type Required Description
ClientSessionId String No

An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.

Content-Type String Yes The media type of the request body.

Default value: "application/json"

ClientUndoRedoActionGroupId String No

An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.

Request body fields

Name Type Required Description
view_sort_ids[] Array Yes

View sort ids in the desired priority order. The sort with the lowest position in the list is applied first.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.