cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
698
Views
0
Helpful
4
Replies

Maximum value for "limit" in message-tracking API. Is it configurable?

Shah Tanveer
Level 1
Level 1

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.

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

You mean you got more values than expected ? what API you used post some example ?

what version of AsyncOS ? check API reference guide :

https://www.cisco.com/c/en/us/td/docs/security/esa/esa14-0/api/b_ESA_API_Guide_14-0/b_ESA_API_Guide_chapter_010.html#id_67139

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.

nicowerner136
Level 1
Level 1

Is there a solution for this problem?
Im having the same Error...