Komtim API new (1.0.0)
Download OpenAPI specification:Download
This is an example of using OAuth2 Access Code Flow in a specification to describe security to your API.
Get Skill
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the skil to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Admin Marketplace",
- "icon": "",
- "type": 0,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Get Skill
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
type | integer |
keyword | string Example: keyword=Admin |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data skill",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Admin Marketplace",
- "icon": "",
- "type": 0,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Admin Social Media",
- "icon": "",
- "type": 1,
- "active": false,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Skill For questioner
This is an example operation to show how security is applied to the call.
Authorizations:
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data skill",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Admin Marketplace",
- "icon": "",
- "type": 2,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Admin Social Media",
- "icon": "",
- "type": 2,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Skill with status filter
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
active | boolean Example: active=true |
type | integer Example: type=2 2 untuk skill role dan 1 untuk keterampilan lain |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Admin Marketplace",
- "icon": "",
- "type": 2,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Admin Social Media",
- "icon": "",
- "type": 2,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Create Skill
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: multipart/form-data
name required | string |
type required | integer |
icon | string <binary> |
Responses
Response samples
- 200
- 400
- 401
{- "meta": {
- "status": "success",
- "code": 200,
- "message": "Skill Successfully Created"
}, - "data": {
- "id": 1,
- "name": "Customer Service",
- "type": 0,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": ""
}
}
Update Skill
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the skil to get |
Request Body schema: multipart/form-data
name required | string |
type required | integer |
icon | string <binary> |
Responses
Response samples
- 200
- 400
- 401
{- "meta": {
- "status": "success",
- "code": 200,
- "message": "Skill Successfully Updated"
}, - "data": {
- "id": 1,
- "name": "Customer Service",
- "type": 0,
- "active": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:54:31"
}
}
Update Activation Skill
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the skil to get |
Request Body schema: application/json
active required | boolean |
Responses
Request samples
- Payload
{- "active": false
}
Response samples
- 200
- 400
- 401
{- "meta": {
- "status": "success",
- "code": 200,
- "message": "Skill Successfully Updated"
}, - "data": {
- "id": 1,
- "name": "Customer Service",
- "type": 0,
- "active": false,
- "created_at": "",
- "updated_at": ""
}
}
Get Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
skill_id | integer Example: skill_id=1 |
keyword | string Example: keyword=Sebutkan |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "question": "Sebutkan keahlian yang anda miliki",
- "skill_id": 1,
- "Order": 1,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "question": "Sebutkan tempat dan tanggal lahir Anda!",
- "skill_id": 1,
- "Order": 2,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Detail Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the questioner to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "position_id": 0,
- "question": "Sebutkan keahlian yang anda miliki",
- "skill_id": 1,
- "order": 1,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Get list Questioner by skill_id
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
skillId required | integer Numeric ID of the skill |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": "[{\"id\":1,\"question\":\"Sebutkan keahlian yang anda miliki\",\"skill_id\":1,\"Order\":1,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"},{\"id\":2,\"question\":\"Sebutkan tempat dan tanggal lahir Anda!\",\"skill_id\":1,\"Order\":2,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}]"
}
Post Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
questioner required | string |
skill_id required | integer |
Responses
Request samples
- Payload
{- "questioner": "Sebutkan nomor NIK KTP Anda!",
- "skill_id": 1
}
Response samples
- 200
- 401
- 422
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "position_id": 0,
- "question": "Sebutkan nomor NIK KTP Anda!",
- "skill_id": 1,
- "order": 3,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Update Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the questioner to get |
Request Body schema: application/json
questioner required | string |
skill_id required | integer |
Responses
Request samples
- Payload
{- "questioner": "Sebutkan nomor NIK KTP Anda OK!",
- "skill_id": 1
}
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "position_id": 0,
- "questioner": "Sebutkan nomor NIK KTP Anda OK!",
- "skill_id": 1,
- "order": 3,
- "created_at": "2023-01-19 09:53:31",
- "updated_at": "2023-01-19 09:53:31"
}
}
Update Order Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the questioner to get |
Request Body schema: application/json
target | integer |
current | integer |
Responses
Request samples
- Payload
{- "target": 2,
- "current": 1
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Order Questioner Updated",
- "status": "success",
- "code": 200
}, - "data": { }
}
Delete Questioner
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the questioner to delete |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "questioner deleted",
- "status": "success",
- "code": 200
}, - "data": { }
}
Get Talent
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
status | string Example: status=registered, selected accpet only registered, selected, hired, non job |
skill | string Example: skill=1,2,3 |
keyword | string Example: keyword=Sevi |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "full_name": "Sevi Purwanti",
- "username": "Sevipurwanti03",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "status": "registered",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 1,
- "full_name": "Sevi Purwanti",
- "username": "Sevipurwanti03",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "status": "registered",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Detail Talent
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
talentId required | integer Numeric ID of the talent to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "full_name": "Sevi Purwanti",
- "username": "Sevipurwanti03",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "gender": 1,
- "birth_date": "2001-04-20",
- "martial_status": 0,
- "district_id": 3303160,
- "district_name": "REMBANG",
- "subdistrict_id": 3303160009,
- "subdistrict_name": "MAKAM",
- "address": "Makam Rt04 / Rw07, Kecamatan Rembang, Kabupaten Purbalingga",
- "education": "SMK",
- "has_work_experience": 0,
- "no_hp": "081218314937",
- "bank_code": "BCA",
- "bank_name": "BCA",
- "bank_no": "096765477686992",
- "bank_owner_name": "Sevi Purwanti",
- "status": "registered",
- "questioner": [
- {
- "questioner_id": 1,
- "question": "Apakah anda punya penglaman kerja?",
- "answer": "Belum"
}
], - "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Create Talent Data
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: multipart/form-data
full_name required | string |
username required | string |
gender required | integer Enum: 1 2 1 untuk laki laki 2 untuk perempuan |
birth_date required | string |
martial_status required | integer 0 untuk belum menikah dan 1 untuk sudah menikah |
subdistrict_id | integer |
address | string |
education | string |
has_work_experience | integer 0 tidak punya pengalaman 1 punya pengalaman |
description_experience | string |
no_hp | string |
email required | string |
bank_code | string |
bank_no | string |
bank_owner_name | string |
password required | string |
confirmation_password required | string |
photo_profile | string <binary> |
Responses
Response samples
- 200
- 401
- 422
{- "meta": {
- "message": "talent successfully created",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1122
}
}
Update Talent Data
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
talentId required | integer Numeric ID of the talent to edit |
Request Body schema: multipart/form-data
full_name required | string |
username required | string |
gender | integer |
birth_date | string |
martial_status | integer |
subdistrict_id | integer |
address | string |
education | string |
has_work_experience | integer |
description_experience | string |
no_hp | string |
email required | string |
bank_code | string |
bank_no | string |
bank_owner_name | string |
password | string |
confirmation_password | string |
photo_profile | string <binary> |
Responses
Response samples
- 200
- 401
- 422
{- "meta": {
- "message": "talent deleted",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "full_name": "Sevi Purwanti",
- "username": "Sevipurwanti03",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "gender": 1,
- "birth_date": "2001-04-20",
- "martial_status": 0,
- "district_id": 3303160,
- "district_name": "REMBANG",
- "subdistrict_id": 3303160009,
- "subdistrict_name": "MAKAM",
- "address": "Makam Rt04 / Rw07, Kecamatan Rembang, Kabupaten Purbalingga",
- "education": "SMK",
- "has_work_experience": 0,
- "no_hp": "081218314937",
- "bank_code": "BCA",
- "bank_name": "BCA",
- "bank_no": "096765477686992",
- "bank_owner_name": "Sevi Purwanti",
- "status": "registered",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Store Questioner Talent Data
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
talentId required | integer Numeric ID of the talent to edit |
Request Body schema: application/json
skill_id | integer |
Array of objects (apiv1talentstalentIdstorequestioner_questioner) [ items ] |
Responses
Request samples
- Payload
{- "skill_id": 1,
- "questioner": [
- {
- "questionnaire_id": 1,
- "answer": "testing"
}
]
}
Response samples
- 200
- 401
- 422
{- "meta": {
- "message": "Success store questioner answer",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "user_id": 2185,
- "questionnaire_id": 24,
- "answer": "testing",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Delete Talent
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the talent to delete |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "talent deleted",
- "status": "success",
- "code": 200
}, - "data": { }
}
get list of villages
This operation shows how to override the global security defined above, as we want to open it up for all users.
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Makam |
Responses
Response samples
- 200
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "subdistrict_id": 1408012006,
- "subdistrict_name": "BALAI MAKAM",
- "district_name": "BATHIN SOLAPAN",
- "regency_name": "KABUPATEN BENGKALIS",
- "province_name": "RIAU"
}, - {
- "subdistrict_id": 1502063001,
- "subdistrict_name": "ULAK MAKAM",
- "district_name": "TABIR ILIR",
- "regency_name": "KABUPATEN MERANGIN",
- "province_name": "JAMBI"
}, - {
- "subdistrict_id": 3303160009,
- "subdistrict_name": "MAKAM",
- "district_name": "REMBANG",
- "regency_name": "KABUPATEN PURBALINGGA",
- "province_name": "JAWA TENGAH"
}
]
}
Delete Talent
This is an example operation to show how security is applied to the call.
Authorizations:
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "name": "Bank Central Asia (BCA)",
- "code": "BCA",
- "can_name_validate": true,
- "can_disburse": true
}, - {
- "name": "Bank Mandiri",
- "code": "MANDIRI",
- "can_name_validate": true,
- "can_disburse": true
}
]
}
Get Curriculums Data
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Diklat |
skill | string Example: skill=1,2,3 |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Diklat Customer Service Dasar",
- "level": "basic",
- "passing_grade": 80,
- "skill_id": 1,
- "skill_name": "Customer Service",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Diklat Digital Marketing Dasar",
- "level": "basic",
- "passing_grade": 80,
- "skill_id": 2,
- "skill_name": "Advertiser",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Curriculums Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the curriculums to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Diklat Customer Service Dasar",
- "level": "basic",
- "passing_grade": 80,
- "skill_id": 1,
- "skill_name": "Customer Service",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Create new Curriculums
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: multipart/form-data
name required | string |
skill_id required | integer |
level required | string basic, specific, mature |
passing_grade required | integer |
attachment | string <binary> pdf, xls, xlsx |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create curriculums",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Curriculum By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the curriculums to update |
Request Body schema: multipart/form-data
name required | string |
skill_id required | integer |
level required | string basic, specific, mature |
passing_grade required | integer |
attachment | string <binary> pdf, xls, xlsx |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update curriculum",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Diklat Customer Service",
- "level": "basic",
- "passing_grade": 80,
- "skill_id": 1,
- "skill_name": "Customer Service",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Delete Curriculums Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the curriculums to delete |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully delete curriculum",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Get Training Center Data
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Pusdiklat |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Pusdiklat IT",
- "capacity": 80,
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 666",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Pusdiklat IT 2",
- "capacity": 80,
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 667",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Training Center Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the training center to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Pusdiklat IT",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "capacity": 80,
- "subdistrict_id": 111222,
- "subdistrict_name": "Tunjungmuli",
- "district_id": 111223,
- "district_name": "Karang Moncol",
- "regency_id": 11122,
- "regency_name": "Purbalingga",
- "province_id": 111,
- "province_name": "Jawa Tengah",
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 666",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Create New Training Center Data
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
name required | string |
skill_id required | integer |
capacity required | integer |
subdistrict_id required | integer |
address required | string |
Responses
Request samples
- Payload
{- "name": "Pusdiklat IT 1",
- "skill_id": 1,
- "capacity": 80,
- "subdistrict_id": 111222,
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 666"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 0
}
]
}
Update Training Center Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the training center to update |
Request Body schema: application/json
name required | string |
skill_id required | integer |
capacity required | integer |
subdistrict_id required | integer |
address required | string |
Responses
Request samples
- Payload
{- "name": "Pusdiklat IT 1",
- "skill_id": 1,
- "capacity": 80,
- "subdistrict_id": 111222,
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 666"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Pusdiklat IT 1",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "capacity": 80,
- "subdistrict_id": 111222,
- "subdistrict_name": "Tunjungmuli",
- "district_id": 111223,
- "district_name": "Karang Moncol",
- "regency_id": 11122,
- "regency_name": "Purbalingga",
- "province_id": 111,
- "province_name": "Jawa Tengah",
- "address": "Jl. Maju mundur Jerusallem Timur, nomor 666",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Delete Training Center Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the training center to delete |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 0
}
]
}
Get list trainer
This operation shows how to override the global security defined above, as we want to open it up for all users.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Maulana |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Maulana Slebew",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "assign_status": false,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Slebew Maulana",
- "skill_id": 2,
- "skill_name": "Advertiser",
- "assign_status": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get trainer by id
This operation shows how to override the global security defined above, as we want to open it up for all users.
Authorizations:
path Parameters
id required | integer Numeric ID of the trainer to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Maulana Slebew",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "phone": "123456789",
- "subdistrict_id": 112222,
- "subdistrict_name": "Tunjungmuli",
- "district_id": 11222,
- "district_name": "Karang Moncol",
- "regency_id": 1122,
- "regency_name": "Purbalingga",
- "province_id": 11,
- "province_name": "Jawa Tengah",
- "address": "Karangduren, Bobotsari, Purbalingga, jawa Tengah, 53353",
- "bank_name": "BRI",
- "bank_account_number": "1234567890",
- "bank_account_name": "Maulana Slebew",
- "npwp": "3456812789532869",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Create new Trainer
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: multipart/form-data
name required | string |
skill_id required | integer |
phone | string |
subdistrict_id | integer |
address | string |
bank_name | string |
bank_account_number | string |
bank_account_name | string |
npwp | string |
cv | string <binary> |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create trainer",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Trainer
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the trainer to update |
Request Body schema: multipart/form-data
name required | string |
skill_id required | integer |
phone | string |
subdistrict_id | integer |
address | string |
bank_name | string |
bank_account_number | string |
bank_account_name | string |
npwp | string |
cv | string <binary> |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update trainer",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Maulana",
- "skill_id": 1,
- "skill_name": "Customer Service",
- "phone": "123456789",
- "subdistrict_id": 112222,
- "subdistrict_name": "Tunjungmuli",
- "district_id": 11222,
- "district_name": "Karang Moncol",
- "regency_id": 1122,
- "regency_name": "Purbalingga",
- "province_id": 11,
- "province_name": "Jawa Tengah",
- "address": "Karangduren, Bobotsari, Purbalingga, jawa Tengah, 53353",
- "bank_name": "BRI",
- "bank_account_number": "1234567890",
- "bank_account_name": "Maulana Slebew",
- "npwp": "3456812789532869",
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Delete Trainer Data By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the trainer to delete |
Responses
Response samples
- 200
- 401
- 500
{- "meta": {
- "message": "request success",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 0
}
]
}
Get list training programs
get list training programs endpoint
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Training Program",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Diklat Customer Service Dasar-Pusdiklat Purbalingga 1-1 May 2021",
- "quota": 15,
- "start_date": "2021-05-07",
- "end_date": "2021-05-31",
- "location": "Pusdiklat IT 3",
- "level": "basic",
- "created_at": "2021-05-07 09:23:24",
- "updated_at": "2021-05-07 09:23:24"
}, - {
- "id": 2,
- "name": "Diklat Digital Marketing Dasar-Pusdiklat Purbalingga 1-2 May 2021",
- "quota": 11,
- "start_date": "2021-04-01",
- "end_date": "2021-05-17",
- "location": "Pusdiklat IT 3",
- "level": "basic",
- "created_at": "2021-05-07 09:23:24",
- "updated_at": "2021-05-07 09:23:24"
}
]
}
Get training programs by id
get list training programs endpoint by id
Authorizations:
path Parameters
id required | integer Numeric ID of the training program to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Training Program",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Diklat Customer Service Dasar-Pusdiklat Purbalingga 1-1 May 2021",
- "training_center_id": 1,
- "training_center_name": "Pusdiklat IT 3",
- "batch": 4,
- "quota": 15,
- "skill_id": 1,
- "skill_name": "Customer Service",
- "curriculum_id": 1,
- "curriculum_name": "Diklat Customer Service",
- "other_skills": "Bahasa Inggris, Bahasa Indonesia, Public Speaking",
- "level": "basic",
- "trainer_id": 1,
- "trainer_name": "Aji Pamungkas",
- "start_date": "2021-05-07",
- "end_date": "2021-05-31",
- "created_at": "2021-05-07 09:23:24",
- "updated_at": "2021-05-07 09:23:24"
}
}
create new training program
this endpoint is used to create new training program
Authorizations:
Request Body schema: application/json
training_center_id | integer |
quota | integer |
skill_id | integer |
curriculum_id | integer |
other_skills | string |
level | string |
trainer_id | integer |
start_date | string |
end_date | string |
Responses
Request samples
- Payload
{- "training_center_id": 1,
- "quota": 15,
- "skill_id": 1,
- "curriculum_id": 1,
- "other_skills": "1,2,3,4,5",
- "level": "basic",
- "trainer_id": 1,
- "start_date": "2023-03-07",
- "end_date": "2023-03-31"
}
Response samples
- 201
- 401
{- "meta": {
- "message": "Success create training program",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
update training program
this endpoint is used to update training program
Authorizations:
path Parameters
id required | integer id of training program to update |
Request Body schema: application/json
training_center_id | integer |
quota | integer |
skill_id | integer |
curriculum_id | integer |
other_skills | string |
level | string |
trainer_id | integer |
start_date | string |
end_date | string |
Responses
Request samples
- Payload
{- "training_center_id": 1,
- "quota": 15,
- "skill_id": 1,
- "curriculum_id": 1,
- "other_skills": "1,2,3,4,5",
- "level": "basic",
- "trainer_id": 1,
- "start_date": "2023-03-07",
- "end_date": "2023-03-31"
}
Response samples
- 201
- 401
{- "meta": {
- "message": "Success create training program",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Diklat Customer Service Dasar-Pusdiklat Purbalingga 1-1 May 2021",
- "training_center_id": 1,
- "training_center_name": "Pusdiklat IT 3",
- "batch": 4,
- "quota": 15,
- "skill_id": 1,
- "skill_name": "Customer Service",
- "curriculum_id": 1,
- "curriculum_name": "Diklat Customer Service",
- "other_skills": "Bahasa Inggris, Bahasa Indonesia, Public Speaking",
- "level": "basic",
- "trainer_id": 1,
- "trainer_name": "Aji Pamungkas",
- "start_date": "2021-05-07",
- "end_date": "2021-05-31",
- "created_at": "2021-05-07 09:23:24",
- "updated_at": "2021-05-07 09:23:24"
}
}
get list training program participants
this endpoint is to get list of training program participants
Authorizations:
path Parameters
id required | integer Id of training program |
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string |
status | string Example: status=registered, non job accpet only registered, selected, hired, non job |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Participants of training program data",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Gerardius Oktafiano Ajiswara uhuy",
- "score": 50,
- "notes": "fail",
- "status": "registered",
- "validation": "",
- "created_at": "2021-07-12 22:00:37",
- "updated_at": "2021-07-12 22:00:37"
}, - {
- "id": 2,
- "name": "Erlan Hernandes Kurnia",
- "score": 60,
- "notes": "pass",
- "status": "selected",
- "created_at": "2021-07-12 22:00:37",
- "updated_at": "2021-07-12 22:00:37"
}
]
}
add participants to training programs
this endpoint is used to add multiple participants to training program
Authorizations:
Request Body schema: application/json
training_program_id | integer |
talent_id | string |
Responses
Request samples
- Payload
{- "training_program_id": 1,
- "talent_id": "1,2,3,4,5,6"
}
Response samples
- 201
{- "meta": {
- "message": "Success add participants",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update participants
this endpoint is used to update participants atribute
path Parameters
id required | integer Example: 1 id of participant that want to update |
Request Body schema: application/json
score | integer |
validation | string |
Responses
Request samples
- Payload
{- "score": 80,
}
Response samples
- 201
{- "meta": {
- "message": "Success update participants",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Gerardius Oktafiano Ajiswara uhuy",
- "score": 80,
- "notes": "pass",
- "status": "selected",
- "created_at": "2021-07-12 22:00:37",
- "updated_at": "2021-07-12 22:00:37"
}
}
Delete participants from training program
this endpoint is used to delete participant from training program
path Parameters
id required | integer Example: 1 id of participant that want to delete |
Responses
Response samples
- 200
{- "meta": {
- "message": "Success delete participants",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
get list of all division
This operation shows how to fetch the division data in komtim.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Admin |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Success get divisions",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "division_name": "Customer Experience",
- "status": true,
- "created_at": "2021-05-06 09:25:46",
- "updated_at": "2021-05-06 09:25:46"
}
]
}
get division by id
This operation shows how to fetch the division data in komtim by id.
Authorizations:
path Parameters
id required | integer Example: 1 |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Success get division",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"division_name\":\"Customer Experience\",\"status\":true,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}
Create new Division
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Technology"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create Division",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Division
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Example: 1 |
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Technologyy"
}
Response samples
- 200
{- "meta": {
- "message": "Successfully update Division",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"division_name\":\"Technologyy\",\"status\":true,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}
Update Division Activation
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Example: 1 |
Request Body schema: application/json
status | boolean |
Responses
Request samples
- Payload
{- "status": false
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update Division",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"division_name\":\"Technologyy\",\"status\":false,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}
Get Business Type
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Business Type",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "name": "Reseller",
- "status": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Dropshiper",
- "status": false,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Business Type By Id
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business types to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Business Type",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"name\":\"Admin Marketplace\",\"status\":true,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}"
}
Create new Business Type
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Distributor"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create Business Type",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Business Type
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business types to update |
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Reseller"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update Business Type",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"name\":\"Reseller\",\"status\":true,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}"
}
Update Activation Business Type By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business types to update |
Request Body schema: application/json
status | boolean |
Responses
Request samples
- Payload
{- "status": false
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update activation Business Type",
- "status": "success",
- "code": 200
}, - "data": [
- "{\"id\":1,\"name\":\"Reseller\",\"status\":false,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}"
]
}
Delete Business Type By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business types to update |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully delete Business Type",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Get Business Sector
This is an example operation to show how security is applied to the call.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Business Sector",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "partner_category_name": "Buku & Software",
- "status": true,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}, - {
- "id": 2,
- "name": "Bisnis Offline",
- "status": false,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
]
}
Get Business Sector By Id
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business types to get |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Business Sector",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"name\":\"Buku & Software\",\"status\":true,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}"
}
Create new Business Sector
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Buku & Software"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create business sector",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Business Sector
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business sector to update |
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Buku & Software"
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Data Business Sector",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"name\":\"Buku & Software\",\"status\":true,\"created_at\":\"2021-05-07 09:53:31\",\"updated_at\":\"2021-05-07 09:53:31\"}"
}
Update Activation Business Sector By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business sector to update |
Request Body schema: application/json
status | boolean |
Responses
Request samples
- Payload
{- "status": false
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update activation Business Sector",
- "status": "success",
- "code": 200
}, - "data": {
- "id": 1,
- "name": "Buku & Software",
- "status": false,
- "created_at": "2021-05-07 09:53:31",
- "updated_at": "2021-05-07 09:53:31"
}
}
Delete Business Sector By ID
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Numeric ID of the business sector to update |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully delete Business Sector",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
get list of all position
This operation shows how to fetch the position data in komtim.
Authorizations:
query Parameters
offset | integer |
limit | integer Example: limit=10 |
keyword | string Example: keyword=Admin |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Success get position",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": 1,
- "position_id": 1,
- "position_name": "Backend Developer",
- "division_id": 1,
- "division_name": "Technologyy",
- "status": true,
- "created_at": "2021-05-06 09:25:46",
- "updated_at": "2021-05-06 09:25:46"
}
]
}
get position by id
This operation shows how to fetch the division data in komtim by id.
Authorizations:
path Parameters
id required | integer Example: 1 |
Responses
Response samples
- 200
- 401
{- "meta": {
- "message": "Success get division",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"position_name\":\"Backend Developer\",\"division_id\":1,\"division_name\":\"Technologyy\",\"status\":true,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}
Create new Position
This is an example operation to show how security is applied to the call.
Authorizations:
Request Body schema: application/json
name required | string |
division_id required | integer |
Responses
Request samples
- Payload
{- "name": "Technology",
- "division_id": 1
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully create Position",
- "status": "success",
- "code": 200
}, - "data": [
- {
- "id": "string"
}
]
}
Update Position
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Example: 1 |
Request Body schema: application/json
name required | string |
Responses
Request samples
- Payload
{- "name": "Backend Dev"
}
Response samples
- 200
{- "meta": {
- "message": "Successfully update Position",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"position_id\":1,\"position_name\":\"Backend Dev\",\"division_id\":1,\"division_name\":\"Technologyy\",\"status\":true,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}
Update Position Activation
This is an example operation to show how security is applied to the call.
Authorizations:
path Parameters
id required | integer Example: 1 |
Request Body schema: application/json
status | boolean |
Responses
Request samples
- Payload
{- "status": false
}
Response samples
- 200
- 401
{- "meta": {
- "message": "Successfully update Division",
- "status": "success",
- "code": 200
}, - "data": "{\"id\":1,\"position_name\":\"Backend Developer\",\"division_id\":1,\"division_name\":\"Technologyy\",\"status\":false,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}