List TPS Online
Developing
GET
/v1/tps-online
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/tps-online?page&per_page&start_date&end_date&document_code&transaction_type'
Response Response Example
{
"data": {
"meta": {
"page": 1,
"total": 1,
"per_page": 15,
"total_page": 1
},
"items": [
{
"id": "2d822c21-8601-4e88-a8bf-32c981f39dc0",
"type": "need_approval",
"title": "Pengajuan Tiket Akses Oleh Luis",
"message": "Pengajuan tiket akses baru oleh Luis.",
"meta": "/ticket-access/guest/079e8144-b22f-41fa-b9f0-1a610cb8183e",
"target_user": {
"id": "301321db-f64f-4b34-a041-3978d9543825",
"fullname": "admin",
"type": "internal",
"email": "admin@gmail.com",
"type_label": "Internal",
"role_id": "69725e99-b30e-429f-81d8-37aa44a112db",
"role_key": "it_bkms",
"role_name": "IT BKMS",
"role_level": null,
"company_name": null,
"status_pu": null,
"is_active": true,
"is_email_verified": false
},
"is_read": false,
"created_at": "2025-06-02T13:42:54.031Z",
"menu_type": "ticket_guest",
"menu_type_label": "Tiket Akses Tamu/Kendaraan Umum"
}
]
},
"message": "Sukses mengambil data notifikasi"
}
Request
Query Params
page
stringÂ
optional
per_page
stringÂ
optional
start_date
stringÂ
optional
end_date
stringÂ
optional
document_code
stringÂ
optional
transaction_type
enum<string>Â
optional
Allowed values:
containerpackagetank_storage
Responses
Modified at 2025-06-09 03:06:07