タスクを使用すると、Boxでファイル中心のワークフローを実現できます。ユーザーはファイルに関連するタスクを作成し、タスクを完了するために他のユーザーに割り当てることができます。
review
タスク担当者が実行するように求められるタスクのタイプ。
次の値のいずれか1つ: review
,complete
all_assignees
タスクが完了済みと見なされる前にそのタスクを完了する必要がある担当者を定義します。
all_assignees
- タスクが完了済みと見なされるには、すべての担当者がそのタスクをレビューまたは承認する必要があります。any_assignee
- いずれか1人の担当者がタスクをレビューまたは承認すれば、タスクが完了済みと見なされます。次の値のいずれか1つ: all_assignees
,any_assignee
2012-12-12T10:53:43-08:00
タスクオブジェクトが作成された日時
タスクを作成したユーザー
2012-12-12T10:53:43-08:00
タスクの期限
11446498
このオブジェクトの一意の識別子
true
タスクが完了済みかどうか
タスクに関連付けられたファイル
Legal review
タスクに含めるメッセージ
タスクに関連付けられたタスク割り当てオブジェクトのコレクション
task
次の値に固定: task
{
"action": "review",
"completion_rule": "all_assignees",
"created_at": "2012-12-12T10:53:43-08:00",
"created_by": {
"id": 11446498,
"login": "ceo@example.com",
"name": "Aaron Levie",
"type": "user"
},
"due_at": "2012-12-12T10:53:43-08:00",
"id": 11446498,
"is_completed": true,
"item": {
"etag": 1,
"id": 12345,
"name": "Contract.pdf",
"sequence_id": 3,
"type": "file"
},
"message": "Legal review",
"task_assignment_collection": {
"entries": [
{
"id": 11446498,
"type": "task_assignment",
"item": {
"id": 12345,
"etag": 1,
"type": "file",
"sequence_id": 3,
"name": "Contract.pdf"
},
"assigned_to": {
"id": 11446498,
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"message": "Please review",
"completed_at": "2012-12-12T10:53:43-08:00",
"assigned_at": "2012-12-12T10:53:43-08:00",
"reminded_at": "2012-12-12T10:53:43-08:00",
"resolution_state": "incomplete",
"assigned_by": {
"id": 11446498,
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
}
}
],
"total_count": 100
},
"type": "task"
}