Endpoint
/api/v2/tenants/{tenantId}/incidents/{incidentId}/responses/search
Path Parameters
tenantIdstring
incidentIdstring
Query Parameters
pageNointeger
pageSizeinteger
sortNamestring
isDescendingOrderboolean
queryStringstring
Responses
OK
descendingOrderboolean
nextPageboolean
nextPageNointeger
orderBystring
pageNointeger
pageSizeinteger
previousPageNointeger
resultsarray
Child Parameters
- results.attachments
- results.createdDate
- results.creator
- results.description
- results.extTicketResponseId
- results.hasAttachments
- results.internal
- results.tags
- results.timeSpent
totalPagesinteger
totalResultsinteger
{
"descendingOrder": true,
"nextPage": true,
"nextPageNo": 2,
"orderBy": "response.id",
"pageNo": 1,
"pageSize": 2,
"previousPageNo": 0,
"results": [
{
"attachments": [
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/incidents/INC0000001114/responses/1913/resources/108",
"createdDate": "2016-03-29T12:56:15+0000",
"id": 108,
"name": "2.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/incidents/INC0000001114/responses/1913/resources/109",
"createdDate": "2016-03-29T12:56:15+0000",
"id": 109,
"name": "1.txt"
}
],
"createdDate": "2016-03-29T12:56:15+0000",
"creator": {
"email": "tester@gmail.com",
"firstName": "FSSL",
"id": "USR0000002146",
"lastName": "API-Lab",
"loginName": "FSSL-API-Lab-User-1"
},
"description": "Testing response",
"extTicketResponseId": "12345",
"hasAttachments": true,
"internal": false,
"tags": "tag1,tag2"
},
{
"createdDate": "2016-03-29T12:42:49+0000",
"creator": {
"email": "john.smith@domain.com",
"firstName": "John",
"id": "USR0000002095",
"lastName": "Smith",
"loginName": "John.Smith"
},
"description": "Testing description-update",
"hasAttachments": false,
"internal": false
}
],
"totalPages": 3,
"totalResults": 6
}