Skip to main content
POST
/
api
/
Messages
/
Emails
/
{messageId}
/
Attachments
/
Copy
Copy Email Attachments to Record.
curl --request POST \
  --url https://api.example.com/api/Messages/Emails/{messageId}/Attachments/Copy \
  --header 'Content-Type: application/json' \
  --data '
{
  "entityId": 123,
  "playerId": 123,
  "attachmentIds": [
    123
  ]
}
'
[
  {
    "id": 123,
    "documentName": "<string>",
    "documentType": 123,
    "documentTypeName": "<string>",
    "documentExtension": "<string>",
    "size": 123,
    "createdByName": "<string>",
    "createdDate": "2023-11-07T05:31:56Z",
    "expirationDate": "2023-11-07T05:31:56Z",
    "deleted": true,
    "notes": "<string>"
  }
]

Path Parameters

messageId
integer<int32>
required

Body

application/json
entityId
integer<int32>
playerId
integer<int32>
attachmentIds
integer<int32>[] | null

Response

200 - application/json

OK

id
integer<int32>
documentName
string | null
documentType
integer<int32>
documentTypeName
string | null
documentExtension
string | null
size
integer<int32>
createdByName
string | null
createdDate
string<date-time>
expirationDate
string<date-time>
deleted
boolean
notes
string | null