- Preparing search index...
- The search index is not available
bruce-models
- Upload(params): Promise<{
attachment: IAttachment;
}>
-
Parameters
-
params: {
api?: BruceApi.Api;
attachmentTypeId: string;
entityId: string;
file: Blob;
req?: IUploadReqParams;
}
-
-
attachmentTypeId: string
-
entityId: string
-
file: Blob
-
Returns Promise<{
attachment: IAttachment;
}>
Uploads a file as an attachment to an entity. This will create a client file record for the file.