Download Detail Ticket
Developing
GET
/v1/tickets/tenant/sarana-niaga/download/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/tickets/tenant/sarana-niaga/download/c8b07996-640a-44b5-aa0f-cf07f7b97e9e'
Response Response Example
{
"data": {
"id": "9378841e-e23c-415e-8d46-4a66fd4fa7fe",
"type": "Sarana Angkut Bongkar/Muat - Tidak Memiliki Dokumen Kepabeanan",
"status": "WAITING_APPROVE",
"buildings": [
{
"id": "42e78b23-5b26-478a-843c-69e96346798b",
"name": "Office Building A",
"address": "Jl. Industri No. 1, Gresik"
},
{
"id": "cb332328-ab15-4fcc-abcd-3c027877fad2",
"name": "Warehouse B",
"address": "Jl. Industri No. 2, Gresik"
}
],
"vehicle": {
"id": "88a00bdd-ae94-4d04-884f-3e00c9a17bf4",
"type": "angkut",
"comodity": "Batu Bara",
"police_number": "B 1234 XYZ",
"vehicle_type": "Dumptruck",
"unit_of_item": "Kg",
"total_item": 3000
},
"user_id": "02a9077b-19b2-40ba-9d2d-9919cc39337c",
"ticket_access_number": "TKT-46482279",
"qr_url": "http://localhost:3000/uploads/1745226076770-ticket-qrcode.png",
"reject_reason": null,
"request_at": "2025-04-27",
"expired_at": null,
"created_at": "2025-04-21T02:01:16.771Z",
"supporting_documents": [
{
"id": "d16f9a43-d578-4a37-8eb4-27a64c445ab8",
"description": null,
"document_type": "delivery_order",
"file_url": "https://example.com/letters/assignment-001.pdf"
},
{
"id": "7729b485-1ddb-4a95-aa50-1bd326bdac10",
"description": null,
"document_type": "bill_of_landing",
"file_url": "https://example.com/letters/assignment-001.pdf"
},
{
"id": "b7879133-136e-43b3-ac25-1995705ed814",
"description": null,
"document_type": "invoice",
"file_url": "https://example.com/letters/assignment-001.pdf"
},
{
"id": "f666c209-c1e3-4df6-8df7-13812cbf1355",
"description": null,
"document_type": "other",
"file_url": "https://example.com/letters/assignment-001.pdf"
}
]
},
"message": "Ticket retrieved successfully"
}
Request
Path Params
id
stringÂ
required
Example:
c8b07996-640a-44b5-aa0f-cf07f7b97e9e
Responses
Modified at 2025-04-28 09:38:17