Recommendation Presets
Recommendation apis for recommendations presets.
Update an existing Recommendation Preset for the given Preset ID.
Unique identifier for the budget
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a generic string message when the operation is successful
PUT /gateway/ccm/api/recommendation/preset/{id}?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"uuid": "text",
"createdAt": 1,
"lastUpdatedAt": 1,
"accountId": "text",
"resourceType": "WORKLOAD",
"name": "text",
"description": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Delete a Recommendation preset for the given preset ID.
Unique identifier for the preset
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a text message whether the operation was successful
DELETE /gateway/ccm/api/recommendation/preset/{id}?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"
}
]
}Get all presets for given account
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns presets
GET /gateway/ccm/api/recommendation/preset?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"
}
]
}Create a Preset to set preferences for your recommendations
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns true or false
POST /gateway/ccm/api/recommendation/preset?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"uuid": "text",
"createdAt": 1,
"lastUpdatedAt": 1,
"accountId": "text",
"resourceType": "WORKLOAD",
"name": "text",
"description": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?