Changes command

The changes command retrieves the changes for an object.

Command syntax

api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] changesguidfrom-date [to-date]

Parameters

changes
Runs the changes command.
guid
Is the GUID of the object for which you want to determine changes.
from-date
Is the beginning date of the changes command. Use the mm/dd/yy hh:mm:ss AM|PM format.
to-date
Is the end date of the changes command. Use the mm/dd/yy hh:mm:ss AM|PM format.
Note: If you want to run an advanced change history query on the discovery server, the -H parameter must point to a storage server. Otherwise, the query fails.

Example

This command finds all changes to an object that occurred between two specific dates. Enter the command on one line:
api.sh -u user -p password -H host -P port changes
 10A5794E86C53A0BBB10F262055CB3EA “06/06/05 12:00:00 AM” “06/08/05 12:00:00 AM”