UploadFile
Uploads a document in kintone.
Input
Name | Type | Required | Description |
FullPath | String | False | The full path to the document to upload. A value for this field is required when FileData is not specified. |
FileData | String | False | If the FullPath input is empty, Please enter BASE64 encoded FileData. |
FileName | String | False | The name you would like to give the document. If none is specified, the file name specified in the FullPath input will be used. |
ContentType | String | False | Content type of the file. |
GuestSpaceId | String | False | This parameter is used for documents that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string. |
AttachToApp | String | False | This parameter is of boolean type and it default to false. It is used for attaching the file to an attachment field of an app. |
UploadedFileKey | String | False | The Id of the uploaded file. This is required when AttachToApp set to true and Content or FileData or FullPath is not given. |
AppId | String | False | The Kintone App Id. This is required when AttachToApp set to true. |
Result Set Columns
Name | Type | Description |
FileKey | String | The Id of the uploaded file. |
Success | String | Whether or not the operation was successful. |
Id | String | The Record ID of the uploaded file. Returns when filtering the request with attach parameter. |
Revision | String | The revision number of the record after updating the status. The revision number will increase by 2, as two operations are preformed - running the action and updating the status. Returns when filtering the request with attach parameter. |