Save Recommendation Decisions
Save visit and task recommendation decisions.
This object is available in API version 51.0 and later for users with a Consumer Goods Cloud license.
URI: /services/data/vXX.X/actions/standard/saveRecommendationDecision
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
actionParams | string | Required parameters based on the action type that are relevant to process a decision. |
actionType | string | Required. Decision made for a recommendation. The possible values are:
|
recommendationId | string | Unique identifier of the recommendation. |
| Input | Type | Description |
|---|---|---|
actionMessage | string | Details about why a recommendation is accepted or rejected. |
actionStatus | string | Indicates whether a recommendation decision succeeded or failed. |
Sample Request
JSON Request Body
Sample Response
JSON Response Body
Sample Error
JSON Error Body