Creates an attachment in Episerver Campaign.
Type: long
Parameters
Name | Type | Value |
---|---|---|
sessionId |
String |
ID of the session |
Name |
String |
Internal name of the attachment to be added |
mimeType |
String |
Corresponding MIME type of the file Example: image/gif or text/comma-separated-values. |
filename |
String |
File name to be used for the attachment |
content |
byte[ ] |
Content of the attachment (in binary form) |
Return values
ID of the created attachment
Code structure
long create(String sessionId, String name, String mimeType, String filename, byte[] content)
Do you find this information helpful? Please log in to provide feedback.
Last updated: Apr 24, 2018