Endpoint
/api/v2/tenants/{tenantId}/changeRequests/{changeRequestId}/responses/search
Path Parameters
tenantId
string

changeRequestId
string

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
(Optional) Attachments for the particular response.
results.createdDate
results.creator
results.description
Short summary describing the response.
results.hasAttachments
results.internal
(Optional) Represents the visibility of the response: Setting internal=true represents visibility of response within the organization Setting internal=false represents visibility of response to all users
results.tags
(Optional) Labels attached to the response.
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "nextPageNo": 0,
  "orderBy": "response.id",
  "pageNo": 1,
  "pageSize": 10,
  "previousPageNo": 0,
  "results": [
    {
      "attachments": [
        {
          "contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/changeRequests/CHG0000001111/responses/1901/resources/96",
          "createdDate": "2016-03-29T10:15:55+0000",
          "id": 96,
          "name": "file-1.txt"
        },
        {
          "contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/changeRequests/CHG0000001111/responses/1901/resources/97",
          "createdDate": "2016-03-29T10:15:55+0000",
          "id": 97,
          "name": "file-2.txt"
        }
      ],
      "createdDate": "2016-03-29T10:15:55+0000",
      "creator": {
        "email": "john.smith@opsramp.com",
        "firstName": "John",
        "id": "USR0000002095",
        "lastName": "Smith",
        "loginName": "John.Smith"
      },
      "description": "Change Request Attachment",
      "hasAttachments": true,
      "internal": "false",
      "tags": "API,Change Request"
    },
    {
      "createdDate": "2016-03-29T09:17:45+0000",
      "creator": {
        "email": "john.smith@opsramp.com",
        "firstName": "John",
        "id": "USR0000002095",
        "lastName": "Smith",
        "loginName": "John.Smith"
      },
      "description": "Need quick response on this issue",
      "hasAttachments": false,
      "internal": "false"
    },
    {
      "attachments": [
        {
          "contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/changeRequests/CHG0000001111/responses/1898/resources/92",
          "createdDate": "2016-03-29T09:08:40+0000",
          "id": 92,
          "name": "2.txt"
        },
        {
          "contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/changeRequests/CHG0000001111/responses/1898/resources/93",
          "createdDate": "2016-03-29T09:08:40+0000",
          "id": 93,
          "name": "1.txt"
        }
      ],
      "createdDate": "2016-03-29T14:38:41+0000",
      "creator": {
        "email": "tester3@gmail.com",
        "firstName": "FSSL",
        "id": "USR0000002147",
        "lastName": "API-Lab-2",
        "loginName": "FSSL-API-Lab-User-2"
      },
      "description": "Unable to login into VPN account, please change and inform",
      "hasAttachments": true,
      "internal": "false"
    }
  ],
  "totalPages": 1,
  "totalResults": 3
}