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.
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.
/// The limit for the number of attachment sets created in a short period of time has
/// been exceeded.
///
/// The expiration time of the attachment set has passed. The set expires 1 hour after
/// it is created.
///
/// An attachment set with the specified ID could not be found.
///
/// A limit for the size of an attachment set has been exceeded. The limits are 3 attachments
/// and 5 MB per attachment.
///
/// An internal server error occurred.
///