SortParams

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.