REST API to get multiple lead by updated day | Community
Skip to main content
January 10, 2018
Solved

REST API to get multiple lead by updated day

  • January 10, 2018
  • 1 reply
  • 2153 views

hi

i want sync lead data to my system, i use MuleESB and it will be triggered by quartz( timer). i have to get updated record in a time frame.

for example, every hour, the program will be triggered and automatically get record(lead) be updated in last hour. and create or update to my system.

i don't know which REST can help me to get the record(lead) be updated in last hour.

please help!

regards,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

The REST activities.json endpoint (and pagingToken constrained by time of course).

Note with a very busy database, it will not be practical to get data on-the-hour because of the overhead of pagination and depending on

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
January 10, 2018

The REST activities.json endpoint (and pagingToken constrained by time of course).

Note with a very busy database, it will not be practical to get data on-the-hour because of the overhead of pagination and depending on

January 11, 2018

THANK YOU~!!! VERY~!!!!

now i use activity type 12 and 13.

but i still have a question, i am in Taipei Taiwan(GMT+8), and now is 2018-01-11 09:50:00, my page token use 2018-01-11 11:00:00, it should have empty result, but it still have many.

could you please tell me why?

SanfordWhiteman
New Participant
January 11, 2018

Because you're passing an ISO UTC date string.