zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Offline creation url pattern

url pattern Creation OFFLINE
2023-09-14 09:03:54 时间

Created by Wang, Jerry on May 01, 2016

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

Still a batch: https://sap7080/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:

image

Navigation property modeled in Account node:

image

再看我们的complex note creation:

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

image

and directly specify headerGuid in the payload:

image