AdobeDocs / AdobeDocs/target.en
API example is NOT using the Delivery API like it says it should be
- Dominant language
- No language data
- Stars
- 0
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Issue in ./help/main/c-recommendations/c-recommendations-faq/integrating-recs-email.md
Under section Method 1: Use the delivery API (Preferred) the API example is NOT using the Delivery API.
The example should look something like this:
`curl -X POST \
'https://clientcode.tt.omtrdc.net/rest/v1/delivery?client=clientcode&sessionId=9979fc32c26d49df8e04a6d734' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"context": {
"channel": "web"
},
"id": {
"tntId": "4920148a9a9f4061a3aff5cfe5be1cb3.35_0",
"marketingCloudVisitorId": "54485242253040699773642612187575264854"
},
"property": {
"token": "b468a242-64a4-32a0-ca0c-890bddd78789"
},
"execute": {
"mboxes": [
{
"parameters": {
"entity.id": "article-123",
"entity.event.detailsOnly" : "true"
},
"index": 0,
"name": "email-mbox"
}
]
}
}'`
The note should be updated too I think. My example uses a marketingCloudVisitorId (aka ECID), but you could take it out.
Contributor guide
Research direction
Open help/main/c-recommendations/c-recommendations-faq/integrating-recs-email.md and inspect the “Method 1: Use the delivery API (Preferred)” section. Replace the inaccurate API example with a Delivery API example and update the note about marketingCloudVisitorId; the section should accurately describe the request and identifier options.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100