Create Recommendation Using POST

Create Recommendation Using POST

The recommendation identifier must be unique for the system.

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

The Recommendation to create

recommendation of type(s) application/json
Required

Show optional properties

{
    "description": "string"
}
{
    "action": {
        "actionAdapterKindId": "string",
        "targetAdapterKindId": "string",
        "targetMethod": "string",
        "targetResourceKindId": "string"
    },
    "description": "string",
    "id": "string"
}
action
Optional

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

string
description
Required

The description for the recommendation

string
id
Optional

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

Authentication
This operation uses the following authentication methods.
Responses
201

The created recommendation

Returns recommendation of type(s) application/json
{
    "action": {
        "actionAdapterKindId": "string",
        "targetAdapterKindId": "string",
        "targetMethod": "string",
        "targetResourceKindId": "string"
    },
    "description": "string",
    "id": "string"
}
action
Optional

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

string
description
Required

The description for the recommendation

string
id
Optional

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