UserTasks
User tasks are used to create tasks for users in the system.
Model used to create a new user task
Unique id of user task
Ids of user groups to which the task is assigned
Ids of specific users to which the task is assigned
Title for the task
Description of the task
Deadline for the task, if any
POST /v1/usertasks HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 263
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"AssignedUserGroups": [
"123e4567-e89b-12d3-a456-426614174000"
],
"AssignedUsers": [
"text"
],
"Title": "text",
"Description": "text",
"Deadline": "2025-06-26T18:17:12.193Z",
"AttachedEntities": [
{
"EntityType": 0,
"EntityId": "text"
}
]
}
No content
A task assigned to one or more users in the system
Unique id of the task
Deadline for the task, if any
Title for the task
Description of the task
Represents a status of a user task
Ids of specific users to which the task is assigned
Ids of user groups to which the task is assigned
PUT /v1/usertasks HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 274
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Deadline": "2025-06-26T18:17:12.193Z",
"Title": "text",
"Description": "text",
"Status": 0,
"AssignedUsers": [
"text"
],
"AssignedUserGroups": [
"123e4567-e89b-12d3-a456-426614174000"
],
"AttachedEntities": [
{
"EntityType": 0,
"EntityId": "text"
}
]
}
No content
POST /v1/usertasks/batch HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 40
[
"123e4567-e89b-12d3-a456-426614174000"
]
OK
[
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Created": "2025-06-26T18:17:12.193Z",
"CreatedBy": "text",
"Deadline": "2025-06-26T18:17:12.193Z",
"Title": "text",
"Description": "text",
"Status": 0,
"AssignedUsers": [
"text"
],
"AssignedUserGroups": [
"123e4567-e89b-12d3-a456-426614174000"
],
"Comments": [
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Comment": "text",
"UserId": "text",
"Name": "text",
"Created": "2025-06-26T18:17:12.193Z",
"LastModified": "2025-06-26T18:17:12.193Z",
"IsSystemGenerated": true
}
],
"AttachedEntities": [
{
"EntityType": 0,
"EntityId": "text",
"Status": 0
}
]
}
]
Unique id of user task to get
GET /v1/usertasks/{uid} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Created": "2025-06-26T18:17:12.193Z",
"CreatedBy": "text",
"Deadline": "2025-06-26T18:17:12.193Z",
"Title": "text",
"Description": "text",
"Status": 0,
"AssignedUsers": [
"text"
],
"AssignedUserGroups": [
"123e4567-e89b-12d3-a456-426614174000"
],
"Comments": [
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Comment": "text",
"UserId": "text",
"Name": "text",
"Created": "2025-06-26T18:17:12.193Z",
"LastModified": "2025-06-26T18:17:12.193Z",
"IsSystemGenerated": true
}
],
"AttachedEntities": [
{
"EntityType": 0,
"EntityId": "text",
"Status": 0
}
]
}
Uid of user task
Model used to create comment on a user task
Unique id of comment
Comment itself
POST /v1/usertasks/{uid}/comments HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 63
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Comment": "text"
}
No content
Uid of user task
PUT /v1/usertasks/{uid}/comments HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 63
{
"Uid": "123e4567-e89b-12d3-a456-426614174000",
"Comment": "text"
}
No content
Uid of user task
Unique id of comment to delete
DELETE /v1/usertasks/{uid}/comments HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content