Skip to content

Reorder Table

yulu edited this page May 17, 2018 · 11 revisions
PUT /api/reorderTable

Return a status indicates whether the operation has been successfully done or not.

Parameters

JSON Body Parameters

Field Data Type Description
linkTableId String The unique linkTableId corresponding to a table and a region of sheet.
attributeOrderPair List(Attributes) A list of attributes to perform sort. Attributes is an object with its attribute name and order.

Request

PUT https://localhost:8080/api/reorderTable
JSON Parameters:
{
    "linkTableId":"sjh5wamgj",
    "attributeOrderPair": [
        {
            "attributeName": "age",
            "order": "ASC"
        },
        {
            "attributeName": "grade",
            "order": "DESC"
        }
    ]
}

Response

{
    "status": "success",
    "message": null,
    "data": null
}

Clone this wiki locally