GET/users/{userId}/tasks
ユーザーのマイタスクのリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
task
task.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザー ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| categoryId | string | ユーザーのタスクカテゴリー ID required |
| count | integer | 取得数 default : 50 minimum : 0 maximum : 100 |
| cursor | string | リストのカーソル値 (URL エンコードする) |
| status | string | タスクの状態のフィルター条件
default : TODO Allowed values : TODO, ALL |
| searchFilterType | string | タスクの検索範囲
default : ALL Allowed values : ALL, ASSIGNEE, ASSIGNOR |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| tasks | array (Task) | |
| responseMetaData | object (responseMetaData) |
| Property | Type | Description |
|---|---|---|
| assignees | array (Assignee) | 担当者リスト |
| assignorId | string | 依頼者 ID |
| assignorName | string | 依頼者名 |
| completionCondition | string | 完了条件
Allowed values : ANY_ONE, MUST_ALL |
| content | string | タスク内容 |
| createdTime | string | 登録日時 (YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| dueDate | string | 期限 (YYYY-MM-DD) nullable : true |
| modifiedTime | string | 更新日時 (YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| resourceLocation | integer | リソースロケーションコード readOnly : true |
| status | string | タスクの完了ステータス
Allowed values : DONE, TODO |
| taskId | string | タスク ID |
| title | string | 件名 |
| Property | Type | Description |
|---|---|---|
| assigneeId | string | 担当者 ID required |
| assigneeName | string | 担当者名 readOnly : true |
| status | string | タスクの完了ステータス
required Allowed values : DONE, TODO |
| Property | Type | Description |
|---|---|---|
| nextCursor | string |
example
1{2 "tasks": [3 {4 "assignees": [5 {6 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c754x",7 "assigneeName": "Susan Nielsen",8 "status": "TODO"9 },10 {11 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c756x",12 "assigneeName": "Assignee Name",13 "status": "TODO"14 }15 ],16 "assignorId": "userf7da-f82c-4284-13e7-030f3b4c756x",17 "assignorName": "Assignor Name",18 "completionCondition": "MUST_ALL",19 "content": "タスク内容",20 "createdTime": "2024-04-04T04:52:06.405Z",21 "dueDate": null,22 "modifiedTime": "2024-04-04T05:41:52.624Z",23 "resourceLocation": 14101,24 "status": "TODO",25 "taskId": "95e426f5-9c85-4d28-9c41-f22950398c9c",26 "title": "タスク"27 }28 ],29 "responseMetaData": {30 "nextCursor": "H4sIAAAAAAAA_6tWSk4sSU3PL6r0TFGyUkopTda1MDAwM7UwN1LSUUouLS7Jz_UvSkktUrKqVsqHMJRyc3NzKpRqawHgjprNPQAAAA"31 }32}