검색조건
start=2020-01-01end=2020-01-07?start={오늘}&end={오늘}로 값이 자동 세팅됨.| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id(Portal 에서 치료사에 할당된 환자 정보 조회 시 사용) |
| start | string 시작일( |
| end | string 종료일( |
[- {
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "evaluation blabla"
}, - {
- "id": "6d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "BASICS",
- "title": "evaluation blabla"
}, - {
- "id": "7d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "BASICS",
- "title": "Pour water from a pitcher and drink from a cup"
}, - {
- "id": "8d19e4d8dae0ee64f920d984",
- "completed": false,
- "type": "VIDEO",
- "title": "Pick up pill bottle"
}, - {
- "id": "9d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "READING",
- "title": "Stroke Rehab Products - 6 Gadgets for Stroke Survivors"
}
]
}
]미션 상세 정보를 조회한다
| mission_id | string Example: mission_id=5d19e4d8dae0ee64f920d984 missionId |
{- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "isFree": true,
- "isBookmark": true
}| mission_history_id required | string 미션 이력 ID |
{- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "isFree": true,
- "isBookmark": true
}| user_id required | integer <int64> (TypeLong) Example: user_id=1343 User Id |
| start required | string Example: start=2020-01-01 시작일( |
| end required | string Example: end=2020-01-07 종료일 ( |
[- {
- "date": "2020-01-01",
- "mission_count": 5,
- "completed_count": 5
}
]| start required | string Example: start=2020-01-01 시작일( |
| end required | string Example: end=2020-01-07 종료일 ( |
[- {
- "date": "2020-01-01",
- "mission_count": 5,
- "completed_count": 5
}
]검색조건
start=2020-01-01end=2020-01-07?start={오늘}&end={오늘}로 값이 자동 세팅됨.| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id(Portal 에서 치료사에 할당된 환자 정보 조회 시 사용) |
| start | string 시작일( |
| end | string 종료일( |
[- {
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "evaluation blabla",
- "tags": [
- "hello",
- "world"
]
}, - {
- "id": "6d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "BASICS",
- "title": "evaluation blabla",
- "tags": [
- "hello",
- "world"
]
}, - {
- "id": "7d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "BASICS",
- "title": "Pour water from a pitcher and drink from a cup",
- "tags": [
- "hello",
- "world"
]
}, - {
- "id": "8d19e4d8dae0ee64f920d984",
- "completed": false,
- "type": "VIDEO",
- "title": "Pick up pill bottle",
- "tags": [
- "hello",
- "world"
]
}, - {
- "id": "9d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "READING",
- "title": "Stroke Rehab Products - 6 Gadgets for Stroke Survivors",
- "tags": [
- "hello",
- "world"
]
}
]
}
]검색조건
start=1end=2?start=1&end=2147483647로 값이 자동 세팅됨.| start | integer (TypeInt) 시작 순서 |
| end | integer (TypeInt) 종료 순서 |
| handArmFunction | string hand arm function |
[- {
- "sequence": 1,
- "hand_arm_function": "LIMITED",
- "missions": [
- {
- "type": "ACTIVITY",
- "mission_info_id": "5d392daae3242b68e835c153",
- "title": "mission title",
- "isFree": true
}
]
}
]미션 정보 저장
| sequence | integer |
| hand_arm_function | string (HandArmFunctionTypeDto) Enum: "LIMITED" "STABILIZER" "ASSIST" "FUNCTIONAL" |
Array of objects (MissionSettingDetailDto) |
{- "sequence": 1,
- "hand_arm_function": "LIMITED",
- "missions": [
- {
- "type": "ACTIVITY",
- "mission_info_id": "5d392daae3242b68e835c153",
- "title": "mission title",
- "isFree": true
}
]
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}이 API는 batch 연동용이기 때문에 개발용으로만 사용이됨.
환자 ID
| user_id | integer <int64> (TypeLong) |
| date | string <date> (TypeDate) |
{- "user_id": 0,
- "date": "2020-01-01"
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}사용자의 오늘의 Advice 메세지 조회 API
| zone_offset | integer <int32> Example: zone_offset=540 ZoneOffset (Minutes) |
{- "message": "You completed 100% of your daily mission! Go you! (thumbs up)",
- "subscription_period": 50,
- "practice_times": 30.1,
- "mission_achievement": 65,
- "activity_achievement": 30.1,
- "diary": 65
}환자 ID
| date | string <date> (TypeDate) |
| offset | integer (TypeInt) |
| userId | integer <int64> (TypeLong) |
{- "date": "2020-01-01",
- "offset": 0,
- "userId": 0
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}사용자의 미션 수행시간 LOG 기록 API
미션 수행시간 LOG
| start_date required | string UTC 기준으로 예제의 포멧을 준수 할 것!! |
| end_date required | string UTC 기준으로 예제의 포멧을 준수 할 것!! |
| duration required | integer 단위 : sec |
{- "start_date": "2017-07-21T17:32:28.000Z",
- "end_date": "2017-07-21T17:32:28.000Z",
- "duration": 60
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}사용자의 미션 수행시간 LOG 기록 API
미션 수행시간 LOG
| mission_id | string 미션 아이디 |
| start_date required | string UTC 기준으로 예제의 포멧을 준수 할 것!! |
| end_date required | string UTC 기준으로 예제의 포멧을 준수 할 것!! |
| duration required | integer 단위 : sec |
{- "mission_id": "string",
- "start_date": "2017-07-21T17:32:28.000Z",
- "end_date": "2017-07-21T17:32:28.000Z",
- "duration": 60
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}{- "isCompleted": true,
- "title": "check severity",
- "description": "blablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalba"
}{- "isValid": true,
- "title": "check severity",
- "description": "blablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalbablablalba"
}Update HandArmFunction
| user_id | integer <int64> (TypeLong) |
| user_name | string |
string | |
| level | string (UserHandArmFunctionType) Enum: "FUNCTIONAL" "FUNCTIONAL_ASSIST" "GROSS_ASSIST" "STABILIZER" "NOT_HELPFUL" |
| mobility | string (MobilityType) Enum: "L3_1" "L3_2" "L3_3" "L3_4" "L3_5" |
{- "user_id": 0,
- "user_name": "luffy",
- "email": "handarmfunction@neofect.com",
- "level": "FUNCTIONAL",
- "mobility": "L3_1"
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}환자-치료사 매핑 배열
| patient_id required | integer <int64> (TypeLong) |
| therapist_id required | integer <int64> (TypeLong) |
[- {
- "patient_id": 0,
- "therapist_id": 0
}
]{- "code": "Error code Or Error field",
- "message": "Error Message"
}advice push 보낼 userId 배열
| user_ids required | Array of integers <int64> (TypeLong) [ items <int64 > ] |
{- "user_ids": [
- 0
]
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}| page | integer (TypeInt) 페이징 번호 |
| size | integer (TypeInt) 페이징 사이즈 |
| category | string (VideoArchiveCategoryEnum) Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK" Example: category=THERAPIST_LIVE 비디오 리스트 필터 조건 - 기본: |
| title | string 제목 검색 |
| orderby | string (VideoArchiveOrderEnum) Enum: "MOST_POPULAR" "NEWEST" "OLDEST" Example: orderby=MOST_POPULAR 비디오 리스트 정렬 조건 - 기본: |
{- "has_next": true,
- "total": 0,
- "page": 0,
- "data": [
- {
- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}
]
}비디오 아카이브 생성
| id | string 비디오 ID |
| title | string 제목 |
| video_url | string 유튜브 비디오 url |
| image_url | string 비디오 대표 이미지 |
| read_count | integer (TypeInt) |
| category | string (VideoArchiveCategoryEnum) Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK" |
| description | string 비디오 설명 |
| tags | Array of strings |
| created_by | string 작성자 |
| created_at | string <date-time> (TypeDateTime) |
{- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}{- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}{- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}| id required | string 비디오 아카이브 아이디 |
비디오 아카이브 생성
| id | string 비디오 ID |
| title | string 제목 |
| video_url | string 유튜브 비디오 url |
| image_url | string 비디오 대표 이미지 |
| read_count | integer (TypeInt) |
| category | string (VideoArchiveCategoryEnum) Enum: "ALL" "THERAPIST_LIVE" "HOME_TRAINING" "BOOKMARK" |
| description | string 비디오 설명 |
| tags | Array of strings |
| created_by | string 작성자 |
| created_at | string <date-time> (TypeDateTime) |
{- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}{- "id": "5e0d38509f9674a2b0e59fb0",
- "title": "Find What Works - Puting On A Jacket:",
- "read_count": 0,
- "category": "THERAPIST_LIVE",
- "description": "비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n비디오설명 블라블라\n",
- "tags": [
- "string"
], - "created_by": "siena",
- "created_at": "2017-07-21T17:32:28Z"
}| videoId required | string 비디오 ID |
북마크 여부 true / false
| is_bookmarked | boolean 북마크 여부 |
{- "is_bookmarked": true
}{- "code": "Error code Or Error field",
- "message": "Error Message"
}| page required | integer (TypeInt) Page |
| type | string Type |
| handArmFunction | string Hand Arm Function |
| day | integer <int64> (TypeLong) Day |
| limit required | integer (TypeInt) Limit |
| sort | string sort |
| title | string title |
| cate1 | string cate1 |
| cate2 | string cate2 |
{- "total": 0,
- "items": [
- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}
]
}미션 정보 생성
| id | string |
| type | string |
| handArmFunction | string |
| title | string |
| day | integer <int64> (TypeLong) |
| image | string |
| description | string |
| createdAt | string <date-time> (TypeDateTime) |
| links | Array of strings |
| tags | Array of strings |
| meta | string |
| isFree | boolean (TypeBool) |
| shareLink | string |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}| id required | string 미션 정보 아이디 |
미션 정보 생성
| id | string |
| type | string |
| handArmFunction | string |
| title | string |
| day | integer <int64> (TypeLong) |
| image | string |
| description | string |
| createdAt | string <date-time> (TypeDateTime) |
| links | Array of strings |
| tags | Array of strings |
| meta | string |
| isFree | boolean (TypeBool) |
| shareLink | string |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { },
- "isFree": true,
}| missionInfoId required | string Mission Info Id |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}
]| missionInfoId required | string Mission Info Id |
Reading 미션
| id | string |
| missionInfoId | string |
| title | string |
| content | string |
| order | integer (TypeInt) |
| createdAt | string <date-time> (TypeDateTime) |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}| missionInfoId required | string Reading 미션 아이디 |
| id required | string 미션 정보 아이디 |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}| missionInfoId required | string Mission Info Id |
| id required | string 미션 정보 아이디 |
Reading 미션
| id | string |
| missionInfoId | string |
| title | string |
| content | string |
| order | integer (TypeInt) |
| createdAt | string <date-time> (TypeDateTime) |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "content": "<html></html>",
- "order": 0,
- "createdAt": "2017-07-21T17:32:28Z"
}| missionInfoId required | string Mission Info Id |
Reading 미션 Order
| id | string |
| order | integer (TypeInt) |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "order": 0
}
]true| missionInfoId required | string Mission Info Id |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}
]Quiz 미션
| id | string |
| missionInfoId | string |
| title | string |
| quizType | string? |
Array of objects (quizAnswer) | |
| content | string |
| order | integer (TypeInt) |
| onlyAnswer | boolean (TypeBool) |
| createdAt | string <date-time> (TypeDateTime) |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}Quiz 미션
| id | string |
| missionInfoId | string |
| title | string |
| quizType | string? |
Array of objects (quizAnswer) | |
| content | string |
| order | integer (TypeInt) |
| onlyAnswer | boolean (TypeBool) |
| createdAt | string <date-time> (TypeDateTime) |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}{- "id": "5e4661e6b0d76e5d0875aa7d",
- "missionInfoId": "5e4661e6b0d76e5d0875aa7d",
- "title": "page1",
- "quizType": "OX",
- "answerList": [
- {
- "text": "Answer 1",
- "is_answer": true,
- "order": 0
}
], - "content": "<html></html>",
- "order": 0,
- "onlyAnswer": true,
- "createdAt": "2017-07-21T17:32:28Z"
}| type | string Enum: "ACTIVITY" "BASICS" "VIDEO" "READING" Example: type=BASICS MissionType [ ACTIVITY, BASICS, VIDEO, READING ] |
| handArmFunctionType | string Enum: "STABILIZER" "ASSIST" "FUNCTIONAL" Example: handArmFunctionType=STABILIZER HandArmFunctionLevelType [ Level 1 - STABILIZER, Level 2- ASSIST, Level 3 - FUNCTIONAL ] |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { }
}
]Homework에 등록될 Mission 리스트
| userId | integer <int64> (TypeLong) |
| therapistId | integer <int64> (TypeLong) |
| missionList | Array of strings |
| messages | string |
| date | string <date> (TypeDate) |
[- {
- "userId": 0,
- "therapistId": 0,
- "missionList": [
- "5e4661e6b0d76e5d0875aa7d"
], - "messages": "blah blah",
- "date": "2020-01-01"
}
]true| id required | string Example: 5d19e4d8dae0ee64f920d984 Homework - ObjectId |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "messages": "blah blah",
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "repeatCount": 0,
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "createdTime": "2017-07-21T17:32:28Z",
- "updateTime": "2017-07-21T17:32:28Z",
- "missionId": "5d19e4d8dae0ee64f920d984",
}
]
}| id required | string Example: 5d19e4d8dae0ee64f920d984 Homework - ObjectId |
Homework에 등록될 Mission 리스트
| userId | integer <int64> (TypeLong) |
| therapistId | integer <int64> (TypeLong) |
| missionList | Array of strings |
| messages | string |
| date | string <date> (TypeDate) |
{- "userId": 0,
- "therapistId": 0,
- "missionList": [
- "5e4661e6b0d76e5d0875aa7d"
], - "messages": "blah blah",
- "date": "2020-01-01"
}true| userId required | integer <int64> (TypeLong) Example: 1234 Patient - UserId |
| date required | string <date> (TypeDate) Example: date=2020-01-01 |
{- "id": "5e4661e6b0d76e5d0875aa7d",
- "messages": "blah blah",
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "repeatCount": 0,
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "createdTime": "2017-07-21T17:32:28Z",
- "updateTime": "2017-07-21T17:32:28Z"
}
]
}| homeworkMissionId required | string Example: 5d19e4d8dae0ee64f920d984 HomeworkMissionId |
{- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "repeatCount": 0,
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "createdTime": "2017-07-21T17:32:28Z",
- "updateTime": "2017-07-21T17:32:28Z"
}| homeworkMissionId required | string Example: 5d19e4d8dae0ee64f920d984 HomeworkMissionId |
| isCompleted | boolean (TypeBool) |
{- "isCompleted": true
}true| userId required | integer <int64> (TypeLong) Example: 1016 Patient - UserId |
| startDate required | string <date> (TypeDate) Example: startDate=2020-01-01 WeekleyHomeworkInfo search Parameter - startDate |
| endDate required | string <date> (TypeDate) Example: endDate=2020-01-01 WeekleyHomeworkInfo search Parameter - endDate |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "messages": "blah blah",
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "repeatCount": 0,
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "createdTime": "2017-07-21T17:32:28Z",
- "updateTime": "2017-07-21T17:32:28Z",
- "missionId": "5d19e4d8dae0ee64f920d984",
}
]
}
]| year required | integer (TypeInt) Example: 2020 Year |
| month required | integer (TypeInt) Example: 11 Month |
| userId required | integer <int64> (TypeLong) Example: userId=1234 Patient - UserId |
"2020-01-01"| userId required | integer <int64> (TypeLong) Example: 1016 Patient - UserId |
| startDate | string <date> (TypeDate) Example: startDate=2020-01-01 getExerciseHistory search Parameter - startDate |
| endDate | string <date> (TypeDate) Example: endDate=2020-01-01 getExerciseHistory search Parameter - endDate |
| sort required | string Enum: "ASC" "DESC" getExerciseHistory search Sort Direction |
[- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "messages": "blah blah",
- "date": "2020-01-01",
- "missions": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "completed": true,
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "repeatCount": 0,
- "tags": [
- "string"
], - "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "createdTime": "2017-07-21T17:32:28Z",
- "updateTime": "2017-07-21T17:32:28Z",
- "missionId": "5d19e4d8dae0ee64f920d984",
}
]
}
]| type | string Enum: "ACTIVITY" "BASICS" "VIDEO" "READING" Example: type=BASICS MissionType [ ACTIVITY, BASICS, VIDEO, READING ] |
| handArmFunctionType | string Enum: "STABILIZER" "ASSIST" "FUNCTIONAL" Example: handArmFunctionType=STABILIZER HandArmFunctionLevelType [ Level 1 - STABILIZER, Level 2- ASSIST, Level 3 - FUNCTIONAL ] |
{- "missionTags": [
- "string"
], - "missions": [
- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "type": "ACTIVITY",
- "handArmFunction": "LIMITED",
- "title": "Pour water from a pitcher",
- "day": 0,
- "image": "empty",
- "description": "This training activity works on extending the",
- "createdAt": "2017-07-21T17:32:28Z",
- "links": [
- "string"
], - "tags": [
- "string"
], - "meta": { }
}
]
}Homework에 등록될 Mission 리스트
| userId | integer <int64> (TypeLong) |
| therapistId | integer <int64> (TypeLong) |
Array of objects | |
| messages | string |
| date | string <date> (TypeDate) |
[- {
- "userId": 0,
- "therapistId": 0,
- "missionList": [
- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "repeatCount": 0
}
], - "messages": "blah blah",
- "date": "2020-01-01"
}
]true| id required | string Example: 5d19e4d8dae0ee64f920d984 Homework - ObjectId |
Homework에 등록될 Mission 리스트
| userId | integer <int64> (TypeLong) |
| therapistId | integer <int64> (TypeLong) |
Array of objects | |
| messages | string |
| date | string <date> (TypeDate) |
{- "userId": 0,
- "therapistId": 0,
- "missionList": [
- {
- "id": "5e4661e6b0d76e5d0875aa7d",
- "repeatCount": 0
}
], - "messages": "blah blah",
- "date": "2020-01-01"
}true| durationDate required | string <date> (TypeDate) |
| durationMin | integer <int64> (TypeLong) |
{- "durationDate": "2020-01-01",
- "durationMin": 0
}true| durationDate required | string <date> (TypeDate) |
| addDurationMin | integer <int64> (TypeLong) |
{- "durationDate": "2020-01-01",
- "addDurationMin": 0
}{- "durationDate": "2020-01-01",
- "durationMin": 0
}이달의 랭킹목록 TOP100을 반환.
| yearMonth | string Example: 2020-01 yearMonth |
{- "year_month": "2020-01",
- "rank_users": [
- {
- "user_id": 0,
- "rank": 0,
- "rank_tier": "STONE|ORANGE|BRONZE|SILVER",
- "total_score": 0,
- "user_name": "이름",
- "start_date": "2020-01-01",
- "profile_image_name": "EMPATHY",
- "isVip": true
}
]
}이달의 자신의 랭킹목록
| yearMonth | string Example: 2020-01 yearMonth |
{- "user_id": 0,
- "rank": 0,
- "rank_tier": "STONE|ORANGE|BRONZE|SILVER",
- "total_score": 0,
- "user_name": "이름",
- "start_date": "2020-01-01",
- "profile_image_name": "EMPATHY",
- "isVip": true
}이달의 유저의 랭킹목록
| yearMonth | string Example: 2020-01 yearMonth |
| userId | integer <int64> (TypeLong) userid |
{- "user_id": 0,
- "rank": 0,
- "rank_tier": "STONE|ORANGE|BRONZE|SILVER",
- "total_score": 0,
- "user_name": "이름",
- "start_date": "2020-01-01",
- "profile_image_name": "EMPATHY",
- "isVip": true
}diary 작성.
| id | string Diary - ObjectId |
| user_id | integer <int64> (TypeLong) |
| write_datetime required | string <date-time> (TypeDateTime) |
| sleep_datetime | string <date-time> (TypeDateTime) |
| wake_datetime | string <date-time> (TypeDateTime) |
| weather_type required | string (weatherType) Enum: "SUNNY" "CLOUDY" "CLEAR" "RAIN" "THUNDER" "RAINBOW" "SNOW" "TYPHOON" "WIND" 날씨 정보 |
| emotion_scale | integer (TypeInt) |
| condition_scale | integer (TypeInt) |
| tags | Array of strings |
| content_message | string 일기 메세지 |
Array of objects (contentImageInfo) | |
| is_private | boolean (TypeBool) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}trueget diary Info.
| diaryId | string Example: 5d19e4d8dae0ee64f920d984 durationDate |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}put diary Info.
| diaryId | string Example: 5d19e4d8dae0ee64f920d984 durationDate |
| id | string Diary - ObjectId |
| user_id | integer <int64> (TypeLong) |
| write_datetime required | string <date-time> (TypeDateTime) |
| sleep_datetime | string <date-time> (TypeDateTime) |
| wake_datetime | string <date-time> (TypeDateTime) |
| weather_type required | string (weatherType) Enum: "SUNNY" "CLOUDY" "CLEAR" "RAIN" "THUNDER" "RAINBOW" "SNOW" "TYPHOON" "WIND" 날씨 정보 |
| emotion_scale | integer (TypeInt) |
| condition_scale | integer (TypeInt) |
| tags | Array of strings |
| content_message | string 일기 메세지 |
Array of objects (contentImageInfo) | |
| is_private | boolean (TypeBool) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}true[- {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}
]get diary List from date
| diaryDate | string Example: 2020-01-01 date |
[- {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}
]get diary List from date
| diaryDate | string Example: 2020-01-01 date |
[- {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "write_datetime": "2017-07-21T17:32:28Z",
- "sleep_datetime": "2017-07-21T17:32:28Z",
- "wake_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "tags": [
- "Family|Friends|Music|Food"
], - "content_message": "im fine thankyou",
- "content_images": [
- {
- "seq": 0,
- "image_path": "url"
}
], - "is_private": true
}
]get my monthly diary Info List.
| yearMonth | string Example: yearMonth=2021-06 다이어리를 조회할 yyyy-MM 파라미터 |
[- {
- "id": "5d19e4d8dae0ee64f920d984",
- "write_datetime": "2017-07-21T17:32:28Z",
- "weather_type": "SUNNY|CLOUDY|CLEAR|RAIN",
- "emotion_scale": 0,
- "condition_scale": 0,
- "is_private": true
}
]월간 취침시간, 감정, 컨디션 요약
| yearMonth required | string Example: yearMonth=2021-06 월간 summary를 조회할 yyyy-MM 파라미터 |
{- "existLastMonth": true,
- "existNextMonth": true,
- "sleepingTimeSummary": {
- "sleepingTime": "07:30",
- "comparisonLastMonth": "01:30",
- "bedTime": "20:42",
- "lastMonthBedTime": "Apr 20:22",
- "wakeUpTime": "4:12",
- "lastMonthWakeUpTime": "Apr 4:12",
- "daliySleepingTimes": [
- {
- "date": "2020-01-01",
- "sleepingTime": "07:00"
}
]
}, - "feelingSummary": {
- "averagePoint": 3.53,
- "dailyPoints": [
- {
- "date": "2020-01-01",
- "point": 3
}
], - "comparisonLastMonth": 0.1
}, - "conditionSummary": {
- "averagePoint": 3.53,
- "dailyPoints": [
- {
- "date": "2020-01-01",
- "point": 3
}
], - "comparisonLastMonth": 0.1
}
}get tracker goal setting sample
| scaleIndex1 | integer <int64> (TypeLong) scaleIndex1 |
| scaleIndex2 | integer <int64> (TypeLong) scaleIndex2 |
{- "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}activity tracker goal 작성.
| id | string ActivityTrackerGoal - ObjectId |
| user_id | integer <int64> (TypeLong) |
| year_month | string 목표세팅 년월 |
object (goalSettingScaleInfo) | |
object (goalSettingScaleInfo) | |
| goal_step | integer <int64> (TypeLong) |
| goal_upper | integer <int64> (TypeLong) |
| goal_lower | integer <int64> (TypeLong) |
| goal_whole | integer <int64> (TypeLong) |
| goal_social | integer <int64> (TypeLong) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}trueactivity tracker goal 수정.
| goalId | string Example: 5d19e4d8dae0ee64f920d984 goalId |
| id | string ActivityTrackerGoal - ObjectId |
| user_id | integer <int64> (TypeLong) |
| year_month | string 목표세팅 년월 |
object (goalSettingScaleInfo) | |
object (goalSettingScaleInfo) | |
| goal_step | integer <int64> (TypeLong) |
| goal_upper | integer <int64> (TypeLong) |
| goal_lower | integer <int64> (TypeLong) |
| goal_whole | integer <int64> (TypeLong) |
| goal_social | integer <int64> (TypeLong) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}true해당 달의 activity tracker goal Info
| yearMonth | string Example: 2021-01 yearMonth |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}activity tracker record 작성.
| id | string ActivityTrackerRecord - ObjectId |
| user_id | integer <int64> (TypeLong) |
| date | string <date-time> (TypeDateTime) |
object (ActivityTrackerGoalInfo) | |
| step | integer <int64> (TypeLong) |
| upper | integer <int64> (TypeLong) |
| lower | integer <int64> (TypeLong) |
| whole | integer <int64> (TypeLong) |
| social | integer <int64> (TypeLong) |
| activity_achievement | float 트래커 평균 달성률. |
| is_save | boolean 기록 생성 이후 수정 여부. |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "date": "2017-07-21T17:32:28Z",
- "goal_info": {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}, - "step": 0,
- "upper": 0,
- "lower": 0,
- "whole": 0,
- "social": 0,
- "activity_achievement": 30.1,
- "is_save": true
}trueget tracker record info from date
| date | string Example: 2020-01-01 date |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "date": "2017-07-21T17:32:28Z",
- "goal_info": {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}, - "step": 0,
- "upper": 0,
- "lower": 0,
- "whole": 0,
- "social": 0,
- "activity_achievement": 30.1,
- "is_save": true
}activity tracker record 수정.
| date | string Example: 2020-01-01 date |
| id | string ActivityTrackerRecord - ObjectId |
| user_id | integer <int64> (TypeLong) |
| date | string <date-time> (TypeDateTime) |
object (ActivityTrackerGoalInfo) | |
| step | integer <int64> (TypeLong) |
| upper | integer <int64> (TypeLong) |
| lower | integer <int64> (TypeLong) |
| whole | integer <int64> (TypeLong) |
| social | integer <int64> (TypeLong) |
| activity_achievement | float 트래커 평균 달성률. |
| is_save | boolean 기록 생성 이후 수정 여부. |
{- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "date": "2017-07-21T17:32:28Z",
- "goal_info": {
- "id": "5d19e4d8dae0ee64f920d984",
- "user_id": 0,
- "year_month": "2021-01",
- "goal_setting_scale": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_setting_scale2": {
- "seq": 0,
- "goal_description": "Dress independently"
}, - "goal_step": 0,
- "goal_upper": 0,
- "goal_lower": 0,
- "goal_whole": 0,
- "goal_social": 0
}, - "step": 0,
- "upper": 0,
- "lower": 0,
- "whole": 0,
- "social": 0,
- "activity_achievement": 30.1,
- "is_save": true
}true{- "reading": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "isFree": true
}
], - "exercise": [
- {
- "id": "5d19e4d8dae0ee64f920d984",
- "type": "ACTIVITY",
- "title": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "description": "3 Reasons Why Rehabilitation Treatment and Training are Needed After Stroke",
- "isFree": true
}
]
}get activity list
| date | string <date> (TypeDate) Example: 2020-01-01 date |
[- {
- "id": "5d19e4d8dae0ee64f920d984",
- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "current_steps": 0,
- "is_completed": true,
- "completed_at": "2017-07-21T17:32:28Z",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]create activity info
| category | string |
| contents | string |
| steps | integer (TypeInt) |
| is_completed | boolean (TypeBool) |
{- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "is_completed": true
}{- "id": "5d19e4d8dae0ee64f920d984",
- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "current_steps": 0,
- "is_completed": true,
- "completed_at": "2017-07-21T17:32:28Z",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}get activity detail
| id | string Example: 5d19e4d8dae0ee64f920d984 activityId |
| date | string <date> (TypeDate) Example: 2020-01-01 date |
{- "id": "5d19e4d8dae0ee64f920d984",
- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "current_steps": 0,
- "is_completed": true,
- "completed_at": "2017-07-21T17:32:28Z",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}update activity info
| id | string Example: 5d19e4d8dae0ee64f920d984 activityId |
| category | string |
| contents | string |
| steps | integer (TypeInt) |
| is_completed | boolean (TypeBool) |
{- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "is_completed": true
}{- "id": "5d19e4d8dae0ee64f920d984",
- "category": "Exercise",
- "contents": "e.g. Walking 15 mins / Sit-to-stand 10 times",
- "steps": 0,
- "current_steps": 0,
- "is_completed": true,
- "completed_at": "2017-07-21T17:32:28Z",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}complete activity
| id | string Activity - ObjectId |
| steps | integer (TypeInt) |
| is_completed | boolean (TypeBool) |
| date | string <date> (TypeDate) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "steps": 0,
- "is_completed": true,
- "date": "2020-01-01"
}trueupdate activity complete history
| id | string Activity - ObjectId |
| steps | integer (TypeInt) |
| is_completed | boolean (TypeBool) |
| date | string <date> (TypeDate) |
{- "id": "5d19e4d8dae0ee64f920d984",
- "steps": 0,
- "is_completed": true,
- "date": "2020-01-01"
}truecumulative activity steps and auto complete
| steps | integer (TypeInt) |
| date | string <date> (TypeDate) |
{- "steps": 0,
- "date": "2020-01-01"
}trueget activity tracker summary
| yearMonth | string Example: 202107 yearMonth |
{- "goals": [
- "Eat a meal by myself"
], - "existLastMonth": true,
- "existNextMonth": true,
- "monthlyCompletionData": [
- {
- "date": "2020-01-01",
- "progress": 0,
- "daily_activity_count": 0
}
], - "completionAverage": 31.7,
- "comparisonLastMonth": 0.1
}get activity tracker Daily Checked Calendar by Monthly
| yearMonth | string Example: 202112 yearMonth(yyyymm) |
[- {
- "date": "2020-01-01",
- "isCompleted": true,
- "journalCompleted": true,
- "activityCompleted": true,
- "missionCompleted": true
}
]check All award List
| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id |
{- "user_id": 0,
- "awards": [
- {
- "reward_title": "PERFECT_ATTENDEE",
- "reward_name": "Perfect attendee",
- "historys": [
- {
- "level_title": "MASTER",
- "level": "lv.0",
- "condition": 0,
- "is_complete": true,
- "completed_at": "2017-07-21T17:32:28Z"
}
], - "record_count": 0
}
]
}get achived award Summary
| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id |
{- "user_id": 0,
- "awards": [
- {
- "reward_title": "PERFECT_ATTENDEE",
- "reward_name": "Perfect attendee",
- "historys": [
- {
- "level_title": "MASTER",
- "level": "lv.0",
- "condition": 0,
- "is_complete": true,
- "completed_at": "2017-07-21T17:32:28Z"
}
], - "record_count": 0
}
]
}get All award List
| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id |
{- "user_id": 0,
- "awards": [
- {
- "reward_title": "PERFECT_ATTENDEE",
- "reward_name": "Perfect attendee",
- "historys": [
- {
- "level_title": "MASTER",
- "level": "lv.0",
- "condition": 0,
- "is_complete": true,
- "completed_at": "2017-07-21T17:32:28Z"
}
], - "record_count": 0
}
]
}get award's detail
| id | string Example: 5d19e4d8dae0ee64f920d984 AwardId |
| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id |
{- "user_id": 0,
- "awards": [
- {
- "reward_title": "PERFECT_ATTENDEE",
- "reward_name": "Perfect attendee",
- "historys": [
- {
- "level_title": "MASTER",
- "level": "lv.0",
- "condition": 0,
- "is_complete": true,
- "completed_at": "2017-07-21T17:32:28Z"
}
], - "record_count": 0
}
]
}confirm Achived Reward
| rewardTitle | string Example: PERFECT_ATTENDEE rewardTitle |
| levelTitle | string Example: LEVEL0 levelTitle |
| user_id | integer <int64> (TypeLong) Example: user_id=1343 User Id |
true