Endpoint
/api/v2/tenants/{tenantId}/tasks/{taskId}/responses/search
Path Parameters
tenantIdstring
taskIdstring
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": false,
"nextPageNo": 0,
"orderBy": "response.id",
"pageNo": 1,
"pageSize": 10,
"previousPageNo": 0,
"results": [
{
"attachments": [
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/tasks/TASK0000001109/responses/1896/resources/90",
"createdDate": "2016-03-29T08:53:48+0000",
"id": 90,
"name": "file-1.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/tasks/TASK0000001109/responses/1896/resources/91",
"createdDate": "2016-03-29T08:53:48+0000",
"id": 91,
"name": "file-2.txt"
}
],
"createdDate": "2016-03-29T08:53:48+0000",
"creator": {
"email": "john.smith@domain.com",
"firstName": "John",
"id": "USR0000002095",
"lastName": "Smith",
"loginName": "John.Smith"
},
"description": "Task Attachment",
"hasAttachments": true,
"internal": false,
"tags": "API,Task",
"timeSpent": 120
},
{
"createdDate": "2016-03-29T14:13:20+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": 200
},
{
"attachments": [
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/tasks/TASK0000001109/responses/1893/resources/88",
"createdDate": "2016-03-29T08:24:31+0000",
"id": 88,
"name": "2.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/tasks/TASK0000001109/responses/1893/resources/89",
"createdDate": "2016-03-29T08:24:31+0000",
"id": 89,
"name": "1.txt"
}
],
"createdDate": "2016-03-29T13:54:31+0000",
"creator": {
"email": "fssl.user@gmail.com",
"firstName": "FSSL",
"id": "USR0000002146",
"lastName": "API-Lab",
"loginName": "FSSL-API-Lab-User-1"
},
"description": "Implement API for Tasks",
"hasAttachments": true,
"internal": false
}
],
"totalPages": 1,
"totalResults": 3
}