You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Limit analyticsReports results

Received Response
35
Views
2
Comments
edited Jun 8, 2022 12:09PM in General Technical Discussions 2 comments

Content

Hi,

I'm using the a Rest API analyticsReports POST call to fetch the results from a report. Everything is setup fine, but I'm wondering if there is a way to limit the number of results coming in via the report?

I have the record limit set to 5 in service cloud, but the report is still returning all the results via the API. 

Is there some sort of default record limit filter I need to set as a part of the API call?

Any help is appreciated. Thanks.

Version

19C

Code Snippet

{
"lookupName": "GetFAQsByScore",
"filters": 
	[
		{
		"name":"Product",
		"values":["1.479"]
		},
		{
		"name": "KeywordSearch",
		"values": "library time"
		},
		{
	    "name": "SearchAndOr",
	    "values": [
	        "4"
	    ]
	    }
	]

}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!