Autodesk Vault ProfessionalVault API

DocumentService Class

Autodesk.Connectivity.WebServicesAutodesk.Connectivity.WebServices

Contains methods for manipulating files and folders within a vault.

Syntax

public sealed class DocumentService : DocumentServiceBase, IWebService  
Public NotInheritable Class DocumentService
   Inherits DocumentServiceBase
   Implements IWebService 

Properties

NameDescription
AddFileEventsA collection of Web Service Command Events for add File operations.
AddFolderEventsA collection of Web Service Command Events for add Folder operations.
AllowInvokeEventsTells if invoke events should fire. This value is true by default.
CheckinFileEventsA collection of Web Service Command Events for checkin File operations.
CheckoutFileEventsA collection of Web Service Command Events for checkout File operations.
ClientCertificateClient certificate for making web service calls over an SSL connection.
CurrentlySetSessionThis is information about the current session of the signed-in user.
DeleteFileEventsA collection of Web Service Command Events for delete File operations.
DeleteFolderEventsA collection of Web Service Command Events for delete Folder operations.
DownloadFileEventsA collection of Web Service Command Events for download File operations.
MoveFileEventsA collection of Web Service Command Events for move File operations.
MoveFolderEventsA collection of Web Service Command Events for move Folder operations.
QueryStringThe query string.
RedirectedToContains the ADMS that handled the replication redirect (if applicable).
SessionThis is information about the session of the signed-in user.
WebServiceManagerA reference to the WebServiceManager that created this object. Value may be null.

Methods

