Inserting a Row or Column into a Table

Usage

Inserts a row or column into a table according to the position of a given cell.

Request

POST /documents/<documentID>/reports/<reportID>/elements/<elementID>?strip=<strip>&position=<position>

Where:
  • <strip> is a string parameter that defines the row or column to insert into the table that contains the given cell <elementID>. Values are row or column.
  • <position> is a string parameter that defines the position of the row or column relative to the given cell. Values are:
    • left or right for a column
    • above or below for a row
Response

Response type: application/xml or application/json

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

Example

Inserting a Row Above the Given Cell (JSON)

POST /documents/16654/reports/1/elements/6?strip=row&position=above

{"success":
    {
     "message":"The resource of type "Report element" with identifier "6" has been successfully updated.",
     "id":6
    }
}