The cancel command cancels a reservation.
This command has the following format:
dpmrm cancel [-sc sc_url] -resid reservationid [[-ws_user user name -ws_password password]|[-prompt yes|no]][-locale iso639value][-pre][-post]
(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 reservation identification number. Valid entry: positive integer.
(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.
(Optional) Specifies an IS0 639_3166 combination (for example: fr_FR for French) to override the default English output. To use the locale of the command prompt, specify "native".
Defines whether to prompt the user for username and password.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
Example: Cancel a Reservation
In this example, the reservation 4321 is canceled after prompting the user for validation.
dpmrm cancel -resid 4321 -prompt yes
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |