PUT
/
api
/
v1
/
tasks
/
{uid}
curl --request PUT \
  --url https://api.onfragment.com/api/v1/tasks/{uid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "archived": true,
  "status": "TODO",
  "status_global": "TODO",
  "legacy_data": {},
  "skills": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "queue_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assignee_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assignee_email": "<string>",
  "participants": {},
  "case_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parent_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "fields": {},
  "due_at": "2023-11-07T05:31:56Z",
  "form_data": {},
  "form_type": "<string>",
  "assigned_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "done_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "assignee_updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_assigned_player": true,
  "external_created_at": "2023-11-07T05:31:56Z",
  "external_updated_at": "2023-11-07T05:31:56Z",
  "external_status": "TODO",
  "external_status_updated_at": "2023-11-07T05:31:56Z",
  "external_assignee_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "archived": true,
  "status": "TODO",
  "legacy_data": {},
  "skills": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "queue_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_uid_expression": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_uid_column": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assignee_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "participants": {},
  "case_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parent_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "due_at": "2023-11-07T05:31:56Z",
  "fields": {},
  "form_data": {},
  "form_type": "<string>",
  "assigned_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "done_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "assignee_updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_assigned_player": true,
  "internal_created_at": "2023-11-07T05:31:56Z",
  "internal_updated_at": "2023-11-07T05:31:56Z",
  "external_created_at": "2023-11-07T05:31:56Z",
  "external_updated_at": "2023-11-07T05:31:56Z",
  "external_status": "TODO",
  "external_status_updated_at": "2023-11-07T05:31:56Z",
  "external_assignee_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_time": 123,
  "queue_time_business": 123,
  "work_time": 123,
  "work_time_business": 123,
  "incremental_work_time": 123,
  "incremental_work_time_business": 123,
  "resolution_time": 123,
  "resolution_time_business": 123,
  "num_children": 123,
  "num_children_done": 123,
  "sla_breach_at": "2023-11-07T05:31:56Z",
  "sla_breach_business_at": "2023-11-07T05:31:56Z",
  "wait_time": 123,
  "wait_time_business": 123,
  "played_at": "2023-11-07T05:31:56Z",
  "reviewer_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "review_form_data": {},
  "reviewed_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

fragment-user-agent
string | null
fragment-account
string | null
fragment-versioning
string | null
fragment-user
string | null

Path Parameters

uid
string
required

Body

application/json

Task Create schema, columns with default can be unset.

uid
archived
status

Task Status Enum.

Available options:
TODO,
STARTED,
DONE
status_global

Task global status enum.

Available options:
TODO,
DONE
legacy_data
skills
queue_uid
assignee_uid
assignee_email
participants
case_uid
parent_uid
fields
due_at
form_data
form_type
assigned_at
started_at
done_at
created_at
updated_at
assignee_updated_by
queue_updated_by
is_assigned_player
external_created_at
external_updated_at
external_status

Task Status Enum.

Available options:
TODO,
STARTED,
DONE
external_status_updated_at
external_assignee_uid

Response

200
application/json
Successful Response

Task schema, same as Task Model.

uid
string
required
archived
boolean
required
status
enum<string>
required

Task Status Enum.

Available options:
TODO,
STARTED,
DONE
legacy_data
object
required
skills
string[]
required
assignee_uid
string | null
required
participants
object
required
case_uid
string | null
required
parent_uid
string | null
required
due_at
string
required
fields
object
required
form_data
object
required
form_type
string | null
required
assigned_at
string | null
required
started_at
string | null
required
done_at
string | null
required
created_at
string
required
updated_at
string
required
assignee_updated_by
string | null
required
queue_updated_by
string | null
required
is_assigned_player
boolean | null
required
internal_created_at
string | null
required
internal_updated_at
string | null
required
external_created_at
string | null
required
external_updated_at
string | null
required
external_status
enum<string> | null
required

Task Status Enum.

Available options:
TODO,
STARTED,
DONE
external_status_updated_at
string | null
required
external_assignee_uid
string | null
required
queue_time
integer | null
required
queue_time_business
integer | null
required
work_time
integer | null
required
work_time_business
integer | null
required
incremental_work_time
integer | null
required
incremental_work_time_business
integer | null
required
resolution_time
integer | null
required
resolution_time_business
integer | null
required
num_children
integer
required
num_children_done
integer
required
queue_uid
string | null
queue_uid_expression
string | null
queue_uid_column
string | null
sla_breach_at
string | null
sla_breach_business_at
string | null
wait_time
integer | null
wait_time_business
integer | null
played_at
string | null
reviewer_uid
string | null
review_form_data
object | null
reviewed_at
string | null