Save view
Analysis / Views
Save view
Description
Saves the view for that project and dashboard.
Payload
{
"projectId": "string",
"dashboardId": "string",
"name": "string",
"fromDate": "string",
"toDate": "string",
"filter": array,
"displayConfig": object
}
where:
projectId: Project identifier. Required.dashboardId: Dashboard Identifier to attach the view to it. Required.name: Name for the view. Required.fromDate: Starting date inYYYY-MM-DDformat. Optional.toDate: Ending date inYYYY-MM-DDformat. Optional.filter: Filters applied to the view. Optional.displayConfig: Please refer to the Fetch viewsResponsedocumentation. Optional.userId: User identifier owner of the view.
Response
200 OK
{
"name": "string",
"id": "string",
"projectId": "string",
"dashboardId": "string",
"fromDate": "string",
"toDate": "string",
"filter": array,
"displayConfig": object,
"userId": "string"
}
where:
id: View identifier.projectId: Project identifier.dashboardId: Dashboard Identifier to attach the view to it.name: Name for the view.fromDate: Starting date inYYYY-MM-DDformat.toDate: Ending date inYYYY-MM-DDformat.filter: Filters applied to the view.displayConfig: Please refer to the Fetch viewsResponsedocumentation.
400 Bad Request
dashboardIdis not valid.
nameis missing.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.
POST
Save view
Description
Saves the view for that project and dashboard.Payload
projectId: Project identifier. Required.dashboardId: Dashboard Identifier to attach the view to it. Required.name: Name for the view. Required.fromDate: Starting date inYYYY-MM-DDformat. Optional.toDate: Ending date inYYYY-MM-DDformat. Optional.filter: Filters applied to the view. Optional.displayConfig: Please refer to the Fetch viewsResponsedocumentation. Optional.userId: User identifier owner of the view.
Response
200 OK
id: View identifier.projectId: Project identifier.dashboardId: Dashboard Identifier to attach the view to it.name: Name for the view.fromDate: Starting date inYYYY-MM-DDformat.toDate: Ending date inYYYY-MM-DDformat.filter: Filters applied to the view.displayConfig: Please refer to the Fetch viewsResponsedocumentation.
400 Bad Request
dashboardId is not valid.
name is missing.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.