API Autogate KEK
  1. Live Activity
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
        • 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
        • Quota
      • 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
        • Refresh Token
        • Logout
      • 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
        • Get Company Employee With Pagination
        • Update Company Employee
        • Delete Company Employee
        • Detail Company Employee
      • 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
          • Upload File Multiple
          • Upload File Multiple For Transaction Hardware
          • Upload File For Transaction Hardware
        • Photo Upload
          • Upload Photo
        • Base64
          • Upload Photo Base64
        • 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
            • Approve Lokasi Tujuan
            • Reject Lokasi Tujuan
          • With Pabeanan
            • Create Ticket Tenant WIth Pabean
            • Download Ticket
            • Get Detail Ticket Tenant With 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
        • Invitation
          • Get Ticket By Invitation Token
          • Confirm Passcode
          • Create Vehicle Ticket By Invitation
          • Download PDF
          • Update By Invitation Token
        • Vehicle Tickets
          • Get Vehicle Tickets With Pagination
        • Dual Container
          • Create Vehicle Ticket for Dual Container
          • Get List Tickets
          • Update Ticket Type
        • Get Ticket With Pagination
        • Get Ticket By Access Number
        • Link with SPMK
        • Unlink with SPMK
        • Get Ticket By Access Number Copy
      • External
        • Oauth
          • Get Access Token
        • Ticket Tenant
          • Create Tenant/Company Ticket
      • Live Activity
        • Get Latest Activity By Gate and Lane
          GET
      • Management Gate
        • Lane
          • Update Interven Status
          • Update Bypass Barier Status
        • Device
          • Get List Device by Line ID
          • Add Device
        • 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
        • Get Gate With Lanes Latest Activity
        • Get All Gates Grouped By Area
      • Gate Activities
        • Failure Message
          • Get Pagination Gate Activity Failure Messages
          • Get Detail Gate Activity Failure Messages
          • Update Gate Activity Failure Messages
        • Get With Pagination
        • Gate Check-in (Hardware)
        • Close Portal (Hardware)
        • Open Portal (Hardware)
        • Gate Check-in (Virtual Gate)
        • Gate Check-in From Autogate Officer
      • Gate In/Out
        • Buffer Zone
          • Get pagination bufferzone
          • Get bufferzone detail by gate activity id
          • Buffer Zone Checkup
          • Close Activity
          • Add Vehicle To Activity
      • CEISA
        • Grouping
          • Grouping CEISA
          • List Grouping CEISA
        • Find Ceisa By Id Header
        • Get Pagination
        • Find Ceisa By Id Header And Company
        • Get Bulk From CEISA
        • Find By No Aju
        • Find Ceisa By Id Header From DB
        • Update By Id
        • Complete customs pass
      • PTOSM
        • Generate JobSlip
        • Gate Out JobSlip
        • Find By SPMK Number
        • Get SPMK List
        • Find By ID SPMK From DB
      • Dashboard
        • Data Lalu Lintas Kendaraan
        • Data Rata-Rata Waktu Ritase
        • Jumlah Kendaraan Berdasarkan Jenis Lampu & Kendaraan
        • Jumlah Kendaraan Berdasarkan Jenis Dokumen
        • Data Buffer zone
        • Data Lalu Lintas JIIPE
      • Log Activity
        • Get Log Activity
        • Get Log Activity Detail
      • Report
        • Report Bongkar Muat Bufferzone
          • Report Bongkar Muat di Bufferzone
          • Detail Report Bongkar Muat Bufferzone
          • Download pdf Report Bongkar Muat Bufferzone
          • Excel Report Bongkar Muat di Bufferzone
          • CSV Report Bongkar Muat di Bufferzone
        • Report Tenant
          • Report Tenant
          • Report Tenant Detail
          • PDF List Report Tenant
          • Download pdf Report Tenant Detail
          • Excel Report Tenant
          • CSV Report Tenant
        • Report Bongkar Muat Main
          • Report Bongkar Muat (Main Gate)
          • Detail Report Bongkar Muat (Main Gate)
          • Download pdf Report Bongkar Muat (Main Gate)
          • Excel Report Bongkar Muat (Main Gate)
          • CSV Report Bongkar Muat (Main Gate)
        • Report Vehicle Activity
          • Report Vehicle Activity
          • Detail Report Vehicle Activity
          • Download pdf Report Vehicle Activity
          • Excel Report Vehicle Activity
          • CSV Report Vehicle Activity Copy
      • Profile
        • Get profile
        • Update profile
        • Update Email
        • Request URL Change Password
        • Change Password
        • Validate Token From URL
      • Load Unload
        • Draft Verification
          • [Mobile] Create or Update Verification Draft
          • [Mobile] Get Verification Draft
          • [Mobile] Get Verification Draft Pabean
        • [Mobile] Validate Scan QR
        • [Mobile] Accept Verification Bongkar Muat
        • [Mobile] Reject Verification Bongkar Muat
        • [Mobile] Finalize Bongkar Muat
        • [Mobile] Data Status Bongkar Muat
        • [Mobile] Get List Bongkar Muat QR Only (Exclude Out Activity)
        • [Mobile] Get Document List Bongkar Muat (Exclude Out Activity)
        • [Mobile] Get Ticket List Bongkar Muat (Exclude Out Activity)
        • [Mobile] Get Detail Scan Ceisa Documents
        • [Mobile] Get Detail Scan Ticket Documents
        • [Mobile] Get Detail Scan Spmk Documents
        • [Mobile] Done Ticket
        • [Mobile] Re entry
        • [Mobile] Update Verification Bongkar Muat
        • [Mobile] Check In Tenant
      • Notification
        • List Notification
        • 3 Latest Notification
        • Mark As Read
        • Mark read all
      • TPS Online
        • List TPS Online
        • Detail TPS Online
      • EMKL
        • List Kapal
        • List SPMK By Kapal
        • List SPPB
        • Assign EMKL SPPB
        • List Monitoring SPMK with SPPB
      • Vehicle
        • Create Bulk Vehicles
        • Update Bulk Vehicles
        • List Vehicles
        • Detail Vehicle
        • Delete Vehicle
        • Delete Bulk Vehicles
      • Configs
        • Get All Configs
        • Create Config
        • Bulk Delete Configs
        • Get Config by ID
        • Delete Config by ID
        • Get Config by Key
        • Update Config
      • Autogate Officer
        • Dual Container
          • Create Vehicle Ticket with Reference
        • Get List Need Review
        • Get log activity (gate action)
        • Get Detail list
        • Get history autogate officer
        • Solve Activity
        • Reject Activity
      • Buffer zone bea cukai
        • Get List Need Review
        • Get log activity (gate action)
        • Get Detail list
        • Get history autogate officer
        • Solve Activity
        • Reject Activity
      • Monitoring
        • Health Check
      • Get detail data verifikasi gate in
        GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Live Activity

