Endpoint
/api/v2/tenants/{tenantId}/changeRequests/{changeRequestId}/activitylog
Path Parameters
tenantIdstring
changeRequestIdstring
Query Parameters
startTsstring
To get activities performed on a change 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": 4,
"results": [
{
"activity": "Change Request '#CHG0000001801 Reset VPN Details' updated by James",
"changeLog": [
{
"attribute": "plannedEnd",
"newValue": "Fri, 30 Nov 2018, 07:15 AM UTC",
"oldValue": ""
},
{
"attribute": "plannedStart",
"newValue": "Thu, 01 Nov 2018, 06:15 AM UTC",
"oldValue": ""
},
{
"attribute": "workEnd",
"newValue": "Wed, 21 Nov 2018, 07:15 AM UTC",
"oldValue": ""
},
{
"attribute": "workStart",
"newValue": "Wed, 07 Nov 2018, 06:15 AM UTC",
"oldValue": ""
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 123-1234"
},
"createdTime": "2018-11-01T06:15:38+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eplannedEnd changed to Fri, 30 Nov 2018, 07:15 AM UTC\u003c/p\u003e\u003cp\u003e class = 'AttributeName' \u003eplannedStart changed to Thu, 01 Nov 2018, 06:15 AM UTC\u003c/p\u003e \u003cp\u003e class = 'AttributeName' \u003eworkEnd changed to Wed, 21 Nov 2018, 07:15 AM UTC\u003c/p\u003e \u003cp\u003e class = 'AttributeName' \u003eworkStart changed to Wed, 07 Nov 2018, 06:15 AM UTC\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "Change Request '#CHG0000001801 Reset VPN Details' updated by James",
"changeLog": [
{
"attribute": "Assignee",
"newValue": "global media",
"oldValue": ""
},
{
"attribute": "Change Type",
"newValue": "Normal",
"oldValue": ""
},
{
"attribute": "Priority",
"newValue": "High",
"oldValue": "Low"
}
],
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 123-1234"
},
"createdTime": "2018-11-01T06:15:01+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eAssignee changed to global media\u003c/p\u003e\u003cp\u003e class = 'AttributeName' \u003eChange Type changed to Normal\u003c/p\u003e \u003cp\u003e class = 'AttributeName' \u003ePriority changed from Low to High\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "Change Request '#CHG0000001801 Reset VPN Details' updated by James.Blake",
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 123-1234"
},
"createdTime": "2018-11-01T06:14:38+0000",
"htmlLog": [
"\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003e New response 'Unable to login to VPN.' added.\u003c/p\u003e\u003c/div\u003e"
],
"logType": "TICKET"
},
{
"activity": "New Change Request '#CHG0000001801 Reset VPN Details' created by James",
"createdBy": {
"email": "james.blake@myorganization.com",
"firstName": "James",
"lastName": "Blake",
"loginName": "James.Blake",
"phoneNumber": "800 123-1234"
},
"createdTime": "2018-11-01T06:14:22+0000",
"logType": "TICKET"
}
],
"startDate": "2018-10-29T12:26:27+0000",
"totalResults": 4
}