paws.management (version 0.1.0)

support_add_attachments_to_set: Adds one or more attachments to an attachment set

Description

Adds one or more attachments to an attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.

Usage

support_add_attachments_to_set(attachmentSetId, attachments)

Arguments

attachmentSetId

The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.

attachments

[required] One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.

Request syntax

svc$add_attachments_to_set(
  attachmentSetId = "string",
  attachments = list(
    list(
      fileName = "string",
      data = raw
    )
  )
)

Details

An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.