Endpoint
/api/v2/tenants/{tenantId}/problems/{problemId}/activitylog
Path Parameters
tenantId
string

Describes the clientId of the tenant

problemId
string

Unique Identifier (UUID) of problem

Query Parameters
startTs
string

To fetch activities performed on a problem 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

endTs
string

endTs indicates the to date and time. Example: 2018-08-25T10:20:15 0000

isDescendingOrder
boolean

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

descendingOrder
boolean

endDate
string

nextPage
boolean

pageSize
integer

results
array

results.activity
results.changeLog
results.createdBy
results.createdTime
results.htmlLog
results.logType
startDate
string

totalResults
integer

{
  "descendingOrder": true,
  "endDate": "2018-11-02T12:26:27+0000",
  "nextPage": false,
  "pageSize": 5,
  "results": [
    {
      "activity": "Problem '#PRB0000001112 Issue with Device Status' updated by James",
      "changeLog": [
        {
          "attribute": "isKnownIssue",
          "newValue": "Yes",
          "oldValue": "No"
        },
        {
          "attribute": "workaround",
          "newValue": "work around",
          "oldValue": ""
        }
      ],
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 123-1234"
      },
      "createdTime": "2018-11-01T06:19:01+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eisKnownIssue changed from No to Yes\u003c/p\u003e\u003cp class='AttributeName' \u003eworkaround changed to work around\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "Problem '#PRB0000001112 Issue with Device Status' updated by James",
      "changeLog": [
        {
          "attribute": "Priority",
          "newValue": "Normal",
          "oldValue": "Low"
        },
        {
          "attribute": "rootCause",
          "newValue": "root cause",
          "oldValue": ""
        }
      ],
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 123-1234"
      },
      "createdTime": "2018-11-01T06:18:50+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003ePriority changed from Low to Normal\u003c/p\u003e\u003cp class='AttributeName' \u003erootCause changed to root cause\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "Problem '#PRB0000001112 Issue with Device Status'updated by James",
      "changeLog": [
        {
          "attribute": "Assignee",
          "newValue": "John.Smith",
          "oldValue": ""
        },
        {
          "attribute": "Assignee Group",
          "newValue": "Windows Support Team",
          "oldValue": ""
        }
      ],
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 123-1234"
      },
      "createdTime": "2018-11-01T06:18:38+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eAssignee changed to John.Smith\u003c/p\u003e\u003cp class='AttributeName' \u003eAssignee Group changed to Windows Support Team\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "Problem '#PRB0000001112 Issue with Device Status' updated by James",
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 123-1234"
      },
      "createdTime": "2018-11-01T06:18:22+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003e New response 'Device status shows Unavailable' added.\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "New Problem '#PRB0000001112 Issue with Device Status' created by James",
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 123-12344444"
      },
      "createdTime": "2018-11-01T06:17:28+0000",
      "logType": "TICKET"
    }
  ],
  "startDate": "2018-10-29T12:26:27+0000",
  "totalResults": 5
}