Skip to content

Change Sheet Name

Legan_dary edited this page May 15, 2018 · 3 revisions
PUT /api/changeSheetName

Returns the ordered list of sheets including the sheet with name changed.

Parameters

JSON Body Parameters

Field Data Type Description
bookId String The id of the current book.
oldSheetName String The current name of the sheet.
newSheetName String The new name of the sheet.

Example

Request

PUT https://localhost:8080/api/changeSheetName
JSON Parameters:
{
    "bookId": "cjfx4leqo",
    "oldSheetName": "Grade",
    "newSheetName": "curvedGrade"
}

Response

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

Clone this wiki locally