Newer Version Available

This content describes an older version of this product. View Latest

ContentHubCompleteUploadInputRepresentation()

Used to create an inputRep instance with the below parameters.

Signature

ConnectApi.ContentHubCompleteUploadInputRepresentation();

Parameters

  • fileId:

    Type: String

    The ID of the file to be uploaded.

  • fileName:

    Type: String

    The name of the file to be uploaded.

  • contextId:

    Type: String

    The Salesforce record ID associated with the file.

  • contentType:

    Type: String

    The Multipurpose Internet Mail Extensions (MIME) type of the file. For example, image/png or application/pdf.

  • uploadParts:

    Type: String

  • uploadId:

    Type: String

    The ID of the upload task.