Initiate File Upload Input

Input representation for Initiate File Upload.

JSON Example 

1{
2  "contextId": "500xx000000bncfAAA",
3  "fileName": "abc.json",
4  "contentSize": 1048576000,
5  "contentType": "application/json"
6}

Properties 

Property NameTypeDescriptionRequired or OptionalAvailable Version
contentTypeStringThis represents the file’s content type.Required65.0
contentSizeLongThe size of the file being uploaded in bytes.Required65.0
fileNameStringName of the fileRequired65.0
contextIdStringThis is the context ID from where the file upload has been triggered. For example, it can be an ID of Case, Contact, or Account.Optional65.0