Autodesk Vault ProfessionalVault API

GetRevisionAssociatedFilePathsByIds Method

Autodesk.Connectivity.WebServicesDocumentService

Gets the associated files and path information for a given set of files. The returned files will point to the latest version within a revision.

Required Permissions

FileRead

Syntax

public FilePathArray[] GetRevisionAssociatedFilePathsByIds(
   System.long[] fileIds,
   FileAssociationTypeEnum parentAssociationType,
   System.bool parentRecurse,
   FileAssociationTypeEnum childAssociationType,
   System.bool childRecurse,
   System.bool includeRelatedDocuments,
   System.bool includeHidden,
   System.bool releasedBiased
)
Public Function GetRevisionAssociatedFilePathsByIds( _
   ByVal fileIds() As System.Long, _
   ByVal parentAssociationType As FileAssociationTypeEnum, _
   ByVal parentRecurse As System.Boolean, _
   ByVal childAssociationType As FileAssociationTypeEnum, _
   ByVal childRecurse As System.Boolean, _
   ByVal includeRelatedDocuments As System.Boolean, _
   ByVal includeHidden As System.Boolean, _
   ByVal releasedBiased As System.Boolean _
) As FilePathArray()

Parameters

NameDescription
fileIdsAn array of file IDs.
parentAssociationTypeThe types of parents to get.
parentRecurseIf true, all levels of parents will be returned. If false, only the direct parents will be returned.
childAssociationTypeThe types of children to get.
childRecurseIf true, all levels of parents will be returned. If false, only the direct parents will be returned.
includeRelatedDocumentsIf true, parent design documents are returned for all returned files. If false, no additional files will be added to the return set.
includeHiddenIf true, files marked as hidden will show up in the search. Otherwise hidden files will be excluded.
releasedBiasedIf true, the latest version in a released state will be returned, if available. If false, the latest version will be returned, regardless of lifecycle state.

Return Value

An array of file and path data.

See Also