Naming command

The naming command returns the GUIDs that are associated with a configuration item (CI). The command returns only the GUIDs of top-level CIs in the XML file.

Command syntax

api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] naming-fmodel-object-xml-file

Parameters

naming
Runs the naming command.
-f model-object-xml-file
The location and name of the XML file that contains the configuration item (model object).

Example

This command displays the GUIDs for CIs in the XML file:
api.sh -u user -p password -H host naming sample.xml