Get Attachment Log


This request returns the specified attachment log.
escape characters \n and html character <br> are used for seperating the lines in the content log.
An attachment log contains the log of an action that have taken place on the attachments.

Resource

GET /attachments/logs/<OID>

Parameters

None

Payload

None

Context

Authorization

Administrator

Errors

Example

Request
GET https://xelion.nl/api/v1/master/attachments/logs/1813094
Response
{
    "object": {
        "timeStamp": "2019-03-05 14:32:16",
        "timeStampEnd": "2019-03-05 14:32:16",
        "file": "",
        "status": "SUCCESS",
        "action": "delete",
        "log": {
            "content": "Removing attachments from 2018-11-01 17:30:31 until 2018-11-21 17:30:31\n<br>types: call recordings, voicemails, chats, mails\n<br>\n<br>",
            "oid": "1813101",
            "objectType": "Comment"
        },
        "permissions": "ReadWriteRemove",
        "commonName": "2019-03-05 15:32:16",
        "oid": "1813094",
        "objectType": "XCCAttachmentLog"
    },
    "links": [
        {
            "rel": "self",
            "method": "GET"
        }
    ]
}