Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

Id Sort Clause

The Location\Id Sort Clause sorts search results by the ID of the location.

Arguments

  • (optional) sorting direction, either ascending (default) or descending

Example

In the REST API, this Sort Clause is called LocationId. Use it in the SortClauses element of the payload of the POST /views request:

1
2
3
4
5
<Query>
    <SortClauses>
        <LocationId>ascending</LocationId>
    </SortClauses>
</Query>
1
2
3
4
5
"Query": {
    "SortClauses": {
        "LocationId": "ascending"
    }
}