URL

GET https://{api-url}/api/v2/tenants/{tenantId}/timeBoundRequests/{timeBoundRequestId}/activitylog

Sample URLs

https://{api-url}/api/v2/tenants/client_4/timeBoundRequests/TBT0000001804/activitylog?startTs=2018-10-29T12:26:27 0000&endTs=2018-11-02T12:26:27 0000&isDescendingOrder=true

Parameters

All parameters are optional:

FieldDefault ValueDescription
startTsTicket created timeTo retrieve 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
endTsCurrent timeendTs indicates the to date and time.
Example: 2018-08-25T10:20:15 0000
isDescendingOrdertrueTo 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

Date format is yyyy-MM-ddTHH:mm:ssZ (GMT).

Sample response

{
 "results": [{
 "activity": "Time Bound Request "#TBT0000001804 Junk data should be truncated from repository" updated by James",
 "htmlLog": [
 "<div class="ActivityLogDetails"><p class="AttributeName" >Priority changed to Normal</p></div>"
 ],
 "createdTime": "2018-11-01T06:23:24+0000",
 "logType": "TICKET",
 "createdBy": {
 "loginName": "James.Blake",
 "lastName": "Blake",
 "firstName": "James",
 "email": "james.blake@myorganization.com",
 "phoneNumber": "800 234-2345"
 },
 "changeLog": [{
 "attribute": "Priority",
 "oldValue": "",
 "newValue": "Normal"
 }]
 },
 {
 "activity": "Time Bound Request "#TBT0000001804 Junk data should be truncated from repository" updated by James",
 "htmlLog": [
 "<div class="ActivityLogDetails"><p class="AttributeName" >Assignee changed from John.Smith to Mark.Rogers</p><p class="AttributeName" >Assignee Group changed to Software Admins</p></div>"
 ],
 "createdTime": "2018-11-01T06:23:00+0000",
 "logType": "TICKET",
 "createdBy": {
 "loginName": "James.Blake",
 "lastName": "Blake",
 "firstName": "James",
 "email": "james.blake@myorganization.com",
 "phoneNumber": "800 234-2345"
 },
 "changeLog": [{
 "attribute": "Assignee",
 "oldValue": "John.Smith",
 "newValue": "Mark.Rogers"
 },
 {
 "attribute": "Assignee Group",
 "oldValue": "",
 "newValue": "Software Admins"
 }
 ]
 },
 {
 "activity": "New Time Bound Request "#TBT0000001804 Junk data should be truncated from repository" created by James",
 "createdTime": "2018-11-01T06:20:51+0000",
 "logType": "TICKET",
 "createdBy": {
 "loginName": "James.Blake",
 "lastName": "Blake",
 "firstName": "James",
 "email": "james.blake@myorganization.com",
 "phoneNumber": "800 234-2345"
 }
 }
 ],
 "totalResults": 3,
 "pageSize": 3,
 "nextPage": false,
 "startDate": "2018-10-29T12:26:27+0000",
 "endDate": "2018-11-02T12:26:27+0000",
 "descendingOrder": true
}