Noefect Therapist API (1.0.0)

Download OpenAPI specification:Download

Authentication

OAuth2

OAuth2 인증

Security Scheme Type OAuth2
password OAuth Flow
Token URL: https://dev.rapaelrehab.com/uaa/oauth/token
Scopes:
  • ui -

    Client 에서 접근 시 권한

  • server -

    Server 에서 접근 시 권한

  • role_therapist -

    치료사 권한

  • role_patient -

    환자 권한

advice

Advice 목록 조회

Authorizations:
OAuth2 (uirole_therapist)
query Parameters
page
required
integer <int32>
Example: page=1

페이지 번호

size
required
integer <int32>
Example: size=10

페이지당 줄 수

id
required
integer <int64>
Example: id=568

Therapist ID or Patient ID

organization_id
required
integer <int64>
Example: organization_id=-1

Organization ID (Long)

Responses

Response samples

Content type
application/json
{
  • "total_count": 549,
  • "total_page": 28,
  • "datas": [
    ]
}

Advice 등록

Authorizations:
OAuth2 (uirole_therapist)
Request Body schema: application/json
required
object (Patient)
content
required
string
organization_id
required
integer <int64>

Responses

Request samples

Content type
application/json
{
  • "patient": {
    },
  • "content": "text data1",
  • "organization_id": -1
}

Response samples

Content type
application/json
{
  • "id": "5d6ccb584598622baa207a38",
  • "content": "text data1",
  • "organization_id": -1,
  • "created": "2019-10-25T16:46:05.385+09:00"
}

connect

환자를 담당하는 치료사의 Advice 조회

Authorizations:
OAuth2 (uirole_patient)

Responses

Response samples

Content type
application/json
{
  • "content": "text data1",
  • "therapist": {
    }
}

환자의 일별 스케줄 목록

Authorizations:
OAuth2 (uirole_patient)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

day
required
integer <int32> [ 1 .. 31 ]
Example: 21

Day

query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

환자 주간 스케줄 목록

Authorizations:
OAuth2 (uirole_patient)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

monday
required
integer <int32> [ 1 .. 31 ]
Example: 9

Monday (day of month)

query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

환자의 Upcoming Event 목록

Authorizations:
OAuth2 (uirole_patient)
query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

header Parameters
serviceType
string

서비스 유형

Responses

Response samples

Content type
application/json
[
  • {
    }
]

화상채팅 Schedule 요청 등록

Authorizations:
OAuth2 (uirole_patient)
Request Body schema: application/json
start_date
required
string
end_date
required
string
start_time
required
string
end_time
required
string
zone_offset
required
integer <int32>

ZoneOffset (Minutes)

Responses

Request samples

Content type
application/json
{
  • "start_date": "2019-04-12",
  • "end_date": "2019-04-12",
  • "start_time": "11:30",
  • "end_time": "12:30",
  • "zone_offset": 540
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

환자의 Schedule 상세 보기

Authorizations:
OAuth2 (uirole_patient)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "id": "5d7f2268a489a47d2be8bdbe",
  • "division": "PERSONAL",
  • "state": "CONFIRM",
  • "videocall_division": "ZOOM",
  • "cancel_availability": true,
  • "title": "Schedule title",
  • "start": "2019-04-12T11:30:00+09:00",
  • "end": "2019-04-12T12:30:00+09:00",
  • "description": "Schedule description",
  • "therapist": {
    },
  • "created": "2019-10-17T16:58:52.39+09:00"
}

미등록 환자의 Schedule 상세 보기

path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "id": "5d7f2268a489a47d2be8bdbe",
  • "division": "PERSONAL",
  • "state": "CONFIRM",
  • "videocall_division": "ZOOM",
  • "cancel_availability": true,
  • "title": "Schedule title",
  • "start": "2019-04-12T11:30:00+09:00",
  • "end": "2019-04-12T12:30:00+09:00",
  • "description": "Schedule description",
  • "therapist": {
    },
  • "created": "2019-10-17T16:58:52.39+09:00"
}

Video Call 일정 취소

Authorizations:
OAuth2 (uirole_patient)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

Video Call Join

Authorizations:
OAuth2 (uirole_patient)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_id": "2_MX40NjIzOTYxMn5-MTU2ODYxOTg3NjU2Nn5yOXFVbUQ2UENCRFZaOVlYdWo5bm05REV-UH4",
  • "api_key": "46239612",
  • "token": "46239612"
}

