Create task


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

Body
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
attachedFiles
fileId
number   optional
Format int64
name
string   optional

Only in GET

attachedAccountingDocumentIds
accountingDocumentId
number   optional
Format int64
accountingDocumentNo
string   optional

Only in GET

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
attachedFiles
fileId
number   optional
Format int64
name
string   optional

Only in GET

attachedAccountingDocumentIds
accountingDocumentId
number   optional
Format int64
accountingDocumentNo
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
Object