Endpoint
/api/v2/tenants/{tenantId}/timeBoundRequests/{timeBoundRequestId}/activitylog
Path Parameters
tenantIdstring
timeBoundRequestIdstring
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-02T12:26:27+0000",
"nextPage": false,
"pageSize": 3,
"results": [
{
"activity": "Time Bound Request '#TBT0000001804 Junk data should be truncated from repository' updated by James",
"changeLog": [
{
"attribute": "Priority",
"newValue": "Normal",
"oldValue": ""
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:23:24+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003ePriority changed to Normal\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "Time Bound Request '#TBT0000001804 Junk data should be truncated from repository' updated by James",
"changeLog": [
{
"attribute": "Assignee",
"newValue": "Mark.Rogers",
"oldValue": "John.Smith"
},
{
"attribute": "Assignee Group",
"newValue": "Software Admins",
"oldValue": ""
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:23:00+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eAssignee changed from John.Smith to Mark.Rogers\u003c/p\u003e\u003cp class='AttributeName' \u003eAssignee Group changed to Software Admins\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "New Time Bound Request '#TBT0000001804 Junk data should be truncated from repository' created by James",
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 234-2345"
},
"createdTime": "2018-11-01T06:20:51+0000",
"logType": "TICKET"
}
],
"startDate": "2018-10-29T12:26:27+0000",
"totalResults": 3
}