API Autogate KEK
  1. Ticket Tenant
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
            • 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
            POST
      • 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. Ticket Tenant

Create Tenant/Company Ticket

Developing
POST
/v1/external/tickets/company
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/external/tickets/company' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_at": "2025-07-24",
    "expired_at": "2025-07-28",
    "police_number": "B 1234 XYZ",
    "comodity": "Batu Bara",
    "unit_of_item": "Kg",
    "total_item": "3000",
    "building_ids": [
        "f3276fad-b4d8-4884-901f-debb6ecce545",
        "3d1c6815-ba69-4e9a-b3fe-64d1663350e6"
    ],
    "delivery_order_path": "uploads/6a2068fe2d32c53b00d25b507a101810-deliver-order.pdf",
    "bill_of_landing_path": "uploads/6a2068fe2d32c53b00d25b507a101810-bill-of-landing.pdf",
    "invoice_path": "uploads/6a2068fe2d32c53b00d25b507a101810-invoice.pdf",
    "other_path": "uploads/6a2068fe2d32c53b00d25b507a101810-other.pdf"
}'
Response Response Example
{
    "message": "Sukses membuat tiket tenant",
    "data": {
        "id": "8d8d8b12-1448-433b-917d-566cbe053402",
        "type": "Tenant",
        "status": "active",
        "source": "tenant",
        "company": {
            "id": "090ca78a-9832-4f73-bec2-683dc440618e",
            "name": "PT Example Company"
        },
        "vehicle": {
            "type": "transport",
            "comodity": "Batu Bara",
            "police_number": "B 1234 XYZ",
            "vehicle_type": "Dumptruck",
            "unit_of_item": "Kg",
            "total_item": 3000
        },
        "buildings": [
            {
                "id": "f707e9b2-06fc-4671-945c-7e91d125296b",
                "name": "Office Building A",
                "address": "Jl. Industri No. 1, Gresik"
            },
            {
                "id": "eba767a8-4777-4b96-81aa-dda934978b3e",
                "name": "Warehouse B",
                "address": "Jl. Industri No. 2, Gresik"
            }
        ],
        "ticket_access_number": "TKT-33471185",
        "qr_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/c478cbb99503c3015d7934026fd45e66-1746623043883-TKT-33471185-ticket-qrcode.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250507T130404Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=26280ff88028ffa909a58d28c64d6335e115e59c8d6489906c77935714154fd2",
        "reject_reason": null,
        "request_at": "2025-07-30",
        "expired_at": "2025-07-30T23:59:59.999Z",
        "created_at": "2025-05-07T13:04:03.862Z",
        "supporting_documents": {
            "delivery_order": {
                "url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-deliver-order.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250507T130404Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=350282757a7f999561c98f3861aea25f76b2929c042312d27a5abefde936378c",
                "path": "uploads/6a2068fe2d32c53b00d25b507a101810-deliver-order.pdf"
            },
            "bill_of_landing": {
                "url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-bill-of-landing.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250507T130404Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8e7fd27496a7c7bbe597fec46aa97b2c8cc970280dc4a7c048a80a375c15e862",
                "path": "uploads/6a2068fe2d32c53b00d25b507a101810-bill-of-landing.pdf"
            },
            "invoice": {
                "url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-invoice.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250507T130404Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=8a38f5db2a5b0b4d79b009eb47eb42684eac26367bc9de01170b97f3f2bb3d10",
                "path": "uploads/6a2068fe2d32c53b00d25b507a101810-invoice.pdf"
            },
            "other": {
                "url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/6a2068fe2d32c53b00d25b507a101810-other.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250507T130404Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=58aa934e9b7c8e75b58e2d628e60e42538d1de277c4b367a774eebf76451aa52",
                "path": "uploads/6a2068fe2d32c53b00d25b507a101810-other.pdf"
            }
        }
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
request_at
string 
required
police_number
string 
required
comodity
string 
required
unit_of_item
string 
required
total_item
string 
required
building_ids
array[string]
required
delivery_order_path
string 
required
bill_of_landing_path
string 
optional
invoice_path
string 
optional
other_path
string 
optional
Examples

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-05-17 05:11:32
Previous
Get Access Token
Next
Latest Activity
Built with