Autodesk Vault ProfessionalVault API

FindFilesByFoldersDatesNamesAndChecksums Method

Autodesk.Connectivity.WebServicesDocumentService

Find Files based on folders, dates, file names and checksums.

Required Permissions

FileRead

Syntax

public File[] FindFilesByFoldersDatesNamesAndChecksums(
   System.long[] folderIds,
   System.string[] filenames,
   System.int[] checksums,
   System.DateTime[] createDates
)
Public Function FindFilesByFoldersDatesNamesAndChecksums( _
   ByVal folderIds() As System.Long, _
   ByVal filenames() As System.String, _
   ByVal checksums() As System.Integer, _
   ByVal createDates() As System.Date _
) As File()

Parameters

NameDescription
folderIdsAn array of folders Ids.
filenamesAn array of filenames.
checksumsAn array of checksums.
createDatesAn array of create dates.

Return Value

An array of File objects corresponding to the information in the input arrays. If no match is found, both the File.Id and File.MasterId values will be -1. If the path is found but the checksum does not match, the File.Id value will be -1 but File.MasterId will have a valid value. If an exact match is found, the File.Id and File.MasterId value will be valid along with the rest of the File data.

Remarks

Input arrays must be the same size.

See Also