Cisco Cisco Prime Collaboration 10.6 开发者指南

下载
页码 82
 
 
© 2012 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 51 of 82 
 
CupmApiFaultType
—Included if the NBI request fails. 
 
Note: The pullOp API can be used to retrieve a list of elements according to a specified enumeration context 
(for more information on pullOp, see 
pullOp Java Signature. 
resetServices Java Signature 
Submits a work order to apply the template values. Built-in Template (default values) will be applied if no template 
value is specified in the request. If the work order is accepted by Prime Collaboration Provisioning, and if it passes 
validation (if validation is specified), it will be submitted to Prime Collaboration Provisioning for performing a change 
operation. 
Syntax: 
public ResponseReturn resetServices (CUPMServiceStub stub, OrderValue order, String validateType , String 
rollback , String notificationEpr, String idPrefix , Map<String,String> sessionContext ); 
Note: To execute this API in synchronous mode, you must set the responseType attribute to “sync”. 
Parameters
 
order
—Creates a work order that is submitted to Prime Collaboration Provisioning if the NBI request is 
accepted. The order is never a prospect work order in Prime Collaboration Provisioning. 
 
validationType
—An ENUM indicating whether a work order should be validated before being submitted. 
Values are VALIDATE_ONLY, SUBMIT_ONLY, VALIDATE_AND_SUBMIT. 
 
rollbackType
—An ENUM describing how the order should be rolled back if it fails. Value is PARTIAL. 
 
notificationEpr
—String to convert to an EndpointReference object that the synchronous result notification 
will be sent to. 
 
idPrefix
—String that is added to the beginning of the NBI ID returned to the client. 
 
responseType (optional)
— String to identify whether the API call should be synchronous or not. 
Returns
CupmApiResponseValue
—Object with NBI ID. 
Throws
resetServicesException
—If the server cannot execute the NBI request. 
SyncReturn
       
• 
CupmApiResultValue
—Contains CupmApiStatus only. 
• 
CupmApiFaultType
—Included if the NBI request fails. 
 
 
Check Connectivity Request 
ping Java Signature 
Syntax