POST api/automation/addAttachments/{emailId}

Add attachments from the shared folder to an email.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emailId

The Id of the dbo.Message record for the email.

integer

Required

Body Parameters

Information about the attachments to add.

FolderPathParam
NameDescriptionTypeAdditional information
path

The path to the subfolder containing attachments, relative to the shared folder.

string

Optional

Request Formats

application/json, text/json

Sample:
{
  "path": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/xml, text/xml

Sample:
<FolderPathParam xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <path>sample string 1</path>
</FolderPathParam>

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>