Endpoint
/api/v2/tenants/{tenantId}/serviceRequests/{serviceRequestId}/activitylog
Path Parameters
tenantId
string

serviceRequestId
string

Query Parameters
startTs
string

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

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-01T12:26:27+0000",
  "nextPage": false,
  "pageSize": 4,
  "results": [
    {
      "activity": "Service Request '#SRQ0000001800 Renewal of Adobe License' updated by James",
      "changeLog": [
        {
          "attribute": "Is Important",
          "newValue": "1",
          "oldValue": "0"
        }
      ],
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 234-2345"
      },
      "createdTime": "2018-11-01T06:11:40+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003c/div\u003e\u003cp\u003eIs Important changed from 0 to 1\u003c/p\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "Service Request '#SRQ0000001800 Renewal of Adobe License' updated by James",
      "changeLog": [
        {
          "attribute": "Assignee",
          "newValue": "John.Smith",
          "oldValue": ""
        }
      ],
      "createdBy": {
        "email": "james.blake@myorganization.com",
        "firstName": "James",
        "lastName": "Blake",
        "loginName": "James.Blake",
        "phoneNumber": "800 234-2345"
      },
      "createdTime": "2018-11-01T06:11:21+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003eAssignee changed to John.Smith\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "Service Request '#SRQ0000001800 Renewal of Adobe License' updated by Mark",
      "createdBy": {
        "email": "mark.rivers@myorganization.com",
        "firstName": "Mark",
        "id": "USR0000000007",
        "lastName": "Rivers",
        "loginName": "Mark.Rivers",
        "phoneNumber": ""
      },
      "createdTime": "2018-10-31T06:31:35+0000",
      "htmlLog": [
        "\u003cdiv class='ActivityLogDetails'\u003e\u003cp class='AttributeName' \u003e New response 'Adobe product license is expiring on Nov 4th.' added.\u003c/p\u003e\u003c/div\u003e"
      ],
      "logType": "TICKET"
    },
    {
      "activity": "New Service Request '#SRQ0000001800 Renewal of Adobe License' created by Mark",
      "createdBy": {
        "email": "mark.rivers@myorganization.com",
        "firstName": "Mark",
        "id": "USR0000000007",
        "lastName": "Rivers",
        "loginName": "Mark.Rivers",
        "phoneNumber": ""
      },
      "createdTime": "2018-10-30T06:18:25+0000",
      "logType": "TICKET"
    }
  ],
  "startDate": "2018-10-29T12:26:27+0000",
  "totalResults": 4
}