Video Call Join - zoom

Authorizations:
OAuth2 (uirole_patient)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_name": "608219692d1d9f00017c7ad9",
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBfa2V5IjoiSXlwVFQzZHhiM3VEUHpncTFoOFRVRjBOZHJiY3U4YXo0UUg2IiwidHBjIjoidGVzdCIsInVzZXJfaWRlbnRpdHkiOiJuZW9mZWN0IiwiZXhwIjoxNjE5MzgzNDU1NTY1LCJ2ZXJzaW9uIjoxLCJpYXQiOjE2MTkzODM0NDExNjV9.y8m6osPeq940Yx7MpnZmcsyIodtK3tV_g1nQAVdMl_A"
}

Video Call Join in Deeplink

path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_id": "2_MX40NjIzOTYxMn5-MTU2ODYxOTg3NjU2Nn5yOXFVbUQ2UENCRFZaOVlYdWo5bm05REV-UH4",
  • "api_key": "46239612",
  • "token": "46239612"
}

Video Call Join in Deeplink - zoom

path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_name": "608219692d1d9f00017c7ad9",
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBfa2V5IjoiSXlwVFQzZHhiM3VEUHpncTFoOFRVRjBOZHJiY3U4YXo0UUg2IiwidHBjIjoidGVzdCIsInVzZXJfaWRlbnRpdHkiOiJuZW9mZWN0IiwiZXhwIjoxNjE5MzgzNDU1NTY1LCJ2ZXJzaW9uIjoxLCJpYXQiOjE2MTkzODM0NDExNjV9.y8m6osPeq940Yx7MpnZmcsyIodtK3tV_g1nQAVdMl_A"
}

Video Call mic status

Authorizations:
OAuth2 (uirole_patient)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

status
required
integer <int64>

환자의 마이크 상태 값. 0-off,1-on

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

담당 치료사의 Working Hours 정보 조회

Authorizations:
OAuth2 (uirole_patient)

Responses

Response samples

Content type
application/json
{
  • "start_work_time": "09:00",
  • "end_work_time": "18:00",
  • "start_lunch_time": "12:00",
  • "end_lunch_time": "13:00",
  • "zone_offset": 540,
  • "mon": true,
  • "tue": true,
  • "wed": true,
  • "thu": true,
  • "fri": true,
  • "sat": false,
  • "sun": false
}

해당 일자의 치료사 예약가능 시간 조회

Authorizations:
OAuth2 (uirole_patient)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

day
required
integer <int32> [ 1 .. 31 ]
Example: 21

Day

query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

memo

Memo 목록 조회

Authorizations:
OAuth2 (uirole_therapist)
query Parameters
page
required
integer <int32>
Example: page=1

페이지 번호

size
required
integer <int32>
Example: size=10

페이지당 줄 수

id
required
integer <int64>
Example: id=568

Therapist ID or Patient ID

organization_id
required
integer <int64>
Example: organization_id=-1

Organization ID (Long)

Responses

Response samples

Content type
application/json
{
  • "total_count": 549,
  • "total_page": 28,
  • "datas": [
    ]
}

Memo 등록

Authorizations:
OAuth2 (uirole_therapist)
Request Body schema: application/json
division
required
string (MemoDivEnum)
Enum: "MEMO" "VIDEOSESSION" "COACHINGSESSION" "VIDEOCALLRECORD"
title
required
string
content
required
string
required
object (Patient)
organization_id
required
integer <int64>

Responses

Request samples

Content type
application/json
{
  • "division": "MEMO",
  • "title": "Memo title",
  • "content": "text memo1",
  • "patient": {
    },
  • "organization_id": -1
}

Response samples

Content type
application/json
{
  • "id": "5d6cd2804598622ed95d36ff",
  • "division": "MEMO",
  • "title": "Memo title",
  • "organization_id": -1,
  • "created": "2019-10-25T16:46:05.385+09:00"
}

Memo 상세 조회

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "id": "5d6cd2804598622ed95d36ff",
  • "division": "MEMO",
  • "title": "Memo title",
  • "content": "text memo1",
  • "organization_id": -1,
  • "created": "2019-10-25T16:46:05.385+09:00"
}

