cancel
Showing results for 
Search instead for 
Did you mean: 

About Blue Prism API :Add items to a queue

AyaNishiwaki
Level 2
I want to add data to the work queue using "Add items to a queue" of BluePrism API.
"data"
, which is an input item, is described in the help as ↓.

In this case, how should the field name be specified?
It seems that the data type and data content are not specified, so I want to check it.


"data"
: {
  • "rows": [
    • {
      },
    • {
      }
    ]
},




------------------------------
Aya Nishiwaki
Engineer
NEC Nexsolutions, Ltd.
Asia/Tokyo
------------------------------
2 REPLIES 2

Hi Aya,

I tested it some time ago and after clarification with BP Product Manager the json structure should be as follows:

[
         {
                 "data": {
                          "rows": [
                                   {
                                   "ItemKey": {
                                            "valueType": "text",
                                            "value": "001"
                                            } ,
                                   "name": {
                                            "valueType": "text",
                                            "value": "zdenek"
                                            },
                                   "surname": {
                                            "valueType": "text",
                                            "value": "kabatek"
                                            }
                                   }
                          ]
                          },
                 "deferredDate": "2021-04-11T19:00:00Z",
                 "priority": 0,
                 "tags": [
                          "This is testing REST API"
                          ],
                 "status": "Ready for processing"
         }
]

I believe it is what you are looking for.

Regards,

Zdenek



------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------

mfall30
Level 2
When defining the work queue within the BP Admin Console, a Key Name is provided and this 'key name' will be the data (aka collection) returned when getting work item

------------------------------
Malcolm Fallon
------------------------------