修改表字段属性_使用postman修改SAP Marketing Cloud contact主数据
Marketing Cloud里的contact主數據,創建成功后也不是所有字段都能夠被修改。在Personal data區域的字段是可以被修改的。
比如我在“客戶屬性”字段里維護了一些值:
然后點保存:
其中第二個batch操作是通過一個roundtrip讀取contact模型下多個子節點的數據,和我們這個修改的場景沒有關聯。
使用postman進行修改:
body字段維護以下內容:
--batch_1f7d-bd35-caed
Content-Type: multipart/mixed; boundary=changeset_8f9e-9a44-9f9e
--changeset_8f9e-9a44-9f9e
Content-Type: application/http
Content-Transfer-Encoding: binary
MERGE Consumers('02000A21209F1EE99CDF1A1FC9AA8065')?sap-client=100 HTTP/1.1
Cache-Control: max-age=360
sap-contextid-accept: header
Accept: application/json
Accept-Language: en
DataServiceVersion: 2.0
MaxDataServiceVersion: 2.0
x-csrf-token: fQ2Pwfmf0K_LVYoKV9QYUw==
Content-Type: application/json
Content-Length: 215
{"__metadata":{"uri":"https://jerry.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/Consumers('02000A21209F1EE99CDF1A1FC9AA8065')","type":"CUAN_CONTACT_SRV.Consumer"},"YY1_CustomerType_ENH":"Jerry測試2"}
--changeset_8f9e-9a44-9f9e--
--batch_1f7d-bd35-caed--
我想修改的字段的新的值為:Jerry測試2
執行postman后,發現值已經更新了,修改成功
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的修改表字段属性_使用postman修改SAP Marketing Cloud contact主数据的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 高通设备找不到连接QXDM的端口
- 下一篇: Qt 中事件与处理