-
Notifications
You must be signed in to change notification settings - Fork 30
Move Sheet
ET edited this page May 21, 2018
·
1 revision
PUT /api/moveSheet
Return the new ordered list of sheets with the specified sheet moved to the new position.
| Field | Data Type | Description |
|---|---|---|
| bookId | String | The id of the current book. |
| sheetName | String | The name of the moved sheet. |
| newPos | Integer | The new position of the moved sheet. |
PUT https://localhost:8080/api/moveSheet
JSON Parameters:
{
"bookId": "cjfx4leqo",
"sheetName": "Grade",
"newPos": 2
}
{
"status": "success",
"message": null,
"data": {
"sheets": [
{
"name": "Student",
"numRow": 300,
"numCol": 100
},
{
"name": "Course",
"numRow": 500,
"numCol": 50
},
{
"name": "Grade",
"numRow": 200,
"numCol": 50
}
]
}
}