Attachment Input: New File Upload
New file upload attachment input.
- To upload a new file, provide the binary file in a multipart/form-data body part where name="feedItemFileUpload". See Uploading Binary Files.
- XML
- The attachmentType property is an attribute
of the <attachment> element. For
example:
1<attachment attachmentType="NewFile"> 2 <description>TPS Report (with cover)</description> 3 <title>TPS.txt</title> 4</attachment> - JSON
-
1{ "attachment": 2 { 3 "attachmentType":"NewFile", 4 "description":"TPS Report (with cover)", 5 "title":"TPS.txt" 6 } 7} - Properties
-
Name Type Description Available Version attachmentType String The attachment type. Must contain the value NewFile. 27.0–31.0 desc String Description of the file. 23.0–26.0 description String Optional. Description of the file. 27.0–31.0 title String Title of the file. 24.0–31.0