A GetScriptsRequest is the message sent by the API Client to obtain the list of inactive but ready-to-deploy scripts under a given account.
Contains elements as defined in the following table.
|Credentials||anyType (restriction)||1..1||No||A Credentials element contains the username and password of an account user. The element is required in all requests to the Test Management Web Service.|
|UserName [element Credentials]||string||1..1||No||The UserName of an employee for an account (and used for authentication).|
|Password [element Credentials]||string||1..1||No||A secret used as part of user credentials for authentication. Every request to the Test Management API web service must include a Credentials element. That element itself contains a UserName and a Password element.|
|AgentType [type FilterBase]||AgentType||0..1||Yes||If present, this element restricts the output of GetTests() or GetScripts() by agent type.|
|QueryByCreateDate [type FilterBase]||DateFilterType||0..*||Yes||QueryByCreateDate is supported in both ScriptFilters and MonitorFilters. If present, this element restricts the output by create date. Multiple instances of this element are permitted so that both upper and lower bounds can be set.|
|QueryByModifyDate [type FilterBase]||DateFilterType||0..*||Yes||QueryByModifyDate is supported in both ScriptFilters and MonitorFilters. If present, this element restricts the output by modify date. Multiple instances of this element are permitted so that both upper and lower bounds can be set.|
|ScriptId [element ScriptFilter]||string||0..1||No||If present, this element restricts the output of GetScripts() to a single script.|
This example does not include the optional script filter.
The following examples do include a script filter. Filtering by create date:
Filter by modify date:
Filtering by AgentType: