Get ticket log
POST /tickets/{ticketId}/log
Name | Type | Required | Comments |
ticketId | integer | yes | Id of ticket you want to receive. |
take | integer | no | Max ammount of tickets shown in results. Max value is 50. default: 25 |
skip | integer | no | Amount of tickets should be skipped from the result. |
{
"action_Types": ["ticket_status_changed","ticket_read"]
}
Field | Type | Comments |
actionTypes | Action types needed to be added to results. If empty, all action types are returned |
{
"data": [
{
"actionString": "leste saken",
"actionType": "ticket_read",
"includedItems": {
"categories": [],
"tags": [],
"users": []
},
"user": {
"id": "7ada8318-adf9-46d1-97ff-81aee80a8415",
"name": "Anton Checkhov",
"email": "[email protected]",
"status": "team",
"isBot": false
},
"time": "2022-10-28T12:41:36.6267804+00:00"
}, {
"actionString": "endret sakens status fra \"På vent\" til \"Åpen\"",
"actionType": "ticket_status_changed",
"includedItems": {
"categories": [],
"tags": [],
"users": []
},
"user": {
"id": "7ada8318-adf9-46d1-97ff-81aee80a8415",
"name": "Anton Checkhov",
"email": "[email protected]",
"status": "team",
"isBot": false
},
"time": "2022-09-27T23:05:58.7768791+00:00"
}
],
"errorCode": -1,
"errorText": null
}
Data
field will contain ticket model.Last modified 2mo ago