Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  22
 
 
Error code: 26 
Error Description: API license is not enabled. Please add a valid API license and retry this operation. 
1.10  Prerequisites  
 
Following are some prerequisites to use and work with the API: 
 
The latest version of the CSM Server that includes the API support must be installed. Please refer to 
the CSM installation guide for more details.  
 
After the server is installed, managed devices (e.g., ASA and IPS) must be  added to CSM before the 
corresponding policy data is queried using the API.  
 
API will only return data that is “committed” to the policy database. For that reason, applicable 
activities must be submitted before the data is visible via the API. 
 
Health and Performance Monitor (HPM) should be enabled for out-of-band (OOB) and device status 
UP/DOWN change notifications to work.  
 
API does not include any SDK for any specific programming language. The API exposes a REST 
(Representational State Transfer) -based interface, so API clients can be implemented in any language 
as long as the XML Message protocol is adhered to.  
 
All API Services are accessible only using HTTPS. No HTTP access is allowed. The “root” URL for 
REST based API access is 
https://<server-ip
 or host>/nbi/. 
1.11  API Administration Settings  
 
The following global administration settings are specific to the API feature (Please refer to the version-specific CSM 
user guide and installation guide for additional information): 
 
 
 
Enable API Service: Allows the API feature to be completely enabled/disabled 
 
Result Set Page Size: Controls the size of the result set that is returned in a single response. Values are 100 
(minimum), 500 (default) and 1000 (maximum).  This configuration applies only to the