Cisco Cisco Prime Collaboration Assurance 11.5 Guia Do Programador
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public
Page 12
POST
AllSessions ()
API to get all sessions, user can use different filter criteria and get only required sessions.
request
representations
*/* Example:
This API can be used get all sessions based on filter criteria provided.
responses
status:
200 - OK
200 - OK
representations
application/json Example:
https://<ipaddress>/emsam/nbi/device
This NBI service handles various operations on devices, operations like adding, editing, deleting
devices, suspending and resuming management of devices.
Also retrieval of devices based on ipaddress and other various complex filtering criteria.
devices, suspending and resuming management of devices.
Also retrieval of devices based on ipaddress and other various complex filtering criteria.
Methods
PUT
addDevice ()
API to add/edit devices.
request
representations
application/json Example:
This API takes JSON as input. JSON can contain multiple devices
(combination of devices to add and modify).
If the device should be discovered using a credential profile set the
useProfile field to true in the input json, for this
credential profiles should have been pre-created in CPCM.
Or one can provide the entire credential set per device using the field
credential in the input json which represents a credential map, refer
sample input.
One can also provide the id of a pre-created per device credential in the
json with credentialId field.
If the PC deployment is in MSP mode and the device to be managed is
reachable in the network with a private IP address
(combination of devices to add and modify).
If the device should be discovered using a credential profile set the
useProfile field to true in the input json, for this
credential profiles should have been pre-created in CPCM.
Or one can provide the entire credential set per device using the field
credential in the input json which represents a credential map, refer
sample input.
One can also provide the id of a pre-created per device credential in the
json with credentialId field.
If the PC deployment is in MSP mode and the device to be managed is
reachable in the network with a private IP address