DUPLICATE: Mapper Not Wrapping Array Content in Separate Objects
Duplicate of Mapper Not Wrapping Array Content in Separate Objects — oracle-ccc
Unable to delete. Please ignore
-------------------
Oracle Integration Classic (Version 20.1.3)
Hi Community
We are using OIC Classic with the REST Adapter. The REST web service requires a POST and expects the following payload structure:
{ "name": "A string", "parameters": [ { "InvoiceNumber": "A string" }, { "BusinessUnit": "A string" }, { "SupplierName": "A string" } ] }
When we wire this up via the mapper, the result is that OIC sends the request payload without the values enclosed in a single object rather than each value in a separate object:
{ "name": "ValidateInvoice", "parameters": [ { "InvoiceNumber": "ABCD-1234" "BusinessUnit": "My Business Unit" "SupplierName": "ABC Limited" } ] }
Tagged:
0