Describes sorting parameters that are wrapped in an array, URL-encoded, and passed in with GET requests using the sortParams
query parameter.
Sample non-encoded parameter value, expanded:
[
{
"id": 40,
"order": "asc",
"type": "metric"
}
]
SortParams members
Member | Type | Required | Description |
---|---|---|---|
SortParams | |||
id | Integer | ✓ | The ID of the sorting entity. The sorting entity should also be part of the query parameter metrics or dimensions . |
order | Enumeration | ✓ | Either asc for ascending or desc for descending sort order. |
type | Enumeration | ✓ | Indicates if the id parameter is a dimension or a metric . |