需求:我在Marketing Cloud的contact模型上用custom field这个应用创建了一个Extension field,名称为微信ID。
现在客户的需求是使用这个字段作为过滤条件进行搜索。
首先在界面上执行一次搜索,在Chrome开发者工具network标签里将这次搜索中前端发给后台的HTTP请求明细记录下来:
然后在postman里照样维护一份:
payload: --batch_bd03-9977-8095 Content-Type: application/http Content-Transfer-Encoding: binary
GET InteractionContacts?sap-client=100&$skip=0&$top=15&$filter=YY1_WECHATID_MPS%20eq%20%27i042410%27&$select=ImageURL%2cName%2cContactLevelName%2cCountryName%2cCity%2cEMailAddress%2cPhoneNumber%2cMobilePhoneNumber%2cCorporateAccountName%2cInteractionContactUUID%2cRelationship%2cType&$inlinecount=allpages HTTP/1.1 sap-cancel-on-close: true Cache-Control: max-age=360 sap-contextid-accept: header Accept: application/json Accept-Language: en DataServiceVersion: 2.0 MaxDataServiceVersion: 2.0 x-csrf-token: fsZ87xxAy55LLhk56CCjCw==
--batch_bd03-9977-8095--
测试结果如下:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
来源:oschina
链接:https://my.oschina.net/u/3771578/blog/3054071