Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
CopyMultipleDocumentsToExchangeAsync
List of documents to send to exchange. WS documents and transient workspace documents.
Parameters
Name Type Description

activeDirectoryGroupsRecipients

Set(String)

Not null
Default value: new HashSet<>()

A list of activeDirectory group guids that are intended to be recipients of these files. May be left null. Can be sent empty or not sent.

deviceType

DeviceType

Default value: null

Possible values: [SALESFORCE_PLUGIN, GOOGLE_DRIVE, BROWSER, SRE, CMIS, CIFS, MAC, UPLOADER, OFFICE_ONLINE, SHAREPOINT, ANDROID_APP, ONE_DRIVE, BLACKBERRY_APP, SDK, WINDOWS_PLUGIN, IOS_APP, SYNC, CHROME_EXTENSION].

isCollaboration

Boolean

Default value: FALSE

isCopyAnnotations

Boolean

Default value: FALSE

isOpenToAnyone

Boolean

Default value: FALSE

isSendEmail

Boolean

If set to True the server will notify recipients via email about new files submitted.

listDocumentIdentifiersJson

Set(DocumentIdentifier)

Not null

listRecipients

Set(String)

Not null
Default value: new HashSet<>()

A list of distribution list names that are intended to be recipients of these files. May be left null. Can be sent empty or not sent.

mailMessage

String

mailSubject

String

permission

PermissionFromUser

The permissions to grant to recipients of this file.

readConfirmation

Boolean

Default value: false

Indicates is read confirmation is required for those documents.

userRecipients

Set(String)

Not null
Default value: new HashSet<>()

A list of emails for users that are intended to be recipients of these files. Can be sent empty or not sent.

whoCanView

WhoCanView

Not null
Default value: RECEIPIENTS_ONLY

In case Domain permissions or files that are available to everyone, use this parameter. Only recipients that are recipients of this file (directly of by a distribution list) will be notified that this file exist.

Possible values: [RECEIPIENTS_ONLY, ANYONE_WITH_RECEIPIENTS_DOMAIN, EVERYONE].

Json Format
{
userRecipients: Set(String),
listRecipients: Set(String),
activeDirectoryGroupsRecipients: Set(String),
permission:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
whoCanView: WhoCanView,
isSendEmail: Boolean,
mailSubject: String,
mailMessage: String,
listDocumentIdentifiersJson: Set(
{
documentUuid: String,
pathInfoJson:
{
path: String,
workspaceUuid: String
},
imanageInfoJson:
{
itemId: String,
workspaceUuid: String
}
}),
deviceType: DeviceType,
isCopyAnnotations: Boolean,
isOpenToAnyone: Boolean,
isCollaboration: Boolean,
readConfirmation: Boolean
}