Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

Data Insertion main and reference tables through POST call receives error

$
0
0

@prateek.mishra can you try inserting queueId not with the assumed auto incremented value of 24 but rather as follows:

{
"resource": [
{
"queueId":0,
"QueueName": "queueName11",
"IsIncluded": true,
"users": "test@test.com",
"holdtime": 234,
"groupby": "1",
"queue_fields_by_queueId": [
{
"fieldId": 3,
"leftcriteria": "in",
"rightcriteria": "not in",
"leftvalue": "ABC-PQR",
"rightvalue": "PQR-ABC"
}
],
"queue_fields_sort_by_queueid": [
{
"fieldId": 3,
"sort": "desc"
}
]
}
]
}

Let me know how the API responds.


Viewing all articles
Browse latest Browse all 5028

Trending Articles