Provides the ability to sort an array of multi-level/complex objects by the definition provided.
Version 1
HTTP RequestPOST /ado/v1/SortObjectArray
Header
| Parameter | Description |
|---|---|
| Ocp-Apim-Subscription-Key | The subscription key you received when you purchased a plan. |
Request Body
Mandatory
| Parameter | Type | Description |
|---|---|---|
| data | object[] | Array of complex, multi-level objects. |
| sortOrder | object | This should be an object with each property name being a path (separated by full stops/periods in a hierarchical manner) which indicates the property to sort on. The order of the properties will determine the order that data is sorted in. |
Examples
Simple