Get Latest Activity By Gate and Lane

Developing
GET
/v1/live-activities/latest/{gateId}/{laneId}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200Success
application/json
Body

🟢200UNUSED - SPMK
🟢200UNUSED - Ticket
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/live-activities/latest/4ce390d0-b0be-4dd7-9c5b-8347c594d977/1cec81ab-16eb-4e63-b608-14a3c001cc7d' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success - Success
{
    "data": {
        "data": {
            "id": "bda134d6-1917-49b0-a992-e3e20f47d301",
            "status": "done",
            "vehicle": {
                "id": "d1a953e0-a319-4e5d-9b28-bb2d9a4b0c6a",
                "type": "transport",
                "comodity": null,
                "containers": [],
                "created_at": "2025-09-10T23:09:25.764Z",
                "updated_at": "2025-09-10T23:09:25.764Z",
                "deleted_at": null,
                "police_number": "B1236XYA",
                "vehicle_type": "container",
                "unit_of_item": null,
                "total_item": 0,
                "company_id": null
            },
            "ticket": {
                "id": "d2f89643-d996-4c57-8837-8ccd42504075",
                "type": "tenant_with_pabeanan",
                "status": "running",
                "source": "autogate",
                "direction": "in_out",
                "company": {
                    "id": "3c0c7775-77a4-453f-b7bc-9f28a8797721",
                    "email": null,
                    "npwp": "0010695369091000",
                    "nitku": "0010695369091000000004",
                    "name": "FREEPORT INDONESIA (07-FASILITAS KHUSUS)",
                    "address": "KAWASAN INDUSTRI JIIPE, JL. RAYA MANYAR KM 11, MANYAR SIDORUKUN, MANYAR",
                    "type": "customer",
                    "created_at": "2025-05-18T11:11:23.677Z",
                    "updated_at": "2025-05-18T11:11:23.677Z",
                    "deleted_at": null,
                    "business_field": "",
                    "operation_status": "not_operation",
                    "status_pu": "registered",
                    "no_pu": null,
                    "pic_name": "",
                    "pic_phone": "8119981074",
                    "supporting_doc_file_path": null
                },
                "created_at": "2025-07-29T16:39:20.605Z",
                "updated_at": "2025-09-10T23:09:25.844Z",
                "deleted_at": null,
                "type_description": "Sarana Angkut Bongkar/Muat - Memiliki Dokumen Kepabeanan",
                "created_by": null,
                "approved_by": null,
                "company_id": "3c0c7775-77a4-453f-b7bc-9f28a8797721",
                "ticket_access_number": "TKT-43376105",
                "reject_reason": null,
                "ticket_document_number": null,
                "ticket_document_type": null,
                "executor_name": null,
                "spmk_document_id": "e8eca23f-bd6d-40e3-9895-528f09ab3f14",
                "ceisa_document_id": "44e12e01-51e6-4261-ad02-e956ad5e36dd",
                "is_done": false,
                "ceisa_document": {
                    "id": "44e12e01-51e6-4261-ad02-e956ad5e36dd",
                    "car": "2010495232BDB1102202500026",
                    "seri": 0,
                    "brutto": 5150,
                    "netto": 5150,
                    "gudang": null,
                    "nitku": "0010695369091000",
                    "container": [],
                    "kemasan": [
                        {
                            "id": "ffdf8807-7450-4c1e-bfac-c80f44035841",
                            "car": "2010495232BDB1102202500026",
                            "keterangan": null,
                            "created_at": "2025-07-29T16:39:20.603Z",
                            "updated_at": "2025-07-29T16:39:20.603Z",
                            "deleted_at": null,
                            "ceisa_document_id": "44e12e01-51e6-4261-ad02-e956ad5e36dd",
                            "kode_dokumen": null,
                            "jenis_kemasan": "PK",
                            "jumlah_kemasan": 25,
                            "no_segel": null,
                            "no_polisi": null,
                            "waktu_in_out": null,
                            "petugas_in_out": null
                        }
                    ],
                    "created_at": "2025-07-29T16:39:20.557Z",
                    "updated_at": "2025-07-29T16:39:20.557Z",
                    "deleted_at": null,
                    "kode_dok_in_out": "1",
                    "kode_dokumen": "613",
                    "kode_respon": null,
                    "no_dok_in_out": "000644/KBC.1104/2025",
                    "tanggal_dok_in_out": "2025-02-12",
                    "no_daftar": "000645",
                    "tanggal_daftar": "2025-02-12",
                    "kode_kantor": "070300",
                    "kode_kantor_pengawas": null,
                    "kode_kantor_bongkar": null,
                    "kode_kantor_muat": null,
                    "id_perusahaan": "0010695369091000000004",
                    "nama_perusahaan": "FREEPORT INDONESIA",
                    "alamat_perusahaan": "KAWASAN INDUSTRI JIIPE JL RAYA MANYAR KM 11",
                    "id_ppjk": null,
                    "nama_ppjk": null,
                    "alamat_ppjk": null,
                    "no_polisi": null,
                    "status_jalur": "H",
                    "jumlah_container": 0,
                    "jumlah_kemasan": 25,
                    "fl_segel": null
                },
                "spmk_document": {
                    "id": "e8eca23f-bd6d-40e3-9895-528f09ab3f14",
                    "eta": "2025-06-02T00:07:00.000+00:00",
                    "etd": "2025-06-07T08:05:00.000+00:00",
                    "grt": "31169",
                    "loa": "189.9",
                    "agen": null,
                    "siklus": "BM",
                    "status": "1",
                    "keterangan": "STEEL SLABS",
                    "created_at": "2025-08-20T16:37:10.515Z",
                    "updated_at": "2025-08-20T16:37:10.515Z",
                    "deleted_at": null,
                    "spmk_number": "SPMK92690000890525",
                    "no_spmk": "SPMK92690000890525",
                    "kd_kapal": "I000042858",
                    "nm_kapal": "MV. GUTIAN TRUST",
                    "jns_kapal": "KPLCURAHKR",
                    "jns_pelayaran": "DALAMNEGERI",
                    "kd_pbm": "0210013169",
                    "nm_pbm": "BERLIAN MANYAR SEJAHTERA, PT",
                    "no_pmh": "BM92690000750525",
                    "no_ppk": "V92690000740525",
                    "no_prc": "OP92690000700525",
                    "no_pntp": "PNTP92690000690525",
                    "tgl_prc": "2025-06-01T00:00:00.000+00:00",
                    "tgl_pntp": "2025-05-31T22:01:02.000+00:00",
                    "kd_cabang": 92,
                    "kd_dermaga": "926903",
                    "nm_dermaga": "SISI LUAR BARU 2A-LB",
                    "kd_tambatan": "2A-LB",
                    "nm_tambatan": "2A-LB",
                    "kd_terminal": 69,
                    "nm_terminal": "BERLIAN MANYAR SEJAHTERA",
                    "kd_regional": 992,
                    "nm_regional": "BERLIAN MANYAR SEJAHTERA",
                    "kd_kegiatan": "BONGKAR",
                    "nm_kegiatan": "BONGKAR",
                    "status_kegiatan": 2,
                    "kd_tertagih": "926900051",
                    "nm_tertagih": "PT. SUNAN INTI TRANS",
                    "truck_seq": 0,
                    "m_berat_in": 0
                }
            },
            "created_at": "2025-09-10T23:09:25.774Z",
            "updated_at": "2025-09-10T23:16:06.277Z",
            "deleted_at": null,
            "ticket_id": "d2f89643-d996-4c57-8837-8ccd42504075",
            "vehicle_id": "d1a953e0-a319-4e5d-9b28-bb2d9a4b0c6a",
            "request_at_start": "2025-09-10",
            "request_at_end": null,
            "expired_at": null,
            "qr_path": "uploads/894893685824b32fb13e1c888e30e7e8-1757520563039-TKT-43376105-B1236XYA-rqlgnk32xn-ticket-qrcode.png",
            "qr_type": "spmk",
            "no_job": null,
            "is_done": true,
            "check_in_at": "2025-06-02T08:23:32.754Z",
            "check_out_at": "2025-06-02T08:23:32.754Z",
            "vehicle_ticket_code": "TKT-43376105-B1236XYA-rqlgnk32xn",
            "is_load_unload_done": false,
            "cancel_reason": null,
            "area_id": "3ebee9a6-ae9d-439f-a6d6-5bcd7196ee93",
            "spmk_document_id": "e8eca23f-bd6d-40e3-9895-528f09ab3f14",
            "police_number": "B1236XYA",
            "realization_weight": null,
            "realization_unit": null,
            "weight_in": 10000,
            "weight_out": 10000
        },
        "gate_in_time": null,
        "gate_out_time": "2025-06-02T08:23:32.754Z",
        "identity_gate": "GATE0004",
        "gate_activity_data": {
            "activity": "out",
            "color": "green",
            "status": "passed",
            "gate_id": "6cdb9627-41a3-4c01-b378-5af0a698e4d7",
            "checked_at": "2025-06-02T08:23:32.754Z",
            "lane_id": "4d33379d-75ac-4e64-a943-598b26b3aacf",
            "vehicle_number": "B1236XYA",
            "container_number": "",
            "created_at": "2025-09-10T23:16:06.259Z",
            "led_message": null,
            "error_message": null
        },
        "qr_type": "spmk"
    },
    "message": "Sukses mengambil data detail latest live activity"
}
Modified at 2025-09-10 17:24:24
Previous
Create Tenant/Company Ticket
Next
Update Interven Status
Built with