Memo 수정

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
division
required
string (MemoDivEnum)
Enum: "MEMO" "VIDEOSESSION" "COACHINGSESSION" "VIDEOCALLRECORD"
title
required
string
content
required
string
required
object (Patient)
organization_id
required
integer <int64>

Responses

Request samples

Content type
application/json
{
  • "division": "MEMO",
  • "title": "Memo title",
  • "content": "text memo1",
  • "patient": {
    },
  • "organization_id": -1
}

Response samples

Content type
application/json
{
  • "id": "5d6cd2804598622ed95d36ff",
  • "division": "MEMO",
  • "title": "Memo title",
  • "organization_id": -1,
  • "created": "2019-10-25T16:46:05.385+09:00"
}

Memo 삭제

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

Memo Video Call archive mp4 file get

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

schedule

치료사 월별 스케줄 목록

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

organization_id
required
integer <int64>
Example: organization_id=-1

Organization ID (Long)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Schedule 등록

Authorizations:
OAuth2 (uirole_therapist)
Request Body schema: application/json
division
required
string (ScheduleDivEnum)
Enum: "VIDEOSESSION" "COOPGAME" "SCREENSHARE" "THERAPISTLIVE" "GENERAL"
state
required
string (ScheduleStateEnum)
Enum: "REQUEST" "CONFIRM" "CANCELED" "PROCEEDING" "END" "DENY" "DELETED"
title
string
start_date
required
string
end_date
required
string
start_time
required
string
end_time
required
string
zone_offset
required
integer <int32>

ZoneOffset (Minutes)

allday_yn
boolean
guest_yn
boolean
videocall_division
string (VideoCallDivEnum)
Enum: "ZOOM" "TOKBOX"
repeat_division
string (RepeatDivEnum)
Enum: "NONE" "DAILY"
contents
string
contents_link
string
organization_id
required
integer <int64>
Array of objects (AttendeesDetail)
object (CoopGameCreate)

Responses

Request samples

Content type
application/json
{
  • "division": "PERSONAL",
  • "state": "CONFIRM",
  • "title": "Schedule title 1",
  • "start_date": "2019-04-12",
  • "end_date": "2019-04-12",
  • "start_time": "11:30",
  • "end_time": "12:30",
  • "zone_offset": 540,
  • "allday_yn": false,
  • "guest_yn": false,
  • "videocall_division": "ZOOM",
  • "repeat_division": "NONE",
  • "contents": "Schedule description 1",
  • "contents_link": "https://youtube.com/neofect/",
  • "organization_id": -1,
  • "patients": [
    ],
  • "game": {
    }
}

Response samples

Content type
application/json
[
  • {
    }
]

Schedule 상세 보기

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "id": "5d7f2268a489a47d2be8bdbe",
  • "className": "group1",
  • "state": "CONFIRM",
  • "title": "Schedule title 1",
  • "start": "2019-10-17T16:30:00.0+09:00",
  • "end": "2019-10-17T17:30:00.0+09:00",
  • "allday_yn": false,
  • "guest_yn": false,
  • "videocall_division": "ZOOM",
  • "repeat_division": "NONE",
  • "contents": "Schedule description 1",
  • "contents_link": "https://youtube.com/neofect/",
  • "organization_id": -1,
  • "patients": [
    ],
  • "game": {
    }
}

Schedule 수정

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
state
string (ScheduleStateEnum)
Enum: "REQUEST" "CONFIRM" "CANCELED" "PROCEEDING" "END" "DENY" "DELETED"
title
string
start_date
required
string
end_date
required
string
start_time
required
string
end_time
required
string
zone_offset
required
integer <int32>

ZoneOffset (Minutes)

allday_yn
boolean
guest_yn
boolean
videocall_division
string (VideoCallDivEnum)
Enum: "ZOOM" "TOKBOX"
repeat_division
string (RepeatDivEnum)
Enum: "NONE" "DAILY"
contents
string
contents_link
string
Array of objects (AttendeesDetail)
object (CoopGameCreate)

Responses

Request samples

Content type
application/json
{
  • "state": "CONFIRM",
  • "title": "Schedule title 1",
  • "start_date": "2019-04-12",
  • "end_date": "2019-04-12",
  • "start_time": "11:30",
  • "end_time": "12:30",
  • "zone_offset": 540,
  • "allday_yn": false,
  • "guest_yn": false,
  • "videocall_division": "ZOOM",
  • "repeat_division": "NONE",
  • "contents": "Schedule description 1",
  • "contents_link": "https://youtube.com/neofect/",
  • "patients": [
    ],
  • "game": {
    }
}

Response samples

Content type
application/json
[
  • {
    }
]

Schedule 삭제

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

화상채팅 승인

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

화상채팅 거부

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
contents
string

Responses

Request samples

Content type
application/json
{
  • "contents": "Deny Description"
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

schedule v2

치료사 월별 스케줄 목록 + 내 환자의 다른 치료사 스케줄

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

organization_id
required
integer <int64>
Example: organization_id=-1

Organization ID (Long)

Request Body schema: application/json
Array ()
integer <int64>

Responses

Request samples

Content type
application/json
[
  • 120
]

Response samples

Content type
application/json
[
  • {
    }
]

patient

환자 주간 스케줄 목록

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

monday
required
integer <int32> [ 1 .. 31 ]
Example: 9

Monday (day of month)

query Parameters
id
required
integer <int64>
Example: id=568

Therapist ID or Patient ID

zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

organization_id
required
integer <int64>
Example: organization_id=-1

Organization ID (Long)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

환자의 치료사세션 주간 목록 조회

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

monday
required
integer <int32> [ 1 .. 31 ]
Example: 9

Monday (day of month)

query Parameters
id
required
integer <int64>
Example: id=568

Therapist ID or Patient ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

screen sharing

Patient Screen Sharing Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
patient_id
required
integer <int64>
Example: 195

환자의 user_id

Responses

Response samples

Content type
application/json
{
  • "session_id": "2_MX40NjIzOTYxMn5-MTU2ODYxOTg3NjU2Nn5yOXFVbUQ2UENCRFZaOVlYdWo5bm05REV-UH4",
  • "api_key": "46239612",
  • "token": "46239612"
}

Scheduled Screen Sharing Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_id": "2_MX40NjIzOTYxMn5-MTU2ODYxOTg3NjU2Nn5yOXFVbUQ2UENCRFZaOVlYdWo5bm05REV-UH4",
  • "api_key": "46239612",
  • "token": "46239612"
}

Scheduled Screen Sharing Stop

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

screen sharing V2

Scheduled Screen Sharing Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_name": "608219692d1d9f00017c7ad9",
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBfa2V5IjoiSXlwVFQzZHhiM3VEUHpncTFoOFRVRjBOZHJiY3U4YXo0UUg2IiwidHBjIjoidGVzdCIsInVzZXJfaWRlbnRpdHkiOiJuZW9mZWN0IiwiZXhwIjoxNjE5MzgzNDU1NTY1LCJ2ZXJzaW9uIjoxLCJpYXQiOjE2MTkzODM0NDExNjV9.y8m6osPeq940Yx7MpnZmcsyIodtK3tV_g1nQAVdMl_A"
}

video call

Video Call Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_id": "2_MX40NjIzOTYxMn5-MTU2ODYxOTg3NjU2Nn5yOXFVbUQ2UENCRFZaOVlYdWo5bm05REV-UH4",
  • "api_key": "46239612",
  • "token": "46239612"
}

Quit Video Call

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

End Video Call

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

Video Call Record Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
session_id
string

Responses

Request samples

Content type
application/json
{
  • "session_id": "TGFydG5lcl9pZD00NjIzOTYxMiZzaWc9"
}

Response samples

Content type
application/json
{
  • "archive_id": "2992492b-3f98-4445-a761-ffa1ff2276f6"
}

Video Call Record end

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
session_id
string

Responses

Request samples

Content type
application/json
{
  • "session_id": "TGFydG5lcl9pZD00NjIzOTYxMiZzaWc9"
}

Response samples

Content type
application/json
{
  • "archive_id": "2992492b-3f98-4445-a761-ffa1ff2276f6",
  • "memo_id": "5d6cd2804598622ed95d36ff"
}

video call V2

Video Call Start

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "session_name": "608219692d1d9f00017c7ad9",
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBfa2V5IjoiSXlwVFQzZHhiM3VEUHpncTFoOFRVRjBOZHJiY3U4YXo0UUg2IiwidHBjIjoidGVzdCIsInVzZXJfaWRlbnRpdHkiOiJuZW9mZWN0IiwiZXhwIjoxNjE5MzgzNDU1NTY1LCJ2ZXJzaW9uIjoxLCJpYXQiOjE2MTkzODM0NDExNjV9.y8m6osPeq940Yx7MpnZmcsyIodtK3tV_g1nQAVdMl_A"
}

Video Call Record Start Push

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

Video Call Record end Push

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

workinghours

Working Hours 정보 조회

Authorizations:
OAuth2 (uirole_therapist)

Responses

Response samples

Content type
application/json
{
  • "start_work_time": "09:00",
  • "end_work_time": "18:00",
  • "start_lunch_time": "12:00",
  • "end_lunch_time": "13:00",
  • "zone_offset": 540,
  • "mon": true,
  • "tue": true,
  • "wed": true,
  • "thu": true,
  • "fri": true,
  • "sat": false,
  • "sun": false
}

Working Hours 설정

Authorizations:
OAuth2 (uirole_therapist)
Request Body schema: application/json
start_work_time
required
string <time>
end_work_time
required
string <time>
start_lunch_time
required
string <time>
end_lunch_time
required
string <time>
zone_offset
required
integer <int32>

ZoneOffset (Minutes)

mon
required
boolean
tue
required
boolean
wed
required
boolean
thu
required
boolean
fri
required
boolean
sat
required
boolean
sun
required
boolean

Responses

Request samples

Content type
application/json
{
  • "start_work_time": "09:00",
  • "end_work_time": "18:00",
  • "start_lunch_time": "12:00",
  • "end_lunch_time": "13:00",
  • "zone_offset": 540,
  • "mon": true,
  • "tue": true,
  • "wed": true,
  • "thu": true,
  • "fri": true,
  • "sat": false,
  • "sun": false
}

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

치료사 업무시간 기본값 저장

Authorizations:
OAuth2 (uirole_therapist)
query Parameters
zone_offset
required
integer <int32>
Example: zone_offset=540

ZoneOffset (Minutes)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

training session

치료사 세션 생성

Authorizations:
OAuth2 (uirole_therapist)
Request Body schema: application/json
Array ()
title
required
string
division
required
string (TrainingDivEnum)
Enum: "SMART_GLOVE" "SMART_KIDS" "SMART_BOARD"
side
required
string (TrainingSideEnum)
Enum: "NONE" "LEFT" "RIGHT"
date
required
string
required
object (Patient)
required
Array of objects (TrainingGameCreate)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

치료사 세션 상세

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "id": "5d9ef3ccecf69e2c14a0a21d",
  • "title": "Smart Glove(Right) 4 training",
  • "division": "SMART_GLOVE",
  • "side": "LEFT",
  • "date": "2019-10-15",
  • "games": [],
  • "batch_process_yn": false,
  • "batch_session_id": 49574
}

치료사 세션 수정

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Request Body schema: application/json
title
required
string
required
Array of objects (TrainingGameCreate)

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "id": "5d9ef3ccecf69e2c14a0a21d",
  • "title": "Smart Glove(Right) 4 training",
  • "division": "SMART_GLOVE",
  • "side": "LEFT",
  • "date": "2019-10-15",
  • "games": [],
  • "batch_process_yn": false,
  • "batch_session_id": 49574
}

치료사 세션 삭제

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

환자의 치료사세션 월별 목록 조회

Authorizations:
OAuth2 (uirole_therapist)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

query Parameters
id
required
integer <int64>
Example: id=568

Therapist ID or Patient ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

external inbound

치료사세션 배치 처리완료

Authorizations:
OAuth2 (server)
path Parameters
id
required
string <objectid>
Example: 5d9c5dfac7e70b0df0416bc0

Item Key (ObjectId)

session_id
required
integer <int64>
Example: 476459

치료사세션 배치처리 완료 후 key

Responses

Response samples

Content type
application/json
{
  • "code": "Error code Or Error field",
  • "message": "Error Message"
}

치료사세션 배치용 일자별 목록 조회

Authorizations:
OAuth2 (server)
path Parameters
year
required
integer <int32> [ 1900 .. 9999 ]
Example: 2019

Year

month
required
integer <int32> [ 1 .. 12 ]
Example: 9

Month

day
required
integer <int32> [ 1 .. 31 ]
Example: 21

Day

Responses

Response samples

Content type
application/json
[
  • {
    }
]