API Autogate KEK
  1. With Pabeanan
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
        • 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
        • 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
              GET
            • Create Ticket Tenant With Pabeanan
              POST
            • Get Detail Ticket Tenant Without Pabeanan
              GET
            • Cancel Ticket Tenant Without Pabeanan
              PUT
            • Update Ticket Tenant With Pabeanan
              PUT
          • 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
        • Get Ticket By Access Number
          GET
      • 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. With Pabeanan

Update Ticket Tenant With Pabeanan

Developing
PUT
/v1/tickets/tenant/with-pabeanan/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v1/tickets/tenant/with-pabeanan/9378841e-e23c-415e-8d46-4a66fd4fa7fe' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_at": "2025-05-30",
    "vehicles": [
        {
            "police_number": "B 1234 XYZ",
            "unit_of_item": "Kg",
            "total_item": "3000"
        },
        {
            "police_number": "A 1234 ABC",
            "unit_of_item": "Kg",
            "total_item": "300"
        }
    ],
    "building_ids": [
        "bcd0d58e-9fd1-4888-9970-dbedfae59dad",
        "feb84a79-d00d-406b-9e3e-6976b6f41601"
    ]
}'
Response Response Example
{
    "data": {
        "id": "e3eb72d9-8ef9-4568-848d-dc77ecf65be9",
        "type": "tenant_with_pabeanan",
        "type_description": "Sarana Angkut Bongkar/Muat - Memiliki Dokumen Kepabeanan",
        "status": "active",
        "source": "autogate",
        "ticket_access_number": "TKT-22916338",
        "reject_reason": null,
        "request_at": "2025-05-29",
        "expired_at": "2025-05-29T23:59:59.999Z",
        "created_by": {
            "id": "9b116272-bb3c-43cb-a079-95e2aa09c7be",
            "fullname": "admin",
            "type": "internal",
            "role": {
                "name": "IT BKMS",
                "key": "it_bkms"
            }
        },
        "created_at": "2025-05-19T15:24:18.050Z",
        "ticket_document_number": "DOC20240319001"
    },
    "message": "Sukses mengubah tiket"
}

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:
9378841e-e23c-415e-8d46-4a66fd4fa7fe
Body Params application/json
request_at
string 
required
vehicles
array [object {3}] 
required
police_number
string 
required
unit_of_item
string 
required
total_item
string 
required
building_ids
array[string]
required
Examples

Responses

🟢200Success
application/json
Body
data
object 
required
id
string 
required
type
string 
required
type_description
string 
required
status
string 
required
source
string 
required
ticket_access_number
string 
required
reject_reason
null 
required
request_at
string 
required
expired_at
string 
required
created_by
object 
required
created_at
string 
required
ticket_document_number
string 
required
message
string 
required
Modified at 2025-05-22 08:56:57
Previous
Cancel Ticket Tenant Without Pabeanan
Next
Download Detail Ticket
Built with