The dpmhd getattribute command gets the value of an existing help desk ticket attribute.
This command has the following format:
dpmhd getattribute [-sc sc_url] -id ticketid -name attr_name [-locale iso629value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the unique ID assigned to the ticket by the help desk system when the ticket was opened.
Example: cr:100400
Defines the name of a ticket attribute. The supported attribute names are as follows:
Note: These attribute names are case-sensitive.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Get the Value of a Ticket Attribute
This example retrieves the value of the description attribute of the help desk ticket identified by the ticket ID cr:400335.
dpmhd getattribute -id cr:400335 -name description
Copyright © 2013 CA. All rights reserved. |
|