Add Queue items using cloud orchestrator api

Hi @loginerror, I tried passing items using cloud orchestrator api but getting error as
Parameters must no be bull as below in picture. Can you let me know how to solve it

Thanks.

Hi @sushmitha.e

There is already a SpecificContent Property in the input JSON, you should put your things there
image

Hi @loginerror, 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

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
}]}

Hi @Sathish_Kumar_S

Could you maybe post some screenshots of how you have the request configured in I would assume Postman?

Thank you for your response… yes , we are trying to pass the the array payload via API to queue… below is the payload in body section in postman which is not working

When we send only one product information via add items to queue API… i was able to add into queue… Below payload is working fine from postman

{
“itemData”: {
“Name”: “queue3”,
“Priority”: “Normal”,
“SpecificContent”: {
“First”: “Sathish Kumar”,
“First@odata.type”: “string”,
“Fourth”: “Sathish”,
“firstName”: “kumar”,
“lastName”: “Isha”,
“shopName”: “webshop”,
“srNumber”: “204303”,
“location”: “1 Germany”,
“productID”: “VM_DELL-DA300”,
“productName”: “Dell DA300 USB-C Mobile Adapter”,
“productQty”: “1”,
“emailAddress”: “sk@outlook.com”,
“deliverTO”: “sathish”,
“date”: “Tue, 28 Sep, 2021”,
“projectWBS”: “SR-4113-ALLOC”,
“assetNumber”: “000000100013”,
“AnotherKey”: true
}
}
}