SaveCreateDashboard
POST
/api/ToBackendSaveCreateDashboardSave a new dashboard
Request Body
application/json
Response Body
application/json
curl -X POST "http://localhost:3000/api/ToBackendSaveCreateDashboard" \ -H "Content-Type: application/json" \ -d '{ "info": { "name": "api/ToBackendSaveCreateDashboard", "traceId": "string", "idempotencyKey": "string" }, "payload": { "projectId": "string", "repoId": "string", "branchId": "string", "envId": "string", "newDashboardId": "string", "timezone": "string" } }'{
"info": {
"path": "/api/ToBackendSaveCreateDashboard",
"method": "POST",
"mproveVersion": "string",
"duration": 0,
"status": "Ok",
"traceId": "string",
"error": null
},
"payload": {
"newDashboardPart": {
"structId": "string",
"dashboardId": "string",
"draft": true,
"creatorId": "string",
"title": "string",
"filePath": "string",
"accessRoles": [
"string"
],
"tiles": [
{
"modelId": "string",
"modelLabel": "string",
"modelFilePath": "string",
"mconfigId": "string",
"queryId": "string",
"trackChangeId": "string",
"listen": {
"property1": "string",
"property2": "string"
},
"deletedFilterFieldIds": [
"string"
],
"title": "string",
"plateWidth": 0,
"plateHeight": 0,
"plateX": 0,
"plateY": 0
}
],
"author": "string",
"canEditOrDeleteDashboard": true
}
}
}