Search for tickets where create date is less then - or greater then a specific date. You have to lookup the property names yourself but use search to get an array of ticket id while using search.
Then compare the array you got from associations with the ids that you got from the search. If the id is in both search as well as the association -- do a specific task -- if not - ignore.
Search for tickets where create date is less then - or greater then a specific date. You have to lookup the property names yourself but use search to get an array of ticket id while using search.
Then compare the array you got from associations with the ids that you got from the search. If the id is in both search as well as the association -- do a specific task -- if not - ignore.
Do you have access to the portal and can go to settings - properties - filter by ticket properties - find the custom made property - edit property - find the internal name using the "</>" sign.
Let me give you some background of this issue, we have a Ticket object as HubSpot defined object and I have one custom object call Assets, When I create the ticket I used to create the associates for a ticket to Asset as well.
Now the point is, I want to fetch the ticket details based on any Assets that's when I had used association.{meta-type}-{object_type_id} from Ticket search API. Here is the API query URL and json data:
Using the above association I have got the list of Tickets id's for that asset, this may be more than 100 IDs [tickets].
Now I want to fetch the Ticket id which is created in the last couple of hours and with a specific subject. I have used API - <https://api.hubapi.com/crm-objects/v1/objects/tickets/batch-read> and passed the list of Ticket IDs [important] but not sure how to add another filter such as ticket subject and created date and get the ticket id.
Could you please let me know if any other way to get this info or in this process how to add the filters?