NameDescription
AddDesignRepresentationFileAttachmentAdds an attachment to a Design Representation file without increasing the version of the file.
AddDesignVisualizationFileAttachmentAdds an attachment to a Design Visualization file without increasing the version of the file.
AddFileNamingSchemeCreates a new file naming scheme.
AddFolderCreates a new folder in the Vault.
AddLabelCreates a new label in the Vault.
AddLinkAdds a new Link.
AddUploadedFileCreates a File object based on binary data previously uploaded.
CheckinUploadedFileChecks-in a file based on binary data previously uploaded
CheckoutFileChecks out a file from the vault.
CheckRolePermissionsCheck if the current logged in user has permission to execute specific web service APIs
DeleteFileFromFolderDeletes a file.
DeleteFileFromFolderUnconditionalDeletes a file unconditionally.
DeleteFileNamingSchemeDeletes a file naming scheme
DeleteFilesFromFolderDeletes multiple files.
DeleteFilesFromFolderUnconditionalDeletes multiple files unconditionally.
DeleteFileVersionsDeletes specific versions of a file.
DeleteFileVersionsByMasterIdsPurges older versions of a file based on certian criteria.
DeleteFileVersionsByMasterIdsUnconditionalPurges older versions of a file based on certain criteria.
DeleteFileVersionsUnconditionalDeletes specific versions of a file.
DeleteFolderHierarchyDeletes a vault folder and all its subfolders.
DeleteFolderHierarchyUnconditionalDeletes a folder and all its subfolders unconditionally.
DeleteLabelDeletes the specified label.
DeleteLinksDeletes a set of Links.
FindAllFilesByDatesAndChecksums
FindFileFoldersBySearchConditionsPerforms a search on the Vault for a list of FileFolders.
FindFilePathsByDateAndChecksumReturns a set of file paths based on the create date and checksum.
FindFilePathsByDateNameAndChecksumFinds a file and its related folders based on date, name and checksum values.
FindFilePathsByNameAndChecksumReturns a set of file paths based on a name and checksum.
FindFilesByDatesAndChecksumsFind a set of Files based on checksum and create date information.
FindFilesByDatesPathsAndChecksumsReturns a set of Files based on lists of dates, paths and checksums.
FindFilesByFoldersDatesNamesAndChecksumsFind Files based on folders, dates, file names and checksums.
FindFilesByFoldersNamesAndChecksumsReturns a set of Files based on lists of folders, file names and checksums.
FindFilesByIdsFind files by ids.
FindFilesByPathsAndChecksumsReturns a set of Files based on a list of paths and checksums.
FindFilesBySearchConditionsPerforms a search on the Vault files.
FindFoldersByIdsGets a Folder object based on its ID.
FindFoldersByPathsGets a list of Folder objects based on their paths.
FindFoldersBySearchConditionsPerforms a Folder search.
FindInFileSetBySearchConditionsPerforms a search within a group of files.
FindLabelByNameFind a label based on its name.
FindLabelsByNamesFind labels based on a list of names.
FindLatestFilesByMasterIdsFinds the latest version of a set of files based on their master IDs.
FindLatestFilesByPathsGets only the latest versions of the files in a specified set of file paths.
FindLinksBySearchConditionsGets the links on an entity that matches a set of search criteria.
GenerateFileNumberGenerates a new file name based on a numbering scheme.
GenerateFileNumbersGenerates new file names based on numbering schemes.
GetAllFileNamingSchemesGets all the file naming schemes.
GetAllLabelsGet a list of all labels.
GetAssociatedFilePathsByIdsGets associated file paths for a list of file Ids.
GetBlockExplorerDesignFileCheckinTells if a non-CAD client should prevent CAD files from being checked in.
GetBOMByFileIdGets the Bill of Materials data for a file.
GetBOMByFileIdsGets the Bill of Materials data for a set of files.
GetBreakDesignVisualizationLinkCommandListGets which client operations should break links to design visualization files.
GetBulkFileThresholdGets the threshold values for bulk file edit operations.
GetComponentPropertiesGets property data for a file which has been assigned to an item.
GetContentSourceIdsByFileIdsTells which content source is associated with a set of files.
GetDesignVisualizationAttachmentsByFileMasterIdsGets the design visualization attachments for all versions of a set of files.
GetDownloadTicketsByFileIdsGets a ticket that you can use to download binary data from the filestore service. Use this function when downloading specific file versions.
GetDownloadTicketsByMasterIdsGets a ticket that you can use to download binary data from the filestore service. Use this function when downloading the latest file versions.
GetDWFPublishFolderLocationGets the location where DWF files are published.
GetDWFPublishPreserveFolderHierarchyGets the DWF Publish Preserve Folder Hierarchy option.
GetEditedPropertiesByMasterIdsGets property values that were edited between the latest version and the latest released version.
GetEnableDWFAttachmentDetermines whether DWF attachments are enabled.
GetEnableItemPropertyWritebackToFilesGets the value of the administrator option for enabling item property write back to files
GetEnforceInventorProjectFileGets the "Enforce Inventor Project File" property.
GetEnforceWorkingFolderGets the Enforce Working Folder property.
GetFileAssociationLitesByIdsThis method gets all files associations of a set of files by file Id. The resulting objects will contain file IDs only instead of full File objects.
GetFileAssociationRestrictionsByIdGets any restrictions for setting dependencies between file versions.
GetFileAssociationsByIdsThis method gets all files associations of a set of files by file Id.
GetFileByIdGets a File object based on its ID.
GetFileByVersionGets data on a specific version of a file in the Vault.
GetFileDeleteRestrictionsByMasterIdGets all of the delete restrictions on a file.
GetFileDeleteRestrictionsByMasterIdsGets all of the delete restrictions on a set of files.
GetFileFoldersByLabelIdGets a list of FileFolder objects based on a label ID.
GetFileRenameRestrictionsByMasterIdGets any rename restrictions on a file.
GetFileRenameRestrictionsByMasterIdsGets any rename restrictions on a set of files.
GetFilesByHistoryTypeGets historical data about a set of files.
GetFilesByIdsGets a list of Files based on their file IDs.
GetFilesByMasterIdGets all the versions of a file.
GetFilesByMasterIdsGets an array of files based on their master IDs.
GetFilesByVersionsGets data on a specific version of a file in the Vault.
GetFileStatusSetRestrictionsByMasterIdsGets any restrictions on setting the status of a File.
GetFileVersionDeleteRestrictionsByFileIdsGets any restrictions on deleting a specific versions of Files. This function can be used to pre-check any issues before running DeleteFileVersions.
GetFileVersionDeleteRestrictionsByMasterIdsGets any restrictions on deleting a specific versions of Files. This function can be used to pre-check any issues before running DeleteFileVersionsByMasterIds.
GetFilterConfigXmlGets the contents of filterConfig.xml which is a server file that contains the property mapping of AutoCAD block attributes.
GetFolderByIdGets a Folder object based on its ID.
GetFolderByPathGets a folder object based on its path.
GetFolderDeleteRestrictionsByIdGets all of the delete restrictions on a folder.
GetFolderDeleteRestrictionsByIdsGets all of the delete restrictions on a set of folders.
GetFolderIdsByParentIdsGets the IDs of the folders underneith a set of folders.
GetFolderMoveRestrictionsGets all move restrictions on a folder.
GetFolderRenameRestrictionsGets all restrictions for renaming a folder.
GetFolderRootGets the root Vault folder.
GetFoldersByFileMasterIdGets all the folders that a set of files is shared in.
GetFoldersByFileMasterIdsGets all the folders that a set of files is shared in.
GetFoldersByIdsGets a Folder object based on its ID.
GetFoldersByParentIdGets the sub-folders of a vault folder.
GetFoldersByParentIdsGets the sub-folders of a set of parent folders.
GetFoldersByPathsGets a list of Folder objects based on their paths.
GetInventorProjectFileLocationGets the Vault location of the Inventor project file to use. This setting is only valid if the Enforce Inventor Project File setting is true.
GetLatestAssociatedFilePathsByMasterIdsGets the latest associated file paths of files by their master Ids.
GetLatestDuplicateFilePathsGets file paths for the latest version of any files in the Vault that share the same file name.
GetLatestFileAssociationsByMasterIdsGets the latest file associations for a list of files by their master IDs.
GetLatestFileByMasterIdGets the latest version of a file.
GetLatestFileIdsByFoldersIdsGets the file IDs for the latest versions of all files within a set of folders.
GetLatestFileIdsByIdsGets the file ID of latest version on a set of Files.
GetLatestFilePathsByNamesGets the latest file paths for a set of files, by file name.
GetLatestFilesByFolderIdGets the latest versions of all files within a folder.
GetLatestFilesByFolderIdsGets the latest versions of all files within a set of folders.
GetLatestFilesByIdsGets the latest version on a set of Files.
GetLatestFilesByMasterIdsGets the latest version of a file.
GetLinksByIdsGets a set of Links based on their IDs.
GetLinksByParentIdsGets a set of Link objects originating from a given set of entities.
GetLinksByTargetEntityIdsGets the Link objects that point to a set of Entities.
GetMetaOnLinksGets the meta data for a set of links.
GetRequiredWorkingFolderLocationThe working folder that the client is expected to have. This setting is only valid if the Enforce Working Folder setting is true.
GetRevisionAssociatedFilePathsByIdsGets the associated files and path information for a given set of files. The returned files will point to the latest version within a revision.
GetRevisionFileAssociationsByIdsThis method gets all files associations of a set of files by file ID. The returned files will point to the latest version within a revision.
GetRevisionFileAssociationsByIds2This method gets all files associations of a set of files by file ID. The returned files will point to the latest version within a revision.
GetTrackFileStatusTells if the file status feature is enabled.
GetTurnOffWarningForUserGeneratedDesignVisualizationGets the setting that indicates if a warning should be displayed for user generated design visualization files.
GetUniqueFileNameExcludedExts
GetUniqueFileNameExcludedExtsAllowed
GetUniqueFileNameExcludedFolders
GetUniqueFileNameExcludedFoldersAllowed
GetUniqueFileNameRequiredDetermines whether unique file names are required.
GetWorkspaceSyncFileLimitGets the maximum number of files for a Workspace Sync operation.
MoveFileMoves a file from one folder to another.
MoveFolderMoves a folder from one location to beneath a different parent folder.
MoveLinkMoves a link to a different Folder.
PurgeAllFilesFromFolders
RemoveDesignRepresentationFileAttachmentRemove an attachment to a Design Representation file without increasing the version of the file.
ReserveFileNamingDescriptionsReserves a set of file names for a given naming scheme.
RollbackFileNamingDescriptionsRolls back the generated file names.
SetBlockExplorerDesignFileCheckinSets if a non-CAD client should prevent CAD files from being checked in.
SetBomByFileIdAssociates a BOM with an existing File Iteration
SetBreakDesignVisualizationLinkCommandListSets which client operations should break links to design visualization files.
SetBulkFileThresholdSets the threshold values for bulk file edit operations.
SetDefaultFileNamingSchemeSets the default naming scheme.
SetDesignVisualizationAttachmentStatusByIdSets the status of a design visualization
SetDWFPublishFolderLocationSets the location where DWF files are published to.
SetDWFPublishPreserveFolderHierarchySets the DWF Publish Preserve Folder Hierarchy option.
SetEnableDWFAttachmentSets whether DWF attachments are enabled.
SetEnableItemPropertyWritebackToFilesSets the value of the administrator option for enabling item property write back to files
SetEnforceInventorProjectFileSets the "Enforce Inventor Project File" property.
SetEnforceWorkingFolderEnables or disables the Enforce Working Folder setting.
SetFileStatusByMasterIdSets the status of a File.
SetFileStatusByMasterIdsSets the status for a set of Files.
SetInventorProjectFileLocationSets the Vault location of the Inventor project file to use. This setting is only valid if the Enforce Inventor Project File setting is true.
SetRequiredWorkingFolderLocationSets the Require Working Folder setting.
SetTrackFileStatusTurn on or off the option to track file status.
SetTurnOffWarningForUserGeneratedDesignVisualizationSets the setting that indicates if a warning should be displayed for user generated design visualization files.
SetUniqueFileNameExcludedExts
SetUniqueFileNameExcludedExtsAllowed
SetUniqueFileNameExcludedFolders
SetUniqueFileNameExcludedFoldersAllowed
SetUniqueFileNameRequiredSets whether filenames must be unique.
SetWorkspaceSyncFileLimitSets the maximum number of files for a Workspace Sync operation.
UndoCheckoutFilePerforms the undo checkout operation.
UpdateFileAssociationReferencesUpdates meta-data to an existing file association.
UpdateFileNamingSchemeUpdates a file naming scheme.
UpdateFilePropertiesUpdates the properties on a checked out file.
UpdateFilePropertyDefinitionsUpdates the property definitions associated with a set of files.
UpdateFolderNameSets or modifies the folder name.
UpdateFolderUNCPathSets or modifies the UNC path of a Folder.
UpdateLabelSets or modifies the name and comment of a label.
ValidateBOMByFileIdChecks to make sure a BOM contains no errors.
ArchiveFilesVersionsByMasterIds
ArchiveFileVersionsByMasterId
ArchiveFolder
ArchiveFolders
DeleteFilesWithTrashSetting
DeleteFilesWithTrashSettingUnconditional
DeleteFileWithTrashSetting
DeleteFileWithTrashSettingUnconditional
DeleteFolderHierarchyWithTrashSetting
DeleteFolderHierarchyWithTrashSettingUnconditional
DeleteTrashedFileFromFolder
DeleteTrashedFilesFromFolder
DeleteTrashedFolder
DeleteTrashedFolders
GetComponentPropertiesByIds
GetTrashBinAutoCleanupEnabled
GetTrashBinEnabled
GetTrashedFiles
GetTrashedFolders
RestoreArchiveCandidateFileByMasterId
RestoreArchiveCandidateFilesByMasterIds
RestoreArchiveCandidateFolder
RestoreArchiveCandidateFolders
RestoreFile
RestoreFiles
RestoreFolder
RestoreFolders
SetTrashBinAutoCleanupEnabled
SetTrashBinEnabled

Returned By

Where you get a DocumentService — members that return one.

Inheritance Hierarchy

See Also