Complete File Upload Input

Input representation for Complete File Upload.

JSON Example 

1{
2  "uploadId": "7aa1a0f4-5e7e-4de5-a880-c4d90237ad1d",
3  "fileId": "sfdc/case/abc.txt", 
4  "fileName": "abc.txt",
5  "contentType": "image/png", 
6  "contextId": "500SG00000oPHkzYAG",
7  "uploadParts": [
8    {
9      "partNumber": "1",
10      "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
11    }
12  ]
13}

Properties 

Property NameTypeDescriptionRequired or OptionalAvailable Version
uploadIdStringA unique identifier for the file being uploaded.Optional65.0
uploadPartsArrayAn array of objects that holds partNumber and eTag.Optional65.0
fileIdStringThe ID of the file.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
contentTypeStringThis represents the file’s content type.Optional65.0