GET/users/{userId}/tasks/search
사용자의 할 일을 검색한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
task
task.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | 사용자 ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| query | string | 검색어(최소 1자, 최대 100자)
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 | 정렬 기준
정렬 대상과 방식은 공백(URL 인코딩값: %20)으로 구분한다. 방식을 지정하지 않으면 기본값은 오름차순( default : createdTime example : createdTime desc |
| count | integer | 한 번에 조회할 할 일 개수 default : 50 maximum : 100 |
| cursor | string | 목록 커서값 |
| 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": "김철수",7 "assignees": [8 {9 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c754x",10 "assigneeName": "홍길동",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}