on 2023 Feb 20 3:07 PM
Hello All,
I am trying to update the externalized parameters of an iFlow in SAP Cloud Integration by external OData call to the Remote API. I have followed this link to implement the logic. But it is failing with 400 error every time. Given below are the screenshots from my requests:
Request
--batch<br>Content-Type: multipart/mixed; boundary=changeset_6397a5da-acd0-4d73-879e-f26bc3e2bb56<br>--changeset_6397a5da-acd0-4d73-879e-f26bc3e2bb56<br>Content-Type: application/http<br>Content-Transfer-Encoding: binary<br>PUT IntegrationDesigntimeArtifacts(Id='Test_iFlow',Version='active')/$links/Configurations('Log03_GS_Log_LegalEntity_SF') HTTP/1.1<br>Content-Length: 98<br>Accept: application/json<br>Content-Type: application/json<br>{"ParameterKey":"Log03_GS_Log_LegalEntity_SF","ParameterValue":"Dummy12","DataType":"xsd:string"}<br>--changeset_6397a5da-acd0-4d73-879e-f26bc3e2bb56<br>Content-Type: application/http<br>Content-Transfer-Encoding: binary<br>PUT IntegrationDesigntimeArtifacts(Id='Test_iFlow',Version='active')/$links/Configurations('Log01_GS_Log_Region_SF') HTTP/1.1<br>Content-Length: 95<br>Accept: application/json<br>Content-Type: application/json<br>{"ParameterKey":"Log01_GS_Log_Region_SF","ParameterValue":"Dummysa12","DataType":"xsd:string"}<br>--changeset_6397a5da-acd0-4d73-879e-f26bc3e2bb56--<br>--batch--
<batchParts><br> <batchChangeSet><br> <batchChangeSetPart><br> <method>PUT</method><br> <uri>IntegrationDesigntimeArtifacts(Id='Test_iFlow',Version='active')/$links/Configurations('Log03_GS_Log_LegalEntity_SF')</uri><br> <Configurations><br> <Configuration><br> <ParameterKey>Log03_GS_Log_LegalEntity_SF</ParameterKey><br> <ParameterValue>Dummy12</ParameterValue><br> <DataType>xsd:string</DataType><br> </Configuration><br> </Configurations><br> </batchChangeSetPart><br> <batchChangeSetPart><br> <method>PUT</method><br> <uri>IntegrationDesigntimeArtifacts(Id='Test_iFlow',Version='active')/$links/Configurations('Log01_GS_Log_Region_SF')</uri><br> <Configurations><br> <Configuration><br> <ParameterKey>Log01_GS_Log_Region_SF</ParameterKey><br> <ParameterValue>Dummysa12</ParameterValue><br> <DataType>xsd:string</DataType><br> </Configuration><br> </Configurations><br> </batchChangeSetPart><br> </batchChangeSet><br></batchParts>
Error:
I found a similar post but it is unanswered. The PUT request in batch is also not working from POSTMAN.
Any hints or suggestion will be highly appreciated. Thanks!
-Faisal
Request clarification before answering.
User | Count |
---|---|
61 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.