Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

multiple messages to AEP using http api

Avatar

Level 2

When I am sending multiple records as payloads using postman as a streaming source to the AEP only the first record is getting ingested , how to send multiple messages using a http Api connection?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Please use the following payload format

 

{
"header": {
"schemaRef": {
"id": "https://ns.adobe.com/orgname/schemas/d44a7fe25c90b7f739ae5b1dc4878bdf647687e",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
},
"imsOrgId": "1223242424@AdobeOrg",
"datasetId": "1112319c37dba91c07b08f0d"
},
"body": {
"xdmMeta": {
"schemaRef": {
"id": "https://ns.adobe.com/orgname/schemas/d44a7fe25c90b7f739ae5b1dc4878bdf647687e",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
}
},
"xdmEntity": {
"_orgname": {
"cust_id": "25598",
"Service": "marketing",
"Opt_Status": true,
"Phone_Number": "11122333"
},
"_orgname": {
"cust_id": "25591",
"Service": "marketing",
"Opt_Status": true,
"Phone_Number": "11124444"
},
"_repo": {
"createDate": "2023-01-09T12:00:00-06:00",
"modifyDate": "2023-01-09T12:00:00-06:00"
}
}
}
}

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Please use the following payload format

 

{
"header": {
"schemaRef": {
"id": "https://ns.adobe.com/orgname/schemas/d44a7fe25c90b7f739ae5b1dc4878bdf647687e",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
},
"imsOrgId": "1223242424@AdobeOrg",
"datasetId": "1112319c37dba91c07b08f0d"
},
"body": {
"xdmMeta": {
"schemaRef": {
"id": "https://ns.adobe.com/orgname/schemas/d44a7fe25c90b7f739ae5b1dc4878bdf647687e",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
}
},
"xdmEntity": {
"_orgname": {
"cust_id": "25598",
"Service": "marketing",
"Opt_Status": true,
"Phone_Number": "11122333"
},
"_orgname": {
"cust_id": "25591",
"Service": "marketing",
"Opt_Status": true,
"Phone_Number": "11124444"
},
"_repo": {
"createDate": "2023-01-09T12:00:00-06:00",
"modifyDate": "2023-01-09T12:00:00-06:00"
}
}
}
}

Avatar

Community Advisor

Hi @vs1985 - There are ways to send multiple messages to HTTP streaming API, i have done it myself. Please use the format suggested on the document https://experienceleague.adobe.com/docs/experience-platform/ingestion/tutorials/streaming-multiple-m... 

 

Hope this helps,

Arpan