UploadAttachment
Upload Attachment
Input
Name | Type | Accepts Input Streams | Description |
FilePath | String | False | File path. The entire path along with file name is required. |
FileName | String | False | The name of the file to attach. Required if FilePath is not defined. |
Content | String | True | The content as InputStream to be uploaded when FilePath is not specified. |
ContentType | String | False | Content type, for instance: image/jpeg in case of an JPEG image. Required. |
Category | String | False | Category of the attachment. Optional. |
Lat | String | False | Latitude from where the attachment was requested. Optional. |
Long | String | False | Longitude from where the attachment was requested. Optional. |
PlaceName | String | False | Place Name from where the attachment was requested. Optional. |
Note | String | False | Note either related to the attachment or as a standalone note. Optional. |
Tag | String | False | Tag name for the requested attachment. Optional. |
AttachableRef_EntityRef_Value | String | False | Id of the object to attach to, for instance: 129. Optional. |
AttachableRef_EntityRef_Type | String | False | Type, for instance: Bill. Required if AttachableRef_EntityRef_Value is set. |
Result Set Columns
Name | Type | Description |
Id | String | Attachable Id |
AttachableRef_EntityRef_Value | String | AttachableRef_EntityRef_Value |
AttachableRef_EntityRef_Type | String | AttachableRef_EntityRef_Type |
AttachableRef_IncludeOnSend | String | AttachableRef_IncludeOnSend |
ContentType | String | Content type, for instance: image/jpeg in case of an JPEG image. |
Category | String | Category of the attachment. |
Lat | String | Latitude from where the attachment was requested. |
Long | String | Longitude from where the attachment was requested. |
PlaceName | String | Place Name from where the attachment was requested. |
Note | String | Note either related to the attachment or as a standalone note. |
Tag | String | Tag name for the requested attachment. |
FileAccessUri | String | FileAccessUri |
FileName | String | FileName |
Metadata_CreateTime | String | Metadata_CreateTime |
Metadata_LastUpdatedTime | String | Metadata_LastUpdatedTime |
Size | String | Size of the attachment. |
SyncToken | String | The version number of the entity. |
TempDownloadUri | String | TempDownload URI which can be directly downloaded by clients. |
Result | String | Result |
FileData | String | Base-64 encoded data for the file. Required if FilePath is not defined. |