Cisco Cisco Prime Collaboration Provisioning 11.2 User Guide

Page of 78
 
 
© 2012-2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 70 of 78 
 
SDK Commands 
Once you have installed the SDK and run SdkSetup, you will have access to the SDK commands from that 
command window. They can be run from any directory. 
The following are the SDK commands: 
•  SendXmlRequest—Reads an XML file from disk. The first argument is the filename of the XML file, and 
the full path filename if this file is not in the current directory. This command will use the environment 
variable settings to modify the XML file before sending. You can also set or override any current settings 
from the command line. Enter -h as the first argument for a display of the usage of this command. 
•  ValidateRequest—Reads an XML file from disk. Without making any substitutions, the XML file is 
validated with the SAX parser against the appropriate XSD file to confirm that this is a valid XML file. File 
is valid appears if the file passes validation. If validation fails, a SAX parser exception is thrown, 
describing the first issue encountered. Enter -h as the first argument for a display of the usage of this 
command. 
•  PingRequest—Sends the ping request only. Nothing is read from disk. The instance is created and 
populated within Java. The ping request is used to test connectivity and credentials from the client to the 
server, and to test connectivity from the server to the notification consumer. Enter -h as the first argument 
for a display of the usage of this command. 
•  SdkQueryEnvVar—Displays all environment variables that are used by the other commands, and their 
current settings. 
•  SdkVersion—Displays the date and time that the SDK commands were built. 
NBI Prepopulation Requirements 
The ListProductAttributeChoice request is often referred to as the prepopulation NBI. It is designed to return choice 
lists for attributes in a product. The choice lists can be either complete choice lists or context-based choice lists 
dependent on other settings. The choice lists returned through the NBI require some additional information to be 
provided in the request. 
 lists any additional requirements, limitations, and restrictions for returning choice lists for the attributes in 
a product. 
Table 11: Choice List of Attribute Requirements
 
Product  
Attribute  
NBI Specifics 
• 
Phone 
• 
Line 
• 
LineOnSharedPhone 
• 
EnableCUPCLicense 
Type 
All types are returned. No filtering based on 
roles or Service Area. This information is 
different from what is displayed in the Prime 
Collaboration Provisioning user interface. 
Phone 
• 
emenable 
Type must be specified.