Hi!
Im working for my company on retrieving all tickets for a given company we work for, and i also have to filter on dates.
What i have in the body-field now is:
{
"filterGroups":\[
{
"filters": \[
{
"propertyName": "createdate",
"operator": "LT",
"value": "2021-05-30T05:48:58.447Z"
},
{
"propertyName": "createdate",
"operator": "GT",
"value": "2021-04-30T05:48:58.447Z"
}
]
}
],
"sorts": \[
{
"propertyName": "createdate",
"direction": "DESCENDING"
}
],
"after": 0
}
As you see i dont filter on company ID, but im guessing it has something to do with
“associations.company.companyId”.
The url is btw: https://api.hubapi.com/crm/v3/objects/tickets/search?hapikey={{KEY}}
Thanks in advance!