Event log
- 16 Jun 2022
- 1 Minute to read
- Print
- DarkLight
Event log
- Updated on 16 Jun 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Event log
Log of the ticket event.
Event logs
- Event logs ManageGET ticketing/eventLogs/{id}
- Get a single Event logGET ticketing/tickets/{id}/eventLogs
- Get the list of Event logs
Event log JSON Format
Event log is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
id | guid | Id of the event log. |
ticketId | selfIncrementId | Id of the ticket which the event log is related to. |
createdTime | datetime | Time when the event log was created. |
type | string | Type of the event log. Allowed values are "edited", "deleted", "recovered", "merged", "draftSaved", "draftDiscarded", "SLARecordAdded", "SLARecordUpdated", "SLARecordDeleted". |
createdById | guid | Id of the role(agent, visitor, system) who triggered the event. |
detail | string | Description of the event log. |
createdByType | string | Type of the role who triggered the event. Allowed values are "contact", "visitor", "chatbot", "channelAccount", "system", "agent". |
Get a single Event log
GET ticketing/eventLogs/{id}
Parameters:
No Parameters
Response:
Example
Sample Request:
curl https://api11.comm100.io/v4/ticketing/eventLogs/aa3f71ac-e64e-492f-ae4f-9be6de29321a \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \
Response:
HTTP/1.1 200 OK
{
"id": "aa3f71ac-e64e-492f-ae4f-9be6de29321a",
"ticketId": "11",
"createdTime": "2021-05-06T08:29:00.973Z",
"type": "edited",
"createdById": "00000000-0000-0000-0000-000000000000",
"detail": "System updated the Assignee from 'Unassigned' to 'comm100'.",
"createdByType": "system"
}
Get the list of Event logs
GET ticketing/tickets/{id}/eventLogs
Parameters:
No Parameters
Response:
An array of Event log
Example
Sample Request:
curl https://api11.comm100.io/v4/ticketing/tickets/aa3f71ac-e64e-492f-ae4f-9be6de29321a/eventLogs \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \
Response:
HTTP/1.1 200 OK
[
{
"id": "aa3f71ac-e64e-492f-ae4f-9be6de29321a",
"ticketId": "11",
"createdTime": "2021-05-06T08:29:00.973Z",
"type": "edited",
"createdById": "00000000-0000-0000-0000-000000000000",
"detail": "System updated the Assignee from 'Unassigned' to 'comm100'.",
"createdByType": "system"
}
]
Was this article helpful?