Autodesk Vault ProfessionalVault API

CheckinUploadedFile Method

Autodesk.Connectivity.WebServicesDocumentService

Checks-in a file based on binary data previously uploaded

Required Permissions

FileCheckIn

Syntax

public override File CheckinUploadedFile(
   System.long fileMasterId,
   System.string comment,
   System.bool keepCheckedOut,
   System.DateTime lastWrite,
   FileAssocParam[] associations,
   BOM bom,
   System.bool copyBom,
   System.string newFileName,
   FileClassification fileClassification,
   System.bool hidden,
   ByteArray uploadticket
)
Public Overrides NotOverridable Function CheckinUploadedFile( _
   ByVal fileMasterId As System.Long, _
   ByVal comment As System.String, _
   ByVal keepCheckedOut As System.Boolean, _
   ByVal lastWrite As System.Date, _
   ByVal associations() As FileAssocParam, _
   ByVal bom As BOM, _
   ByVal copyBom As System.Boolean, _
   ByVal newFileName As System.String, _
   ByVal fileClassification As FileClassification, _
   ByVal hidden As System.Boolean, _
   ByVal uploadticket As ByteArray _
) As File

Parameters

NameDescription
fileMasterIdThe masterId of the file being checking in.
commentComments to be associated with the new file version.
keepCheckedOutIf set to true, the new version gets uploaded and versioned, but the file is still checked out to the user.
lastWriteThe last time the file was modified on the client's machine.
associationsThe associations on the file.
bomA bill of materials to associate with this file. Null should be passed in if there is no BOM.
copyBomIf this value is true and the 'bom' parameter is null, the BOM from the previous version will be copied for this version.
newFileNameAllows the file to be renamed during the checkin.
fileClassificationThe classification for the file.
hiddenA flag to indicate if a file should be hidden.
uploadticketThe identifier for the uploaded binary data.

Return Value

A File object representing the Vault's view of the file.

See Also