- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-04-23 09:28 PM
I am calling https://[myhost]/api/v7/workqueues/[myqueueid]/items/batch with this
in the body of my request. I'm getting
I don't understand this. I have a data item and it isn't an empty list. This is following the format from the documentation. What am I missing here?
Also, the data we're trying to pass is our Key Name. In our case, the Key Name is a piece of data called Name. There's no place to specify that in the Data items being passed.
Any assistance would be appreciated.
Tracy Green
------------------------------
Tracy Green
Systems Developer III
Federated Insurance
America/Chicago
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-04-23 10:51 AM
Hi Tracy - try including the field names like this:
"data": {
"rows": [
{
"Field1":{
"valueType": "Text",
"value": "ThisIsMyValue"
},
"Field2":{
"valueType": "Text",
"value": "ThisIsMyOtherValue"
}
}
]
}
------------------------------
John Carter
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-04-23 10:51 AM
Hi Tracy - try including the field names like this:
"data": {
"rows": [
{
"Field1":{
"valueType": "Text",
"value": "ThisIsMyValue"
},
"Field2":{
"valueType": "Text",
"value": "ThisIsMyOtherValue"
}
}
]
}
------------------------------
John Carter
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-09-23 01:45 PM
Hi John,
I have a problem that is in the same alley.
The payload underneath results in the same error message. I'm following the syntax from the guides, but unsure if this the correct way for a Collection.
[
{
"data": {
"rows": [
{
"Route": {
"valueType": "Text",
"value": "CreateOrder"
},
"Package": {
"valueType": "Collection",
"value": [
{
"Name": {
"valueType": "Text",
"value": "Test Testerson"
}
},
{
"Name": {
"valueType": "Text",
"value": "Test Testerson"
}
}
]
}
}
]
},
"priority": 5,
"status": "Pending"
}
]
------------------------------
Vemund Fjeld
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-23 03:08 PM
Hi Vemund - try something like this, where Field3 the collection field
"data": {
"rows": [
{
"Field1":{
"valueType": "Text",
"value": "ThisIsMyValue"
},
"Field2":{
"valueType": "Text",
"value": "ThisIsMyOtherValue"
},
"Field3":{
"valueType": "Collection",
"value": {
"rows": [
{
"Field3a":{
"valueType": "Text",
"value": "Row1"
}
},
{
"Field3a":{
"valueType": "Text",
"value": "Row2"
}
},
{
"Field3a":{
"valueType": "Text",
"value": "Row3"
}
}
]
}
}
}
]
}
------------------------------
John Carter
Blue Prism
------------------------------
