GET_ALL_VDR_REPORT_VERSIONS function sample
Review the syntax and sample of the GET_ALL_VDR_REPORT_VERSIONS function.
Example 1: Returns all version of the archived report in comma-separated list, latest version comes first.
GET_ALL_VDR_REPORT_VERSIONS(String VDR_Server, String Report_ID)
Sample call:
AllVersions = GET_ALL_VDR_REPORT_VERSIONS("VDR_PROD", "AC001")
Sample result:
20151126133325,20151030151445,20150831123822,20150810144552,20150810120200
Example 2: Same as the version without StartVersion and EndVersion, but filtering results to fit into the range defined by start and end version. Lexicographically compares every version and enforces condition: StartVersion <= VersionToBeReturned <= EndVersion. Both StartVersion and EndVersion can be an empty string, then range is open-ended.
Sample call:
AllVersions = GET_ALL_VDR_REPORT_VERSIONS("VDR_PROD", "AC001", "", "20150901")
Sample result: (all versions prior to September 1st of 2015):
20150831123822,20150810144552,20150810120200