How to access API with arguments?
This is the API page Reports.getInactivePages (Method) and this is how to invoke the API Invoking the API Using ColdFusion . However, I want to use the QueryRowLimit=0 to return all the records. This is what I have.
<cfset inactivePagesReport = Server.CommonSpot.api.getObject('reports')>
<cfset inactivePages = inactivePagesReport.getInactivePages(0)>
<cfset records = inactivePages.QueryRowLimit = 0 >
<cfdump var="#records#" >
This is not working. It got this error: Attempt to add a field to a locked structure of type 'Reports_GetInactivePages_Result'
