How to pass array items to ONE Transaction item in queue using cloud orchestrator api

Hi I tried to pass array items to ONE Transaction item to queue using cloud orchestrator api but getting error as "Parameters must not be Null ". Can you please let me know if it is possible to pass array value directly to queue via API?

Because in this post, they have mentioned it is not possible to pass array directly to queue

How to fix the issue?

Below is my array payload :

{

“itemData”: {

“Priority”: “Normal”,

“Name”: “queue3”,

“SpecificContent”: {

“shopName”: " webshop",

        "srNumber": "SR10036",

        "location": "Germany",

         "emailAddress": "sathish@outlook.com",

        "deliverTO": "sathish kumar",

        "date": "Tue, 28 Sep, 2021",

{

“Products”:[{
“productID”: “VM_580-ADFO”,
“productName”: “Jabra Evolve 40 UC Stereo”,
“qty”: 1
},
{
“productID”: “VM_7599-838-109”,
“productName”: “Wireless Keyboard”,
“qty”: 2
}]}

Looks like duplicate of:

And when refering to different documentations the need of primitive datatypes within the specificContent String /Object Dict is mentioned (along the hint of not using arraysin e.g. schemas)

that is why we do serializing the array

In the desribed procedure

  • the String Array firstHalf = {“1”,“2”,“3”,“4”}
  • serialized by: JSONConvert.SerializeObject(firstHalf)
  • as now for the SpecificContent Dictionary Entry a string is used instead of an array it will be accepted

Duplicate of Array payload to queue via API