10-04-23 09:28 PM
I am calling https://[myhost]/api/v7/workqueues/[myqueueid]/items/batch with this
Answered! Go to Answer.
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"
}
}
]
}
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"
}
}
]
}
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"
}
]
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"
}
}
]
}
}
}
]
}