Skip to main content

Reports

Get / Download task report#

For download xls format you need add header Accept: application/vnd.ms-excel
For get json format you need add header Accept: application/json

Request parameters:

Request ParameterTypeDescriptionRequired
pageIntegerNumber of pagefalse
sizeIntegerCount of elements in pagefalse
statusSet of stringAvailable statuses OPEN, IN_PROGRESS, CLOSEDfalse
approvalStatusSet of stringAvailable statuses
APPROVED, NOT_APPROVED, APPROVABLE, NOT_APPROVABLE
false
responseIdsSet of integerIdentifiers of responsesfalse
divisionIdsSet of integerIdentifiers of divisionsfalse
regionIdsSet of integerIdentifiers of regionsfalse
shopIdsSet of integerIdentifiers of storesfalse
closedAfterTimestamp in millisecondsResponse closed after datefalse
closedBeforeTimestamp in millisecondsResponse closed before datefalse

Response

Returns a list Response objects

Examples

curl https://api.qvalon.com/v1/tasks-manual/162/responses \
--header 'Authorization: Bearer <your_token>'
200 OK
{
"content": [
{
"id": 449,
"taskId": 162,
"version": 0,
"status": "OPEN",
"executorId": 1609,
"executorName": "John Doe",
"region": "Test region",
"regionId": 86,
"division": "Test division",
"divisionId": 28,
"overdue": false,
"attachmentsCount": 0,
"executorsCommentRequired": true,
"minAttachmentsCount": 1,
"executorRole": "SHOP",
"shopId": 668,
"shopName": "Store 01",
"labels": {},
"needApproval": true,
"approved": false,
"customObservers": [],
"deleted": false
}
],
"pageable": {
"sort": {
"sorted": false,
"unsorted": true,
"empty": true
},
"pageNumber": 0,
"pageSize": 20000,
"offset": 0,
"paged": true,
"unpaged": false
},
"totalElements": 1,
"totalPages": 1,
"last": true,
"first": true,
"sort": {
"sorted": false,
"unsorted": true,
"empty": true
},
"size": 20000,
"number": 0,
"numberOfElements": 1,
"empty": false
}

Download task attachments#

Download all files in zip format

Request parameters:

Request ParameterTypeDescriptionRequired
taskIdIntegerIdentifier of the tasktrue

Response

Return zip archive

Examples

curl https://api.qvalon.com/v1/tasks-manual/responses/zip?taskId=162 \
--header 'Authorization: Bearer <your_token>'
200 OK
[]