GET/users/{userId}/tasks/search
ユーザーのタスクを検索する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
task
task.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザー ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| query | string | 検索語
minLength : 1 maxLength : 100 example : 週次会議 |
| assignorId | string | 依頼者 ID |
| assigneeId | string | 担当者 ID |
| startTime | string | 検索対象の開始時刻
format : date-time |
| endTime | string | 検索対象の終了時刻
format : date-time |
| status | string | タスクの完了ステータス Allowed values : DONE, TODO |
| hasDueDate | boolean | 期限の有無
|
| hasAttachment | boolean | 添付ファイルの有無
default : false |
| orderBy | string | 並べ替え基準
default : createdTime example : createdTime%20desc |
| count | integer | 取得数 default : 50 maximum : 100 |
| cursor | string | リストのカーソル値 (URL エンコードする) |
| 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 "taskId": "95e426f5-9c85-4d28-9c41-f22950398c9c",5 "assignorId": "userf7da-f82c-4284-13e7-030f3b4c756x",6 "assignorName": "Susan Nielsen",7 "assignees": [8 {9 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c754x",10 "assigneeName": "Assignee Name",11 "status": "TODO"12 }13 ],14 "completionCondition": "MUST_ALL",15 "title": "会議準備",16 "content": "会議室を予約する。",17 "status": "TODO",18 "dueDate": "2024-05-25",19 "resourceLocation": 14101,20 "createdTime": "2024-04-04T04:52:06.405Z",21 "modifiedTime": "2024-04-04T05:41:52.624Z"22 }23 ],24 "responseMetaData": {25 "nextCursor": "H4sIAAAAAAAA_6tWSk4sSU3PL6r0TFGyUkopTda1MDAwM7UwN1LSUUouLS7Jz_UvSkktUrKqVsqHMJRyc3NzKpRqawHgjprNPQAAAA"26 }27}