This page was last edited on November 6, 2013, at 21:25.
Comments or questions about this documentation? Contact us for support!
A Web Services attachment is the same as an e-mail attachment. In PSDK terms, an attachment is simply a document. Attachments are associated with one Interaction, while one Interaction can own many Attachments.
The following operations are supported on /me/interactions/{id}/attachments:
HTTP Operation | Description | Output | Permissions |
---|---|---|---|
POST | Creates a new Attachment and associates it with an Interaction. Note: The file should be bound to the 'attachment' variable. | {"statusCode":0,"documentId":"00009a8T8Y13002S"} | Agent |
The following operations are supported on /me/interactions/{id}/attachments/{attachmentId}:
HTTP Operation | Description | Output | Permissions |
---|---|---|---|
GET | Returns an Attachment, given an attachmentId (documentId). | Output will be byte content of the attachment, with MimeType set accordingly | Agent |
DELETE | Deletes an Attachment, given an attachmentId (documentId). | {"statusCode":0} | Agent |