Cisco Cisco Prime Collaboration Provisioning 11.5 Developer's Guide
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 60 of 82
submitConfigTemplate Java Signature
Sends a set of Cisco IOS telephony commands, any router-related commands, and infrastructure product ordering
commands to a capability on a device. The commands are specified in a template. Keyword substitution
functionality is available.
Syntax:
public ResponseReturn submitConfigTemplate (CUPMServiceStub stub, ConfigDetailValue configDetail, String
validate, String rollback, String endPointReference, String idPrefix);
Parameters:
configDetail
—This object defines the device and capability to send the Cisco IOS commands to. It
specifies the template to send, and it contains a list of the keywords and their value for this usage.
validate
—VALIDATE, SUBMIT, or VALIDATE_AND_SUBMIT are the settings for this enumeration.
rollback
—PARTIAL_ROLLBACK setting.
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. Null
or empty string valid for no change to internal generation.
Returns:
CupmApiResponseValue
—Object with NBI ID.
Throws:
submitConfigTemplateException
—If server cannot execute NBI request.
ASyncReturn:
CupmApiResultValue
—Contains CupmApiStatus and CupmApiList. CupmApiList contains status of the
execution of the Cisco IOS commands on the device.
CupmApiFaultType
—Included if the NBI request fails.
listConfigTemplateKeyword Java Signature
Provides support for listing the keywords used in templates submitted by the submitConfigTemplate request.
Returns a list of all the keywords in the specified template.
Syntax: