Greetings,
My SD+ Environment: 10.5 Build 10536
I'm trying to get all tickets (using filterby All_Requests so it looks at everything) for specific accounts.
I figured, I could use "search_criteria" to accomplish this, but no matter what I do, all requests are being returned as if it's completely ignoring the criteria.
I've tried taking the filterby out, then I get a user doesn't have permission (even though I'm an admin lol).
I would hate to get all tickets then filter simply because that would take forever.
Here's my request:
getcustomertickets = {
"operation":{
"details":{
"from":"0",
"limit":"1000",
"sort_order": "asc",
"get_total_count": "true",
"search_criteria": [
{
"field":
"account",
"condition": "is",
"value": customer_id,
}
],
"filterby": "All_Requests"
}
}
}
Now, for the record, I've tried so many different combinations of the field name "account". E.g. "account.name", "accountname", etc.
And in reality, I would like it to 'not' be case sensitive and 'contains' the words, but I figured I would at least start by getting this working.
Any ideas what I'm doing wrong?
Thanks in advance.