08-15-2023 09:30 PM
I am using message-tracking API call to get messages from Cisco Email gateway. "limit" parameter isn't allowing value more than 100 ("Invalid value for attribute - limit. limit should be from 1 - 100.) is returned for value more than 100.
Is this limit value configurable? If yes, please guide me to set.
08-15-2023 11:19 PM
You mean you got more values than expected ? what API you used post some example ?
what version of AsyncOS ? check API reference guide :
08-15-2023 11:31 PM
API Example:
{{url}}/esa/api/v2.0/message-tracking/messages?startDate=2023-07-01T00:00:00.000Z&endDate=2023-08-07T09:36:00.000Z&searchOption=messages&limit=2001&offset=0
In response I am getting 100 records only. To get more I have to call API again and set offset=1.
So is 100 the max value for limit in a single API call or it is configurable?
Using OS API 14.2.
10-30-2023 02:57 AM
Is there a solution for this problem?
Im having the same Error...
10-30-2023 08:02 PM
The API tracking result limited it 100 is an expected, however there are a few ways to get more results by modifying the offset value like below
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide