天天看點

如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋

需求:我在Marketing Cloud的contact模型上用custom field這個應用建立了一個Extension field,名稱為微信ID。

現在客戶的需求是使用這個字段作為過濾條件進行搜尋。

如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋
首先在界面上執行一次搜尋,在Chrome開發者工具network标簽裡将這次搜尋中前端發給背景的HTTP請求明細記錄下來:
如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋
然後在postman裡照樣維護一份:
如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋
如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋

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--

測試結果如下:

如何使用Marketing Cloud的擴充字段作為搜尋條件進行搜尋

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。

繼續閱讀