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

InputTypeDescription
actionParamsstringRequired parameters based on the action type that are relevant to process a decision.
actionTypestringRequired. Decision made for a recommendation.
The possible values are:
  • Accept
  • Reject
recommendationIdstringUnique identifier of the recommendation.
InputTypeDescription
actionMessagestringDetails about why a recommendation is accepted or rejected.
actionStatusstringIndicates whether a recommendation decision succeeded or failed.

Sample Request

JSON Request Body

Sample Response

JSON Response Body

Sample Error

JSON Error Body