Search for Tasks


post https://api.trivi.com/v2/search/tasks

Body
TaskSearch
filters
Array of Object   optional
page
integer   optional
pageSize
integer   optional
Default 10 Minimum 10 Maximum 100
searchText
string   optional
sortingField
string   optional
sortingDirection
string   optional

ASC or DESC, default is DESC

filters
field
string   optional
value
object   optional

If valueFrom or valueTo is filled, this must be empty

valueFrom
object   optional
valueTo
object   optional
valueContains
Array of Object   optional
TasksSearchResult
tasks
Array of Task   optional
pagesCount
integer   optional
currentPage
integer   optional
pageSize
number   optional
Task
id
number   optional

Only in GET

Format int64
title
string   optional
description
string   optional
created
string   optional

Only in GET

Format date-time
authorName
string   optional

Only in GET

assigneeName
string   optional

Only in GET

assigneeId
number   optional
Format int64
dueDate
string   optional
Format date-time
priority
number   optional

0 - Low, 1 - Normal, 2 - High

state
number   optional

0 - New, 1 - In Progress, 2 - Done

attachedAccountingDocumentIds
Array of Object   optional
attachedFiles
Array of Object   optional
authorId
number   optional

Only in GET

Format int64
authorGuid
string   optional

UUID

Only in GET

authorType
number   optional

Only in GET

1 - User

2 - App

organizationId
integer   optional
attachedAccountingDocumentIds
accountingDocumentId
number   optional
Format int64
accountingDocumentNo
string   optional

Only in GET

attachedFiles
fileId
number   optional
Format int64
name
string   optional

Only in GET

ValidationError
code
string   optional
message
string   optional
params
object   optional
fieldsAffected
Array of ValidationFieldError   optional
ValidationFieldError
name
string   optional
message
string   optional
code
string   optional
params
object   optional