The addAttachment actor-chain allows an agent to add an attachment to an e-mail.

Parameter

Description

windowId

The window ID of the attachment.

fileAsString

The file conversion string.

contentType

The content type of the file to attach.

fileSize

The size of the file to attach.

fileName

The name of the file to attach.

tempDir

The location of the temporary directory where the attachment is stored.

attachmentDisplayName

The name that will be displayed for the attachment.

Add Attachment Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"windowId\" : \"1\", \"fileAsString\" : \"LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL
S0xMDU3MDczMDI5NjAxNTY2MTEzNjkyMDY4MTQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTs
gbmFtZT0iX2R5bmNoYXJzZXQiDQoNClVURi04DQotLSS0tLS0tLS0tLS0tMTA1NzA3MzAyOTYwMTU2NjEx
MzY5MjA2ODE0LS0NCg==\", \"contentType\" : \"multipart/form-data; boundary=--------
--------105707302960156611369206814\", \"fileSize\" : \"40\", \"fileName\" :
\"copyofinvoice\",\"tempDir\" : \"/home/order/invoice/\",
"attachmentDisplayName" : \"Copy of Invoice\" }" "http://localhost:8180/rest/
model/atg/svc/agent/ui/formhandlers/RespondEmailActor/addAttachment"

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices