Skip to main content

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.

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer

accessCode

Security Scheme Type OAuth2
authorizationCode OAuth Flow
Authorization URL: http://example.com/oauth/auth
Token URL: http://example.com/oauth/token
Scopes:
  • write -

    allows modifying resources

  • read -

    allows reading resources

Auth

Everything about Auth

Skill

Endpoint that have connection with Skill

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Get Skill For questioner

This is an example operation to show how security is applied to the call.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{}

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

Content type
application/json
{}

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

Content type
application/json
{
  • "active": false
}

Response samples

Content type
application/json
{}

Questioner

Endpoint that have connection with Questioner

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "questioner": "Sebutkan nomor NIK KTP Anda!",
  • "skill_id": 1
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "questioner": "Sebutkan nomor NIK KTP Anda OK!",
  • "skill_id": 1
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "target": 2,
  • "current": 1
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "meta": {
    },
  • "data": { }
}

Talent

Endpoint that have connection with Talent

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

Content type
application/json
{}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "skill_id": 1,
  • "questioner": [
    ]
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": { }
}

Region

Endpoint that have connection with Region such like subdistrict, district and etc.

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Bank

Endpoint that have connection with Bank

Delete Talent

This is an example operation to show how security is applied to the call.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Curriculums

Endpoint that have connection with Curriculums

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Training Center

Endpoint that have connection with Training Center

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "name": "Pusdiklat IT 1",
  • "skill_id": 1,
  • "capacity": 80,
  • "subdistrict_id": 111222,
  • "address": "Jl. Maju mundur Jerusallem Timur, nomor 666"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "name": "Pusdiklat IT 1",
  • "skill_id": 1,
  • "capacity": 80,
  • "subdistrict_id": 111222,
  • "address": "Jl. Maju mundur Jerusallem Timur, nomor 666"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Trainer

Endpoint that have connection with Trainer

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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>

pdf

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Busines Type

Endpoint that have connection with Busines type

Training Program

Endpoint that have connection with Training Program

Get list training programs

get list training programs endpoint

Authorizations:
query Parameters
offset
integer
limit
integer
Example: limit=10
keyword
string

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "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

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "training_program_id": 1,
  • "talent_id": "1,2,3,4,5,6"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Division

Endpoint that have connection with division

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "name": "Technology"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "name": "Technologyy"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "status": false
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": "{\"id\":1,\"division_name\":\"Technologyy\",\"status\":false,\"created_at\":\"2021-05-06 09:25:46\",\"updated_at\":\"2021-05-06 09:25:46\"}"
}

Business Type

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "name": "Distributor"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "name": "Reseller"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "status": false
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Business Sector

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "name": "Buku & Software"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "name": "Buku & Software"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "status": false
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": {
    }
}

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Position

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

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "name": "Technology",
  • "division_id": 1
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

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

Content type
application/json
{
  • "name": "Backend Dev"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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

Content type
application/json
{
  • "status": false
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "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\"}"
}

Server heartbeat operation

This operation shows how to override the global security defined above, as we want to open it up for all users.

Responses