Skip to content

Link Table

nbajiaoshi edited this page Jun 7, 2018 · 12 revisions
POST /api/linkTable

Return the a unique identifier between the linked table and the given sheet region and a unique shared link for the linked table.

Parameters

JSON Body Parameters

Field Data Type Description
bookId String The id of the current book.
sheetName String The name of the current sheet.
tableName String The actual name of the linked table.
row1 Int The row where the table begins on the sheet.
row2 Int The row where the table ends on the sheet.
col1 Int The column where the table begins on the sheet.
col2 Int The column where the table ends on the sheet.

Request

POST https://localhost:8080/api/linkTable
JSON Parameters:
{
    "bookId":"demo",
    "sheetName":"Sheet1",
    "tableName":"_sdfweokjfd_Student",
    "row1":0,
    "row2":4,
    "col1":0,
    "col2":3
}

Response

{
    "status": "success",
    "message": null,
    "data": {
                "linkTableId":"ajh6u3yqb",
                "link":"vjh6u3yqsFYTAMONBUX"
            }
}
Clone this wiki locally