on 2023 Feb 16 4:18 PM
Hello All,
I am trying to update the externalized parameter values of an iFlow using external HTTP call with POSTMAN. I followed the below links for doing this:
https://blogs.sap.com/2018/07/06/cloud-integration-remote-odata-apis-for-integration-flows/
But I am getting "405 Method Not Allowed" error in POSTMAN:
Given below the details of the POSTMAN request:
URL: https://myHost.hana.ondemand.com/api/v1/$batch/
Authentication: Basic
Headers:
X-CSRF-Token
Content-Type (multipart/mixed; boundary=batch_34fcd829-64e4-4139-b880-f24aa4ee9235)
Body:
-------------------------------------------------------------------
--batch_34fcd829-64e4-4139-b880-f24aa4ee9235
Content-Type: multipart/mixed; boundary=changeset_5e8e492f-2e3f-490f-9629-a4cd82a7aafd
--changeset_5e8e492f-2e3f-490f-9629-a4cd82a7aafd
Content-Type: application/http
Content-Transfer-Encoding: binary
PUT IntegrationDesigntimeArtifacts(Id='Testiflow1',Version='active')/$links/Configurations('Log03_GS_LogData') HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"ParameterKey" : "Log03_GS_LogData",
"ParameterValue" : "blr002",
"DataType" : "xsd:string"
}
--changeset_5e8e492f-2e3f-490f-9629-a4cd82a7aafd--
--batch_34fcd829-64e4-4139-b880-f24aa4ee9235--
----------------------------------------------------------------------
I have ensured that the token is correct. Also, I have tried using the boundary value without "--", it still fails with same error.
Any hints on what I might be doing wrong here? Thanks!
Note: The update is working when I do a PUT for single parameters with following URL:
https://myHost.hana.ondemand.com/api/v1/IntegrationDesigntimeArtifacts(Id='Testiflow1',Version='active')/$links/Configurations('Log03_GS_LogData')
Regards,
Faisal
Request clarification before answering.
For Anyone looking for an answer to this, the request will work with an POST operation with same body in form data format as given in problem description here. So, in POSTMAN, select the operation as POST and use PUT in batch body.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.