Skip to content

Copy Sheet

Legan_dary edited this page May 15, 2018 · 3 revisions
POST /api/copySheet

Return the ordered list of sheets including the new copied sheet.

Parameters

JSON Body Parameters

Field Data Type Description
bookId String The id of the current book.
sheetName String The name of the copied sheet.

Request

POST https://localhost:8080/api/copySheet
JSON Parameters:
{
    "bookId": "cjfx4leqo",
    "sheetName": "Grade"
}

Response

{
    "status": "success",
    "message": null,
    "data": {
        "sheets": [
            {
                "name": "Student",
                "numRow": 300,
                "numCol": 100
            },
            {
                "name": "Course",
                "numRow": 500,
                "numCol": 50
            },
            {
                "name": "Grade",
                "numRow": 200,
                "numCol": 50
            },
            {
                "name": "Grade(1)",
                "numRow": 200,
                "numCol": 50
            }
        ]
    }
}

Clone this wiki locally