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

Describes the clientId of the tenant

problemId
string

Unique Identifier (UUID) of problem

Query Parameters
pageNo
integer

pageSize
integer

sortName
string

isDescendingOrder
boolean

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

nextPageNo
integer

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.attachments
results.createdDate
results.creator
results.description
results.extTicketResponseId
results.hasAttachments
results.internal
results.tags
results.timeSpent
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "nextPageNo": 0,
  "orderBy": "response.id",
  "pageNo": 1,
  "pageSize": 10,
  "previousPageNo": 0,
  "results": [
    {
      "attachments": [
        {
          "contentURL": "https:///api/v2/tenants/client_1000/problems/PRB0000001112/responses/1904/resources/100",
          "createdDate": "2016-03-29T11:02:19+0000",
          "id": 100,
          "name": "file-1.txt"
        },
        {
          "contentURL": "https:///api/v2/tenants/client_1000/problems/PRB0000001112/responses/1904/resources/101",
          "createdDate": "2016-03-29T11:02:19+0000",
          "id": 101,
          "name": "file-2.txt"
        }
      ],
      "createdDate": "2016-03-29T11:02:19+0000",
      "creator": {
        "email": "john.smith@domain.com",
        "firstName": "John",
        "id": "USR0000002095",
        "lastName": "Smith",
        "loginName": "John.Smith"
      },
      "description": "Adding Problem Attachment",
      "hasAttachments": true,
      "internal": false,
      "tags": "API,Problem",
      "timeSpent": 40
    },
    {
      "createdDate": "2016-03-29T10:45:44+0000",
      "creator": {
        "email": "john.smith@domain.com",
        "firstName": "John",
        "id": "USR0000002095",
        "lastName": "Smith",
        "loginName": "John.Smith"
      },
      "description": "Response testing-1",
      "hasAttachments": false,
      "internal": false,
      "timeSpent": 25
    },
    {
      "attachments": [
        {
          "contentURL": "https:///api/v2/tenants/client_1000/problems/PRB0000001112/responses/1902/resources/98",
          "createdDate": "2016-03-29T10:33:17+0000",
          "id": 98,
          "name": "2.txt"
        },
        {
          "contentURL": "https:///api/v2/tenants/client_1000/problems/PRB0000001112/responses/1902/resources/99",
          "createdDate": "2016-03-29T10:33:17+0000",
          "id": 99,
          "name": "1.txt"
        }
      ],
      "createdDate": "2016-03-29T16:03:18+0000",
      "creator": {
        "email": "fssl.user@gmail.com",
        "firstName": "FSSL",
        "id": "USR0000002146",
        "lastName": "API-Lab",
        "loginName": "FSSL-API-Lab-User-1"
      },
      "description": "Device status is down",
      "hasAttachments": true,
      "internal": false,
      "timeSpent": 55
    }
  ],
  "totalPages": 1,
  "totalResults": 3
}