API Autogate KEK
  1. Company Employee
API Autogate KEK
  • API
    • V1
      • Company
        • Create Company
        • Update Company
        • Delete Company
        • Detail Company
        • Paginate Company
        • Dropdown List Company
      • Roles
        • Get Roles With Pagination
        • Detail Role
        • Create Role
        • Update Role
        • Delete Role
        • Get Detail Role Permissions
        • Dropdown List Role
        • Dropdown List Role Level
      • Permissions
        • Get Grouped Permissions With Pagination
      • User
        • User Operational Tenant
          • Detail User (Operatioanl) Tenant
          • Update User (Operational) Tenant
          • Create User (Operational) Tenant
          • Get List User
          • Delete User (Operational) Tenant
        • Operational
          • As Super Admin
            • Bulk Create User Operational as Super Admin
            • Update User Operational as Super Admin
          • As Admin
            • Bulk Create User Operational as Admin
            • Update User Operational as Admin
          • Detail User Operational
        • Admin
          • Bulk Create User Admin
          • Update User Admin
          • Detail User Admin
        • Get List User
        • Get Admin Dropdown List
        • Delete User
      • Auth
        • Login
        • [Mobile] Login User Operational
        • Send Url Forgot Password
        • Validate Url From Forgot Password
        • Change password
        • Validate Token and Verify Email
        • Send Url Email Verification
      • Product
        • Create Product
        • Paginate Products
        • Update Product
        • Delete Product
        • Detail Product
      • FAQs
        • Get Detail Group FAQs
        • Create FAQs
        • Get Grouped FAQs
        • Update FAQs
        • Delete FAQs
        • Detail FAQs
      • FAQs Public
        • Get List FAQ
      • Company Employee
        • Create Company Employee
          POST
        • Get Company Employee With Pagination
          GET
        • Update Company Employee
          PUT
        • Delete Company Employee
          DELETE
        • Detail Company Employee
          GET
      • Lokasi Tujuan
        • Create Lokasi Tujuan
        • Update Lokasi Tujuan
        • Delete Lokasi Tujuan
        • Detail Lokasi Tujuan
        • List Lokasi Tujuan
        • List Lokasi
        • Get Dropdown Lokasi Tujuan Pelabuhan BMS
      • Jenis Lokasi
        • Get All Area
        • Get detail area
      • Contact
        • Get List of Contact
        • Detail Contact
        • Update Contact
      • Common
        • File Upload
          • Upload PDF
          • Upload File
          • Upload PDF or Image
        • Photo Upload
          • Upload Photo
        • Stream File
        • Get File Url
      • Ticket
        • Tenant
          • Without Pabeanan
            • Download Ticket
            • Create Ticket Tenant Without Pabeanan
            • Get Detail Ticket Tenant Without Pabeanan
            • Cancel Ticket Tenant Without Pabeanan
            • Update Ticket Tenant Without Pabeanan
          • With Pabeanan
            • Download Ticket
            • Create Ticket Tenant With Pabeanan
            • Get Detail Ticket Tenant Without Pabeanan
            • Cancel Ticket Tenant Without Pabeanan
            • Update Ticket Tenant With Pabeanan
          • Sarana Niaga
            • Download Detail Ticket
            • Create Ticket Sarana Niaga
            • Get Detail Ticket Sarana Niaga
            • Update Ticket Sarana Niaga
            • Reject Ticket Sarana Niaga
        • Guest
          • Create Guest Ticket
          • Update Guest Ticket
          • Detail Guest Ticket
          • Download Guest Ticket PDF
          • Get Guest Ticket By Access Number
          • Cancel Guest Ticket
          • Approve Guest Ticket
          • Reject Guest Ticket
        • Get Ticket With Pagination
        • Get Ticket By Access Number
      • External
        • Oauth
          • Get Access Token
        • Ticket Tenant
          • Create Tenant/Company Ticket
      • Video Wall
        • Latest Activity
      • Management Gate
        • Lane
          • Update Interven Status
        • Create Gate
        • Update Gate
        • Delete Gate
        • Get Grouped Gates
        • Get Gates By Area
        • Get Detail Gate
        • Get List All Gates
        • Get Lane By Gate
        • Get Detail lane
      • Gate Activities
        • Get With Pagination
        • Gate Check-in (Hardware)
      • Gate In/Out
        • Buffer Zone
          • Get pagination bufferzone
          • Get bufferzone detail by gate activity id
          • Buffer Zone Checkup
      • CEISA
        • Find Ceisa By Id Header
        • Get Pagination
        • Find Ceisa By Id Header And Company
      • PTOSM
        • Find By SPMK Number
      • Dashboard
        • Data Lalu Lintas Kendaraan
        • Data Rata-Rata Waktu Ritase
        • Jumlah Kendaraan Berdasarkan Jenis Lampu & Kendaraan
        • Jumlah Kendaraan Berdasarkan Jenis Dokumen
      • Log Activity
        • Get Log Activity
        • Get Log Activity Detail
      • Report
        • Report Bongkar Muat Bufferzone
          • CSV Report Bongkar Muat di Bufferzone
          • Report Bongkar Muat di Bufferzone
          • Detail Report Bongkar Muat Bufferzone
          • Download pdf Report Bongkar Muat Bufferzone
        • Report Tenant
          • Report Tenant Detail
          • PDF List Report Tenant
          • Download pdf Report Tenant Detail
          • CSV Report Tenant
          • Report Tenant
        • Report Bongkar Muat Main
          • Report Bongkar Muat (Main Gate)
          • CSV Report Bongkar Muat (Main Gate)
          • Detail Report Bongkar Muat (Main Gate)
          • Download pdf Report Bongkar Muat (Main Gate)
        • Report Niaga
          • Report Niaga
          • CSV Report Niaga
          • Detail Report Niaga
          • Download pdf Report Niaga
      • Profile
        • Get profile
        • Update profile
        • Update Email
        • Request URL Change Password
        • Change Password
        • Validate Token From URL
      • Load Unload
        • [Mobile] Validate Scan QR
        • [Mobile] Accept Bongkar Muat
        • [Mobile] Reject Bongkar Muat
        • [Mobile] Data Status Bongkar Muat
        • [Mobile] Get List Bongkar Muat
        • [Mobile] Get Detail Scan Ceisa Documents
        • [Mobile] Get Detail Scan Ticket Documents
        • [Mobile] Get Detail Scan Spmk Documents
      • Notification
        • List Notification
        • 3 Latest Notification
        • Mark As Read
        • Mark read all
      • TPS Online
        • List TPS Online
        • Detail TPS Online
      • Get detail data verifikasi gate in
        GET
  1. Company Employee

