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

IMC Supervisor API (CIMCDiscoveredDevice) Help

agarfin
Level 1
Level 1

Man oh man is the documentation for the IMC Supervisor 2.2 API frustrating... 

I am trying to query the list of discovered devices to see if an IP is present. Im hoping the "/cloupia/api-v2/CIMCDiscoveredDevice/{profileName}/State/{profileName}" will give me the info I need to parse. 

 
The documentation reads:  

Reading Discovered Devices

Objective

Get discovered device details.

Prerequisites

One or more servers must have been discovered using a discovery profile

REST URL
/cloupia/api-v2/CIMCDiscoveredDevice/{CIMCDiscoveredDeviceId}/State/{StateId}
Implementation
The CIMCDiscoveredDeviceId argument must be a valid profile name, and must be mandatorily specified. The StateId argument must be one of {All, Imported, NotImported}.

However, /cloupia/api-v2/CIMCDiscoveredDevice/ProfileA/State/NotImported returns the generic "I dont work" 7 status code with no useful info. 

 

<cuicOperationResponse><cuicOperationStatus>7</cuicOperationStatus><errorMessage>No Resource available for the requested URL.</errorMessage><response></response></cuicOperationResponse>

 

Anyone know what the correct parameters are for this API call? Thanks! 

 

Andrew 

 
 
0 Replies 0

Review Cisco Networking products for a $25 gift card