- 如何在调用Marketing Cloud contact创建AP
- 使用postman创建Marketing Cloud的Conta
- 如何使用Marketing Cloud的扩展字段作为搜索条件进行
- 使用postman修改SAP Marketing Cloud c
- Marketing Cloud里取得系统contact数目的AP
- 如何用Java代码在SAP Marketing Cloud里创建
- SAP Marketing Cloud Contact 模型的导
- SAP Marketing Cloud的Contact导入配置和
- 使用nodejs实现OData的batch操作在Marketin
- SAP Marketing Cloud里的contact mai
需求:扩展字段“微信ID”是我创建出来的extension field,我想用Marketing Cloud提供的contact creation API,在创建contact时也能支持这个扩展字段。换言之,我希望在调用contact create API时,给Extension field维护值,contact创建成功后,Extension field会被调用API时传入的值填充。
![](https://img.haomeiwen.com/i2085791/5a8bba0bae731658.png)
首先在Chrome开发者工具里找到这个字段的技术名称technical name:YY1_WECHATID_MPS
![](https://img.haomeiwen.com/i2085791/be0a1b7e94c96e4b.png)
在Contact创建页面上把扩展字段配置出来,
![](https://img.haomeiwen.com/i2085791/a2fe13f23e139438.png)
创建一个新的contact实例, 给这个扩展字段维护一个值,比如i042416, 通过chrome开发者工具的network标签页观察创建时的payload:
![](https://img.haomeiwen.com/i2085791/74ca1f03ce161d1b.png)
然后在nodejs代码里依法将扩展字段的名称和值维护进去即可:
![](https://img.haomeiwen.com/i2085791/024fe6b94822938f.png)
完整源代码:https://github.com/i042416/wechat/blob/master/unittest/MarketingCloud/createContact.js
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
![](https://img.haomeiwen.com/i2085791/dcc88e58a67cac8c.png)
网友评论