Update Company Employee

Developing
PUT
/v1/company-employees/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v1/company-employees/d6d42e70-1da5-42f1-8135-0ab57754b9c3' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Syaiful Janah",
    "nip": "371234819290387128",
    "email": "syaiful@example.com",
    "company_id": "37ed0771-3f97-4e17-9804-0c15fedb7265",
    "activity": "Kerja",
    "is_permanent": true,
    "valid_start_at": "2025-04-17",
    "valid_end_at": null,
    "letter_of_assignment_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf",
    "integrity_pact_letter_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf"
}'
Response Response Example
{
    "data": {
        "id": "342804e3-0bce-4ac2-9d4c-fa300ae18716",
        "name": "Syaiful Janah",
        "nip": "371234819290387128",
        "email": "syaiful@example.com",
        "company": {
            "id": "37ed0771-3f97-4e17-9804-0c15fedb7265",
            "email": null,
            "npwp": "323e4567-e89b-12d3-a456-426614174002",
            "name": "PT Construction Project",
            "business_field": "Construction",
            "operation_status": "construction",
            "type": "tenant",
            "status_pu": "registered",
            "no_pu": "non_construction",
            "pic_name": "Bob Johnson",
            "pic_phone": "6281234567892",
            "address": null,
            "created_at": "2025-04-22T03:55:09.710Z",
            "updated_at": "2025-04-22T03:55:09.710Z"
        },
        "activity": "Kerja",
        "status": "active",
        "gatepass_number": "GP-20250430-001",
        "valid_start_at": "2025-04-17",
        "valid_end_at": null,
        "is_permanent": true,
        "letter_of_assignment_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf",
        "letter_of_assignment_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil%20-%20After.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094645Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=00dfcf2f9753a249bea13dfcf022862759586a059e538b25a9e08d39d2489ac9",
        "integrity_pact_letter_path": "uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil - After.pdf",
        "integrity_pact_letter_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-Berhasil%20-%20After.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250430%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250430T094645Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=00dfcf2f9753a249bea13dfcf022862759586a059e538b25a9e08d39d2489ac9",
        "created_at": "2025-04-30T16:42:02.089Z",
        "updated_at": "2025-04-30T16:46:45.326Z",
        "created_by": {
            "id": "6ef44c23-a54f-4132-a1f9-c2a770d3f3bd",
            "fullname": "admin"
        }
    },
    "message": "Sukses mengubah gatepass personil"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Example:
d6d42e70-1da5-42f1-8135-0ab57754b9c3
Body Params application/json
name
string 
required
nip
string 
required
email
string 
required
company_id
string 
required
activity
string 
required
is_permanent
boolean 
required
valid_start_at
string 
required
valid_end_at
null 
required
letter_of_assignment_path
string 
required
integrity_pact_letter_path
string 
required
Examples

Responses

🟢200Success
application/json
Body
data
object 
required
id
string 
required
name
string 
required
nip
string 
required
email
string 
required
company
object 
required
activity
string 
required
status
string 
required
gatepass_number
string 
required
valid_start_at
string 
required
valid_end_at
null 
required
is_permanent
boolean 
required
letter_of_assignment_path
string 
required
letter_of_assignment_url
string 
required
integrity_pact_letter_path
string 
required
integrity_pact_letter_url
string 
required
created_at
string 
required
updated_at
string 
required
created_by
object 
required
message
string 
required
Modified at 2025-04-24 03:32:11
Previous
Get Company Employee With Pagination
Next
Delete Company Employee
Built with