Created by Wang, Jerry on May 01, 2016

BP 创建dependent object “MarketingAttribute” 的实现:看红色的url

Still a batch: https://sap.corp:7080/sap/opu/odata/sap/CRM_BUPA_ODATA/$batch?sap-client=001
–batch_7717-8dd0-f023
Content-Type: multipart/mixed; boundary=changeset_e80d-85a6-112b
–changeset_e80d-85a6-112b
Content-Type: application/http
Content-Transfer-Encoding: binary
POST AccountCollection(‘JERRYACOUN’)/MarketingAttributes HTTP/1.1
Accept-Language: en
Accept: application/json
MaxDataServiceVersion: 2.0
DataServiceVersion: 2.0
x-csrf-token: _Ba_IieEScOXXNi366UbsQ==
Content-Type: application/json
Content-Length: 292

url里是dependent node名字+(当前account id)+Navigation Property name:

Offline creation url pattern

Navigation property modeled in Account node:

Offline creation url pattern

再看我们的complex note creation:

There is gap in our complex note creation. 这一块前台需要修改url的pattern,后台也需要相应调整。

Offline creation url pattern

and directly specify headerGuid in the payload:

Offline creation url pattern

相关文章: