User Webinar Course Activity
This end point is use for get list of course activity by employee ID
[GET] /ruangkerja/dashboard/users/:employeeID/courses/webinar
Information
This API contains information all assignment Webinar Course by User in Ruangkerja.
See also API: Course.
Headers
Name | Type | Example | Required | Description |
---|---|---|---|---|
Authorization | string | access_token | YES | Token of authentication. Get from Authentication API |
Accept | string | application/json | YES | Defines the message format that is expected by the client |
Content-Type | string | application/json | YES | Defines the message format of the request body that is sent by the client |
Parameter
Name | Type | Required | Location | Description |
---|---|---|---|---|
page | int | YES | query | Query for skip page of collection |
pageSize | int | YES | query | Query for limit result data from server. Maximum value 100 |
employeeID | string | YES | path | Employee ID of User |
Example cURL Request
curl --location --request GET 'https://api.ruangkerja.id/ruangkerja/dashboard/users/JOHNILXV3QAJJEL3/courses/webinar?page=1&pageSize=10' \
--header 'Authorization: access_token'
Example Success Response
{
"status": "success",
"message": "Success",
"data": [
...,
{
"course": {
"serial": "COURSE-EXAMPLE1",
"name": "[OFFLINE] Effisien Menggunakan Spreadsheet untuk Report"
},
"batch": {
"serial": "BATCH-EXP-02",
"name": "Webinar Training Batch 1",
},
"absentReason": "",
"assignedCourseSerial": "ASGC-T0MHUDPV",
"feedback": "",
"isAttend": true,
"userAssignedStatus": "Ongoing"
"postActivityStatus": "",
"postTestAttempt": 0,
"postTestScore": 0,
"postTestPassingScore": null
}
]
}
Response Body Terminology
Location | Type | Description |
---|---|---|
data.items.*.postTestPassingScore | int (nullable) | The rules passing score |
data.items.*.postActivityStatus | enum(NOT STARTED, IN PROGRESS, COMPLETED, EXPIRED) | The status of user post activity, Possible empty string if course doesn’t have post activity |
data.items.*.userAssignedStatus | enum(Ongoing, Cleared, Failed) | The status of user task |
Example Failed Response
{
"errorCode": 123,
"message": "rpc error: code = PermissionDenied desc = Token is not valid",
"detail": "rpc error: code = PermissionDenied desc = Token is not valid"
}
See also: Error Dictionary.