Skip to content

Add Sheet

Legan_dary edited this page May 15, 2018 · 4 revisions
POST /api/addSheet

Return the ordered list of sheets including the added sheet.

Parameters

JSON Body Parameters

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

Request

POST https://localhost:8080/api/addSheet
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
            }
        ]
    }
}
Clone this wiki locally