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 30 of 82
updateServiceArea Java Signature
Updates a Service Area.
Syntax:
public ResponseReturn updateServiceArea (CUPMServiceStub stub, ServiceAreaValue serviceArea, String
endPointReference, String idPrefix);
Note : To execute this API in synchronous mode, you must set the responseType attribute to “sync”.
Parameters:
serviceArea—ServiceArea object with key attribute set to identify the object to update, and name-value
pairs for all attributes to be updated to new values.
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.
responseType (optional)— String to identify whether the API call should be synchronous or not.
Returns:
CupmApiResponseValue
—Object with NBI ID.
Throws:
UpdateServiceAreaException
—If server cannot execute NBI request.
ASyncReturn:
CupmApiResultValue—Contains CupmApiStatus only.
CupmApiFaultType—Included if the NBI request fails.
Note: To remove a directory number block from a Service Area, specify the directory number blocks to be
removed in the Service Area property; directoryNumberBlockProperties. Then set the directoryNumberBlockAction
removed in the Service Area property; directoryNumberBlockProperties. Then set the directoryNumberBlockAction
attribute to REMOVE.
listServiceArea Java Signature
Selects a set of Service Areas.
Syntax:
public ResponseReturn listServiceArea (CUPMServiceStub stub, CupmApiFilterValue filter, String
endPointReference, String idPrefix);