Relevant to: Event Lead Management
Often, the Integrate Events Public API is used to retrieve customer leads that have been created or updated within the last 'x' (number) hours.
If you're querying the API as part of your event lead management setup and would like to obtain this data, you can setup a cron job to request any recent changes at a regular interval. Once a response is received, any updates can be applied to another system of record.
How to query the API for 'Events Created & Updated'
Two separate date-time attributes need to be queried. One date attribute to filter for 'records created recently' and the another for 'records updated recently'. |
The specific date/time attributes are created and dateUpdated (represented as updated.dateUpdated):
Attribute | Format | Example |
updated.dateUpdated |
Unix timestamp | 1579173732 |
created |
Url encoded ISO-8601 timestamp | 2020-01-16T11%3A23%3A10%2B00%3A00 |
An example of the full GET requesthttps://api.integrate-events.com/v2/events/{event_id}/records?filters[]=and-updated.dateUpdated-gte-1579173732&filters[]=or-created-gte-2020-01-16T11%3A23%3A10%2B00%3A00
|