Apex
...
Types
Input & Output Types
Types.UploadSalesforceFilePayload
represents input for uploading salesforce files to external storage using copy salesforce files docid\ xaoztzqon8utm7hyzn bg function following constructors are supported uploadsalesforcefilepayload( string contentdocumentid, string library, string folderid, string driveid, string context ) contentdocumentid salesforce id of the content document object to be copied library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij folderid id of the folder in external storage where the file should be copied to you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij driveid only applicable for sharepoint or google drive libraries supply null for for other libraries you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij context this is an optional parameter if you want to access the parentid in the salesforce file copied docid\ m9v6ikaxwsmxifd5e7zwy event, you should pass it here in json format — for example { "recordid" "001dl00000x8x6tqau" } if you don’t want to pass a value for this parameter, you can simply pass null