View states
Save sort only
Writes just the sort field and direction onto the named view state, leaving its columns, filters, pagination and kanban settings untouched. It never creates: a name that has no stored state in the scope fails, as does a sort key the entity does not have (unlike the full save, which quietly substitutes one), and the response echoes what was submitted rather than the stored state.
PUT
/api/{tenant:minlength(2)}/v{version:apiVersion}/view_states/save_sort_only
Request arguments
| Name | Type | Source |
|---|---|---|
| entity | ENUM entity | |
| optional_id | Int32 | |
| name | String | |
| payload | DTO_view_state_sort | Body |
Request body example
Response
Response body example
DTO_view_state_sort
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| field_key | String | Field key | |
| order | ENUM sort_order | Order |
ENUM sort_order
| Value | Name | Description |
|---|---|---|
| 0 | ASC | ASC |
| 1 | DESC | DESC |
Generated Aug 4, 2026 18:37