Can't specify index and range for tasklogs.

Can't specify index and range for tasklogs.


I'm using the GET method of the Zoho Projects API to get the tasklogs of a specific task and I'm facing some trouble.
It seems that  tasklogs are not responsive to the "index" and "range" params,
as its length is allways 99, no matter what values I pass to these params.

Please kindly let me know how can tasklogs "range" param can be set.



For more clarification, bellow you can find the steps I followed in python:

import pandas as pd
import requests
import json

url = "https://projectsapi.zoho.com/restapi/portal/+portal_id+ /projects/"+project_id+"/tasks/"+task_id+"/logs/"

params = {"index":1, "range":200}

r = requests.get(url, params=params, headers=headers)

response = json.loads(r.content.decode('utf-8'))

response = pd.DataFrame(response["timelogs"]["tasklogs"])

#len() retrieves 99 as output
len(response["timelogs"]["tasklogs"])



Any comment or suggestion will be much appreciated.
Thanks in advance!

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now