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
idInteger‚úďThe ID of the sorting entity. The sorting entity should also be part of the query parameter metrics or dimensions.
orderEnumeration‚úďEither asc for ascending or desc for descending sort order.
typeEnumeration‚úďIndicates if the id parameter is a dimension or a metric.