Cisco Cisco Prime Collaboration Provisioning 11.2 Guía Del Desarrollador
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 20 of 82
Parameters:
device—Device object with attribute keys and attribute name-value pairs set to their initial value.
endPointReference—String to convert to an EndpointReference object that the asynchronous result
notification will be sent to.
idPrefix—String that is added to the beginning of the internally generated numeric to form the unique NBI
identifier. A null or empty string is valid, resulting in an NBI identifier that is just the internally generated
numeric.
Returns:
CupmApiResponseValue
—Object with NBI ID.
Throws:
CreateDeviceException
—If server cannot execute NBI request.
ASyncReturn:
CupmApiResultValue
—Contains CupmApiStatus.
CupmApiFaultType
—Included if the NBI request fails.
getDevice Java Signature
Gets a device.
Syntax:
public ResponseReturn getDevice (CUPMServiceStub stub, DeviceValue device, String endPointReference, String
idPrefix);
Parameters:
device— Device object with attribute keys and attribute name-value pairs set to their initial value.
endPointReference—String to convert to an EndpointReference object that the asynchronous result
notification will be sent to.
idPrefix—String that is added to the beginning of the internally generated numeric to form the NBI ID. A
null or empty string is valid, resulting in an NBI identifier that is just the internally generated numeric.
Returns:
CupmApiResponseValue
—Object with NBI ID.
Throws:
GetDeviceException
—If server cannot execute NBI request.
ASyncReturn:
CupmApiResultValue
—Contains CupmApiStatus and CupmApiList. CupmApiList contains one Device
object, the result of the get.