Perspectives Folders
Group your Perspectives using Folders in ways that are more meaningful to your business needs.
Create a Perspective Folder.
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a created CEViewFolder object with all its details
POST /gateway/ccm/api/perspectiveFolders/create?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"ceViewFolder": {
"uuid": "text",
"accountId": "text",
"name": "text",
"pinned": true,
"tags": [
"text"
],
"description": "text",
"viewType": "SAMPLE",
"createdAt": 1,
"lastUpdatedAt": 1,
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
},
"perspectiveIds": [
"text"
],
"budgetIds": [
"text"
]
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Delete a Folder for the given Folder ID.
Unique identifier for the Perspective folder
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
A boolean whether the delete was successful or not
DELETE /gateway/ccm/api/perspectiveFolders/{folderId}?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Fetch folders given an accountId
Account Identifier for the Entity.
Search by folder name pattern
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns List of CEViewFolders
GET /gateway/ccm/api/perspectiveFolders?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update a folder
Account Identifier for the Entity.
This object will contain the complete definition of a Cloud Cost Perspective
unique id
account id
name
pinned
Tags
Description of the entity
view type
Time at which the entity was created
Time at which the entity was last updated
Bad Request
This is Failure entity as defied in Harness
Internal server error
CEViewFolder object
PUT /gateway/ccm/api/perspectiveFolders?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 317
{
"uuid": "text",
"accountId": "text",
"name": "text",
"pinned": true,
"tags": [
"text"
],
"description": "text",
"viewType": "SAMPLE",
"createdAt": 1,
"lastUpdatedAt": 1,
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Return details of all the Perspectives for the given account ID and folder
Unique identifier for folder
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a List of Perspectives
GET /gateway/ccm/api/perspectiveFolders/{folderId}/perspectives?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Move a perspective from a folder to another.
Account Identifier for the Entity.
Move associated budgets from perspective's current folder to destination folder
trueBad Request
This is Failure entity as defied in Harness
Internal server error
Returns the new CEView object
POST /gateway/ccm/api/perspectiveFolders/movePerspectives?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"newFolderId": "text",
"perspectiveIds": [
"text"
],
"moveAssociatedBudgets": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?