Fetch record based on last modified time in zoho crm

Fetch record based on last modified time in zoho crm

Hi

I have created a script in php in which I get Account name from zoho and store in database. I have created one more field last_modified_time in database. It will keep current time stamp by default. It is updated automatically when any action is performed on database.

I want to get only data from zoho whose modified time is greater than last_modified_time in database.
So I used  last Modified Time function to fetch the data but it is not working for me.
In php, I have created a function getdatafromzoho() which get All the data from zoho Account module.
I want to get only modified data not whole data. So I have used below URL by putting last modified Time condition,but it is no working. If I remove last modified time condition from the URL, then it is working fine.

https://crm.zoho.com/crm/private/xml/Accounts/getRecords?authtoken=xxxx&scope=crmapi&newFormat=1
&selectColumns=Accounts(Account Name)
&lastModifiedTime=2015-11-17 15:38:24
&fromIndex=1
&toIndex=25

Please tell me how can I get only the data whose lastmodifiedTime is greater than specified time.
    • Sticky Posts

    • Kaizen #198: Using Client Script for Custom Validation in Blueprint

      Nearing 200th Kaizen Post – 1 More to the Big Two-Oh-Oh! Do you have any questions, suggestions, or topics you would like us to cover in future posts? Your insights and suggestions help us shape future content and make this series better for everyone.
    • Kaizen #226: Using ZRC in Client Script

      Hello everyone! Welcome to another week of Kaizen. In today's post, lets see what is ZRC (Zoho Request Client) and how we can use ZRC methods in Client Script to get inputs from a Salesperson and update the Lead status with a single button click. In this
    • Kaizen #222 - Client Script Support for Notes Related List

      Hello everyone! Welcome to another week of Kaizen. The final Kaizen post of the year 2025 is here! With the new Client Script support for the Notes Related List, you can validate, enrich, and manage notes across modules. In this post, we’ll explore how
    • Kaizen #217 - Actions APIs : Tasks

      Welcome to another week of Kaizen! In last week's post we discussed Email Notifications APIs which act as the link between your Workflow automations and you. We have discussed how Zylker Cloud Services uses Email Notifications API in their custom dashboard.
    • Kaizen #216 - Actions APIs : Email Notifications

      Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are