A sort query
parameter can be used to specify the order of the results in a list response.
The query
parameter is
sort=<parameterName> order, where:
- parameterName: The name of
the parameter that you want to sort on. This is case sensitive, so it must
match the parameter in the API exactly.
- order: Specifies the order
of the sort. Values are as follows:
- asc: Perform an ascending
sort. This is the default if no order is specified.
- desc: Perform a
descending sort.
Example
For example, to
find all the CallTypes whose name or description contains
supervisor,
sorted in ascending order by
name:
https://<server>/unifiedconfig/config/calltype?q=supervisor&sort=name