Endpoint
/api/v2/tenants/{tenantId}/serviceRequests/{serviceRequestId}/responses/search
Path Parameters
tenantIdstring
serviceRequestIdstring
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/serviceRequests/SRQ0000001113/responses/1907/resources/104",
"createdDate": "2016-03-29T11:57:45+0000",
"id": 104,
"name": "file-1.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/serviceRequests/SRQ0000001113/responses/1907/resources/105",
"createdDate": "2016-03-29T11:57:45+0000",
"id": 105,
"name": "file-2.txt"
}
],
"createdDate": "2016-03-29T11:57:45+0000",
"creator": {
"email": "john.s@domain.com",
"firstName": "John",
"id": "USR0000002095",
"lastName": "Smith",
"loginName": "John.Smith"
},
"description": "Service Request Attachment",
"hasAttachments": true,
"internal": false,
"tags": "API,Service"
},
{
"createdDate": "2016-03-29T11:37:58+0000",
"creator": {
"email": "john.s@domain.com",
"firstName": "John",
"id": "USR0000002095",
"lastName": "Smith",
"loginName": "John.Smith"
},
"description": "Response Testing-1",
"hasAttachments": false,
"internal": false
},
{
"attachments": [
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/serviceRequests/SRQ0000001113/responses/1905/resources/102",
"createdDate": "2016-03-29T11:32:09+0000",
"id": 102,
"name": "2.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_1000/serviceRequests/SRQ0000001113/responses/1905/resources/103",
"createdDate": "2016-03-29T11:32:09+0000",
"id": 103,
"name": "1.txt"
}
],
"createdDate": "2016-03-29T17:02:10+0000",
"creator": {
"email": "tester@gmail.com",
"firstName": "FSSL",
"id": "USR0000002146",
"lastName": "API-Lab",
"loginName": "FSSL-API-Lab-User-1"
},
"description": "Internet is unavailable",
"hasAttachments": true,
"internal": false
}
],
"totalPages": 1,
"totalResults": 3
}