Specifications

B-22
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Appendix B API Support
Report Operations
Out Parameters:
The contents of the specified file name are displayed.
getcannedreportslist
The getcannedreportslist function fetches the list of all the canned report files in the canned directory:
/perfigo/control/data/reports.
Required In Parameter:
op: getcannedreportslist
admin: Administrator account username
passwd: Administrator account password
ip: Specifies IP Address of the Cisco NAC Appliance API
(https://<cam-IP-or-hostname>/admin/cisco_api.jsp)
Out Parameters: <!--error=mesg--> comment
Success: mesg value of 0; <!--count=count--> shows the number of reorts returned; the reports
follow the count comment and are of the form:
<!--filename=filename-->
Failure: error string
getcannedreport
The getcannedreport function displays the contents of specified canned report file.
Required In Parameter:
op: getcannedreport
filename: Specifies the canned report file name
admin: Administrator account username
passwd: Administrator account password
ip: Specifies IP Address of the Cisco NAC Appliance API
(https://<cam-IP-or-hostname>/admin/cisco_api.jsp)
Out Parameters:
The contents of the specified file name are displayed.