Cisco Cisco Prime Collaboration 10.5 Developer's Guide
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
44
• idPrefix—String that is added to the beginning of the NBI ID returned to the client.
• responseType—String to specify that the API call should be synchronous. This API works only in
synchronous mode.
Returns:
CupmApiResponseValue—Object with NBI ID.
Throws:
cancelSubscriberWithServicesException—If the server cannot execute the NBI request.
SyncReturn:
• CupmApiResultValue—Contains CupmApiStatus only.
• CupmApiFaultType—Included if the NBI request fails.
Directory Number Management Commands and Queries
cancelDNWithService Request Signature
Removes the Directory number and its associated parent and child services
Syntax:
public ResponseReturn cancelDNWithService (CUPMServiceStub stub, String directoryNumber, String
serviceArea, String validateType, String rollback, String notificationEpr, String idPrefix, Map<String,String>
sessionContext, String responseType);
Parameters:
• directoryNumber—Specify the directory number to be removed along with the services associated with it.
• 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—String to specify that the API call should be synchronous. This API works only in
synchronous mode.
Returns:
CupmApiResponseValue—Object with NBI ID.
Throws:
cancelDNWithServiceException—If the server cannot execute the NBI request.