将事件发送到的其他步骤 Journey Orchestration

注意

创建事件时, Journey Orchestration 自动为此事件生成ID。 推送事件的系统不应生成ID,它应使用有效负荷预览中提供的ID。 请参阅此页

配置要发送到的事件 Streaming Ingestion APIs 和 Journey Orchestration,则需要执行以下步骤:

  1. 从Adobe Experience Platform API获取入口URL(请参阅 流式引入API)。
  2. Event 菜单。 请参阅此页

然后,您需要配置数据系统,以使用您复制的有效负载将事件推送到流摄取API:

  1. 设置对流摄取API URL的POSTAPI调用(称为入口)。
  2. 使用您复制的有效负荷 Journey Orchestration 在对流摄取API的API调用的正文(“数据部分”)中。 请参阅下面的示例
  3. 确定在何处获取有效负载中存在的所有变量。 示例:如果事件应传达地址,则粘贴的有效负载将显示“地址”:"string"。 “string”应被自动填充正确值(要向其发送消息的人员的电子邮件)的变量替换。 请注意,在有效负荷预览中, Header 部分,我们会自动填充许多值,以便您的工作。
  4. 选择“application/json”作为正文类型。
  5. 在标题中使用键“x-gw-ims-org-id”传递您的IMS组织ID。 对于值,请使用您的IMS组织ID("XXX@AdobeOrg")。

以下是流摄取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进行故障诊断,请参阅 页面.

在此页面上