Get Started with Consumer Goods Cloud
Recommendation Decisions
Promotion Import Status
Ingest Promotions
Begin Promotion Import
Derive and Copy Promotions with MetadataWizard and Business Object API
API End-of-Life Policy
Previous Versions
Save visit or task recommendation decisions.
1services/data/vXX.X/connect/visit/recommendations/recommendation-decisions51.0
No
POST
1{ "recommendationDecision": "Accept",
2 "recommendationIds": ["9Tuxx0000004Eu0CAE"],
3}| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
recommendationDecision | String | The unique identifier of a recommendation decision that is taken for recommendations. | Required | 51.0 |
recommendationDecisionParams | Map<String, String> | The unique identifier of the other parameters that are relevant to process the decision taken. | Optional | 51.0 |
recommendationIds | String[] | The unique identifier of the recommendations for which the recommendation decision is taken. | Required | 51.0 |
Recommendation Decisions Output
1{
2 "recommendationDecisionDetails" : [ {
3 "message" : "Visit cannot be created in the past date",
4 "isSuccess" : false,
5 "recommendationId" : "9Tuxx0000004Eu0CAE"
6 },
7 {
8 "message" : "",
9 "isSuccess" : true,
10 "recommendationId" : "9Tuxx0000004Eu0CAE"
11 }
12 ],
13 "status" : {
14 "code" : "200",
15 "message" : "70 out of 80 visits are scheduled."
16 “totalRecommendations” : 80
17 “successCount: : 70
18 }
19}