Updating the Sortings of an Axis

Usage

Updates the sortings of an axis in a report element of type Table (HTable, VTable, XTable, and Form), Section, or Visualization.

Request

PUT /documents/<documentID>/reports/<reportID>/elements/<elementID>/axes/<axisID>/sorts

Request body: the sortings to update.

Remember The sortings will be applied in the specified order.
Response

Response type: application/xml or application/json

The response is a message stating the success or failure of the request.

Example

PUT /documents/17196/reports/3/elements/12/axes/1/sorts

Request body:

<sorts>
    <sort order="Ascending" dataType="String">=[Resort]</sort>
    <sort order="Ascending" dataType="String">=[Country]</sort>
 </sorts>

Response:

<success>
    <message>The resource of type "Axis" with identifier "1" has been successfully updated.</message>
    <id>1</id>
</success>