The SetQuery method updates the properties of a query definition.
Parameters
The session identifier.
The properties that are updated for the specified query.
Return Values
This is a void method that does not expose a return value.
Remarks
None
The SetQuery method updates the properties of a query definition. We can update the link query using this method.
Parameters
The session identifier.
UUID of the query to be updated
The properties that are updated for the specified query.
Return Values
None.
The GetQueryFolderId method returns the ID of the specified query folder.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the query folder, the ID of which you want to retrieve.
Specifies the parent folder name.
Return Values
Contains the ID of the specified query folder.
The GetQueries2 method retrieves the queries in a query folder. This method supports the sort and filter operations also.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the ID of the folder from which you want to retrieve the queries. Specify 0 for the All Queries folder.
Specifies an array of filters on query properties.
Specifies the property based on which you want to sort the results.
Specifies whether you want to sort the list in ascending order.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of objects you want to retrieve from the startIndex position.
Return Values
Returns the total number of queries available for the specified filter condition.
Contains an array of queries in the specified folder, filtered and sorted as specified.
The "GetQueryFolders" API returns the query folders.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the ID of the parent folder from which you want to retrieve the query folders. Specify 0 to retrieve from the Queries root folder.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of objects you want to retrieve from the startIndex position.
Return Values
Contains the total number of folders available.
Contains an array of query folder properties inside the specified folder.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|