on 2020 Mar 20 4:54 AM
Hello Experts,
For Update Operation (PUT/PATCH), I need to pass ObjectID/UUID for external Rest integration within URL end path, How to achieve this?
Using URL parameters we can pass parameters, but not Object ID in below required format and that will end up in key & value pair which is not accepted for Update Operation.
URL format with dynamic ObjectID: https://host/endpath('ObjectID')
Thanks,
Siddu
Request clarification before answering.
Hi Siddu,
you can achive this by using the WebServiceUtilities.ExecuteRESTService function.
The 5th parameter passed to this function determines the HTTP resource: "Resource name of the rest service that is concatenated to the defined URL in the service of the communication arrangement"
So define the 'static' part within your communication arrangement like "/endpath" and set this parameter to "('[ObjectID]')". The called URL will then look like this: [Host]/endpath('[ObjectID]')
See 7.2.5.1.20 Web Service Utilities within the Studio Guide for further information: https://help.sap.com/viewer/cbcebe3cfb1647a8b0322c18dbb0b481/2020.02/en-US/75d2f40373e21014a153e5dcf...
Best regards
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.