Marketing Cloud里的contact主数据,创建成功后也不是所有字段都能够被修改。在Personal data区域的字段是可以被修改的。
![21bfd546dd0b49ecdc0af86f4a341b0b.png](https://img-blog.csdnimg.cn/img_convert/21bfd546dd0b49ecdc0af86f4a341b0b.png)
比如我在“客户属性”字段里维护了一些值:
![3cc91dcf2cb3d350b0f48153ab8f7fab.png](https://img-blog.csdnimg.cn/img_convert/3cc91dcf2cb3d350b0f48153ab8f7fab.png)
然后点保存:
![7a848e1593a0b0d0fd0c1066152eb2b9.png](https://img-blog.csdnimg.cn/img_convert/7a848e1593a0b0d0fd0c1066152eb2b9.png)
其中第二个batch操作是通过一个roundtrip读取contact模型下多个子节点的数据,和我们这个修改的场景没有关联。
使用postman进行修改:
![54e7f02fd33a3e577f8ab2808382e616.png](https://img-blog.csdnimg.cn/img_convert/54e7f02fd33a3e577f8ab2808382e616.png)
body字段维护以下内容:
--batch_1f7d-bd35-caedContent-Type: multipart/mixed; boundary=changeset_8f9e-9a44-9f9e--changeset_8f9e-9a44-9f9eContent-Type: application/httpContent-Transfer-Encoding: binaryMERGE Consumers('02000A21209F1EE99CDF1A1FC9AA8065')?sap-client=100 HTTP/1.1Cache-Control: max-age=360sap-contextid-accept: headerAccept: application/jsonAccept-Language: enDataServiceVersion: 2.0MaxDataServiceVersion: 2.0x-csrf-token: fQ2Pwfmf0K_LVYoKV9QYUw==Content-Type: application/jsonContent-Length: 215{"__metadata":{"uri":"https://jerry.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/Consumers('02000A21209F1EE99CDF1A1FC9AA8065')