Synthetic Classic has reached end of support and is no longer available. Existing Synthetic Classic customers have been upgraded to the all-in-one Dynatrace software intelligence platform.

Get a list of scripts by date range (GetScripts)

In this use case, you are interested in seeing only scripts created within a certain date range, modified within a certain date range, or due to expire within a certain date range. GetScripts() enables you to restrict it output based on such a date range using a ScriptFilter. You can filter by create date. The API provides a collection of operators that enable you to specify how the date criterion or criteria is or are applied. These operators include LessThan, LessThanOrEqualTo, EqualTo, GreaterThan, and GreaterOrEqualTo. You may also combine date filter criteria with other criteria, such as AgentType. The following query contains a script filter restricting GetScripts() output by a create date range:

<soapenv:Envelope xmlns:soapenv=""
            <prov:QueryByCreateDate dateQueryType="GreaterThan"
            <prov:QueryByCreateDate dateQueryType="LessThan"

Since scripts are infrequently modified and do not actually run until converted to Backbone tests, the create date range query is the only date range query supported for the GetScripts() operation.