Apex
...
Input & Output Types
Types.CreateContentVersionPayload
this will be used in the create salesforce file docid\ klof7v ulvpl8qstvcfhi function global createcontentversionpayload( string fileid, string driveid, string library, string context ) { this library = library; this driveid = driveid; this fileid = fileid; this context = context; } class params/properties fileid the resource id of each file for which content version needs to be created driveid drive id in external storage library the related files library such as cloudfiles, google, sharepoint etc context this parameter is used to identify and manage the source of a created salesforce file when a 'content version created' event is triggered it should be in json format, for example {"recordid" "00qdl000009q8txuaa"}