Patch View
Analysis / Views
Patch View
Description
Patches the view.
Payload
{
"projectId": "string",
"dashboardId": "string",
"name": "string",
"fromDate": "string",
"toDate": "string",
"filter": array,
"displayConfig": object
}
where:
projectId: Project identifier. Optional.dashboardId: Dashboard Identifier to attach the view to it. Optional.name: Name for the view. Optional.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.
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.userId: User identifier owner of the view.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.
PATCH
Patch View
Description
Patches the view.Payload
projectId: Project identifier. Optional.dashboardId: Dashboard Identifier to attach the view to it. Optional.name: Name for the view. Optional.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.
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.userId: User identifier owner of the view.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.