Create Recommendation

Create Recommendation

The recommendation identifier must be unique for the system.

Request
URI
POST
https://{api_host}/suite-api/api/recommendations
COPY
Request Body

The Recommendation to create

recommendation of type(s) application/json
Required

Show optional properties

{
    "description": "string"
}
"{\n  \"description\" : \"Restart the Virtual Machine\",\n  \"action\" : {\n    \"actionAdapterKindId\" : \"VcoRemediation\",\n    \"targetAdapterKindId\" : \"VMWARE\",\n    \"targetResourceKindId\" : \"VirtualMachine\",\n    \"targetMethod\" : \"reset\"\n  }\n}"
string
id
Optional

The recommendation id. Must be null during creation (System generated identifier)

string
description
Required

The description for the recommendation

object
action
Optional

Identifies an action the system may take to solve a problem.

Authentication
This operation uses the following authentication methods.
Responses
201

The created recommendation

Returns recommendation of type(s) application/json
"{\n  \"description\" : \"Restart the Virtual Machine\",\n  \"action\" : {\n    \"actionAdapterKindId\" : \"VcoRemediation\",\n    \"targetAdapterKindId\" : \"VMWARE\",\n    \"targetResourceKindId\" : \"VirtualMachine\",\n    \"targetMethod\" : \"reset\"\n  }\n}"
string
id
Optional

The recommendation id. Must be null during creation (System generated identifier)

string
description
Required

The description for the recommendation

object
action
Optional

Identifies an action the system may take to solve a problem.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"description:"string"}' https://{api_host}/suite-api/api/recommendations