Endpoint
/api/v2/tenants/{tenantId}/tasks/{taskId}/activitylog
Path Parameters
tenantIdstring
taskIdstring
Query Parameters
startTsstring
To get activities performed on a service request within a certain duration, provide the start time and end time. startTs indicates the from date and time. Example: 2018-08-10T05:39:51 0000
endTsstring
endTs indicates the to date and time. Example: 2018-08-25T10:20:15 0000
isDescendingOrderboolean
To list the data in a descending order (high to low), provide isDescendingOrder: true, otherwise provide false. By default, data is listed in descending order. Example: To arrange data from 30th Oct to 1st Oct, provide isDescendingOrder: true
Responses
OK
descendingOrderboolean
endDatestring
nextPageboolean
pageSizeinteger
resultsarray
Child Parameters
- results.activity
- results.changeLog
- results.createdBy
- results.createdTime
- results.htmlLog
- results.logType
startDatestring
totalResultsinteger
{
"descendingOrder": true,
"endDate": "2018-11-06T12:26:27+0000",
"nextPage": false,
"pageSize": 4,
"results": [
{
"activity": "Task '#TASK0000001803 Update Python Version' updated by James",
"changeLog": [
{
"attribute": "Time Spent (min)",
"newValue": "120",
"oldValue": "0"
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:22:03+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003e New response 'time spent' added.\u003c/p\u003e\u003cp class='AttributeName' \u003eTime Spent (min) changed from 0 to 120\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "Task '#TASK0000001803 Update Python Version' updated by James",
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:21:50+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eestimatedHours changed from 12 hours to 13 hours \u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "Task '#TASK0000001803 Update Python Version' updated by James",
"changeLog": [
{
"attribute": "Priority",
"newValue": "High",
"oldValue": "Low"
},
{
"attribute": "startDate",
"newValue": "Mon, 05 Nov 2018, 06:30 PM UTC",
"oldValue": ""
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:21:43+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003ePriority changed from Low to High\u003c/p\u003e\u003cp class='AttributeName' \u003estartDate changed to Mon, 05 Nov 2018, 06:30 PM UTC\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "New Task \"#TASK0000001803 Update Python Version\" created by James",
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "Blake",
"lastName": "James",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:17:59+0000",
"logType": "TICKET"
}
],
"startDate": "2018-10-29T12:26:27+0000",
"totalResults": 4
}