Cisco Cisco Prime Collaboration 10.5 Developer's Guide

Page of 81
 
 
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
52 
Syntax: 
public static ResponseReturn getOrderabilityStatus (CUPMServiceStub stub, String serviceArea, String 
validateType , String rollback, String notificationEpr, String idPrefix, Map<String,String> sessionContext, String 
responseType) 
parameters: 
•  serviceArea—Specify the serviceArea for which the order-ability status needs to be checked. 
•  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
getOrderabilityStatusException—If the server cannot execute the NBI request. 
SyncReturn
•  CupmApiResultValue—Contains CupmApiStatus only. 
•  CupmApiFaultType—Included if the NBI request fails. 
Inventory Queries 
getInventoryItem Java Signature 
Retrieves an inventory item. The getInventoryItem request requires only the attributes necessary to select a unique 
instance. Including nonkey attributes in this request is not an error, but it is not recommended as nonmatching 
values or incorrect attribute names will cause a failure.