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

MemberTypeRequiredDescription
SortParams
idIntegerThe ID of the sorting entity. The sorting entity should also be part of the query parameter metrics or dimensions.
orderEnumerationEither asc for ascending or desc for descending sort order.
typeEnumerationIndicates if the id parameter is a dimension or a metric.