sending multiple Supplemental Data Id in the same request | Community
Skip to main content
New Participant
January 19, 2023
Solved

sending multiple Supplemental Data Id in the same request

can we send multiple Supplemental Data Id in the same request to Delivery API? Adobe Delivery API 

curl -X POST \
  'https://demo.tt.omtrdc.net/rest/v1/delivery?client=demo&sessionId=d359234570e04f14e1faeeba02d6ab9914e' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
      "context": {
        "channel": "web",
        "browser" : {
          "host" : "demo"
        },
        "address" : {
          "url" : "http://demo.dev.tt-demo.com/demo/store/index.html"
        },
        "screen" : {
          "width" : 1200,
          "height": 1400
        }
      },
      "id": {
        "marketingCloudVisitorId": "2304820394812039"
      },
      "property" : {
        "token": "08b62abd-c3e7-dfb2-da93-96b3aa724d81"
      },
      "experienceCloud": {
        "analytics": {
          "supplementalDataId" : "23423498732598234",
          "trackingServer": "ags041.sc.omtrdc.net",
          "logging": "server_side"
        }
      },
        "execute": {
        "mboxes" : [
          {
            "name" : "homepage",
            "index" : 1
          }
        ]
      }
    }'

 can I also determine Supplemental Data Id to a specific mbox if I have more than one ?

curl -X POST \
  'https://demo.tt.omtrdc.net/rest/v1/delivery?client=demo&sessionId=d359234570e04f14e1faeeba02d6ab9914e' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
      "context": {
        "channel": "web",
        "browser" : {
          "host" : "demo"
        },
        "address" : {
          "url" : "http://demo.dev.tt-demo.com/demo/store/index.html"
        },
        "screen" : {
          "width" : 1200,
          "height": 1400
        }
      },
      "id": {
        "marketingCloudVisitorId": "2304820394812039"
      },
      "property" : {
        "token": "08b62abd-c3e7-dfb2-da93-96b3aa724d81"
      },
      "experienceCloud": {
        "analytics": {
          "supplementalDataId" : "23423498732598234",
          "trackingServer": "ags041.sc.omtrdc.net",
          "logging": "server_side"
        }
      },
        "execute": {
        "mboxes" : [
          {
            "name" : "homepage",
            "index" : 1
          },
{ "name" : "homepage2", "index" : 1 }
] } }'

 Thanks For Your Help

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
AbuSh1Accepted solution
Level 4
January 25, 2023

Please read this section how the SDID works

https://www.npmjs.com/package/@adobe-mcid/visitor-js-server


- Use reset server state to generate new SDID (part of visitor id service)

- Use SDID to your Target payload (use Target Server Side Batch for multiple mBoxes);
- Send the same SDID in Analytics payload
(So you are not generating multiple SDID)
 /

1 reply

AbuSh1Accepted solution
Level 4
January 25, 2023

Please read this section how the SDID works

https://www.npmjs.com/package/@adobe-mcid/visitor-js-server


- Use reset server state to generate new SDID (part of visitor id service)

- Use SDID to your Target payload (use Target Server Side Batch for multiple mBoxes);
- Send the same SDID in Analytics payload
(So you are not generating multiple SDID)
 /

Translate