创建事件时, Journey Orchestration 自动为此事件生成ID。 推送事件的系统不应生成ID,它应使用有效负载预览中可用的ID。 请参阅此页。
配置要发送到的事件 Streaming Ingestion APIs 并用于 Journey Orchestration,您需要执行以下步骤:
然后,您需要配置数据系统,以使用您复制的有效负载将事件推送到流式引入API:
以下是流摄取API事件的示例:
{
"header": {
"msgType": "xdmEntityCreate",
"msgId": "c25585b9-252e-431d-b562-e73da70c04e7",
"msgVersion": "1.0",
"xactionId": "f5995abe-c49d-4848-9577-a7a4fc2996fb",
"datasetId": "string - required if you want the data to land in a specific dataset - not mandatory",
"imsOrgId": "XXX@AdobeOrg",
"schemaRef": {
"id": "XXX",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
},
"source": {
"name": "Journeys"
}
},
"body": {
"xdmMeta": {
"schemaRef": {
"id": "XXX",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
}
},
"xdmEntity": {
"_instance_name": {
"person": {
"firstName": "string",
"lastName": "string",
"gender": "string",
"birthYear": 10,
"emailAddress": "string"
}
},
"identityMap": {
"Email": [
{
"id": "string"
}
]
},
"_id": "string",
"timestamp": "2018-05-29T00:00:00.000Z",
"_experience": {
"campaign": {
"orchestration": {
"eventID": "XXX"
}
}
}
}
}
}
为了便于识别粘贴“数据”部分的位置,您可以使用JSON可视化工具,例如 https://jsonformatter.curiousconcept.com
要排除流摄取API故障,请参阅此 页面.