This event would be emitted when workbook has been saved.
Interface
{"msgId": "",
"msgName": This event is emitted when a workbook is saved.
Interface
Code Block |
---|
{ "msgId": "", "msgName": "kyvos.viewer.saveWorkbook"} |
...
Here,
- wbId
...
- = workbook identifier
...
- wbName
...
- = workbook name
...
...
Examples
...
Success
Code Block {
...
"msgId": "16697102479679127084072174132303",
...
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
...
"payload": {
...
"info": {
...
"status": "success",
...
"desc": "Entity saved successfully", "code": 0
...
},
...
"data": {
...
"wbId": "Workbook16696262783109127077025192299897",
...
"wbName": "Workbook 1"
...
} API: kyvos.viewer.revertWorkbook This event would request Kyvos to revert the workbook Interface } }
Failure
Code Block { "msgId": "16697102479679127084072174132303",
...
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
...
"payload": {
...
"info": {
...
"status": "failure",
...
"code": -1,
...
"desc": "Error in saving an entity."
...
},
...
"data": {
...
"wbId": "Workbook16696262783109127077025192299897",
...
"wbName": "Workbook 1"
...
}
...
}
...
}
...
Timeout
Code Block {
...
"msgId": "16697102479679127084072174132303",
...
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
...
"payload": {
...
"info": {
...
"status": "failure",
...
"code": -2,
...
"desc": "Timeout error."
...
}
...
}
...
}