POST /api/database/views/{view_id}/filters/
Creates a new filter for the view related to the provided view_id
parameter. When the rows of a view are requested, for example via the list_database_table_grid_view_rows
endpoint, then only the rows that apply to all the filters are going to be returned. A filter compares the value of a field to the value of a filter. It depends on the type how values are going to be compared.
Servers
- /
Path parameters
Name | Type | Required | Description |
---|---|---|---|
view_id |
Integer | Yes |
Creates a filter for 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 |
---|---|---|---|
field |
Integer | Yes |
The field of which the value must be compared to the filter value. |
group |
Integer | No |
The id of the filter group the new filter will belong to. If this is null, the filter will not be part of a filter group, but directly part of the view. |
type |
String | Yes |
Indicates how the field's value must be compared to the filter's value. The filter is always in this order
Possible values:
|
value |
String | No |
The filter value that must be compared to the field's value. |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.