首页 > SAP CLOUD > apis-Key Value Map Operations policy
2019
08-27

apis-Key Value Map Operations policy

在维护Key Value Map Operations策略时,增加GET如下策略,

<!– Key/value pairs can be stored, retrieved, and deleted from named existing maps by configuring this policy by specifying PUT, GET, or DELETE operations –>
<!– mapIdentifier refers to the name of the key value map –>
<KeyValueMapOperations mapIdentifier="urlMapper" async="true" continueOnError="false" enabled="true" xmlns="http://www.sap.com/apimgmt">
        <!– PUT stores the key value pair mentioned inside the element –>
        <Get assignTo="request.queryparam.ee" >
      <Key>
         <Parameter>bb</Parameter>
      </Key>
   </Get>
        <!– the scope of the key value map. Valid values are environment, organization, apiproxy and policy –>
        <Scope>apiproxy</Scope>
</KeyValueMapOperations>

表示在使用时把传入参数bb的值,传递给ee的值。最张结果如图。

apis-Key Value Map Operations policy - 第1张  | 优通SAP

最后编辑:
作者:yangsen
本站为个人博客网站,全由我个人维护,我从事SAP开发13年,其它ERP开发7年,基本都是零售行业。本站记录工作学习的过程, 有SAP相关询问专、兼职工作可随时联系我。 有网站相关的问题可直接在文章下方留言,或者联系我。 邮件:yan252@163.com给我。 QQ:415402519

留下一个回复

你的email不会被公开。