shipping_trip_summary) dengan berbagai filter seperti tipe tugas, periode waktu, dan pencarian.| Role | Akses |
|---|---|
super_admin | Bisa melihat semua data kurir tanpa batas wilayah |
Authorization: Bearer <token>
Content-Type: application/jsonpage & limit) digunakan untuk menghindari response terlalu besar.search bisa digunakan untuk mencari nama kurir atau ID task.curl --location --request GET 'https://v1.dev.bukalombok.com/v1/couriers/trips/summary/list?type=pickup_courie,delivery_courier,internal_courier&page=1,2&limit=10&date_from=2025-01-14&date_to=2025-03-14&seach=Diyawan' \
--header 'Authorization: Bearer <token>'{
"meta": {
"success": true,
"status": 200,
"message": "Success"
},
"data": [
{
"id": "zV0TpPWfolSpf-A5MYuFv",
"task_type": "pickup_courier",
"total_distance_km": 10,
"total_duration_minute": "60",
"total_weight_gram": 75868993.99753541,
"weight_cost": 89857873.72838166,
"total_cost": 5743830.8566323025
},
{
"id": "PTYs-NdMVGijFWok40oAY",
"task_type": "pickup_courier",
"total_distance_km": 10,
"total_duration_minute": "60",
"total_weight_gram": 45284683.23964629,
"weight_cost": -2402060.7572003454,
"total_cost": 6122718.253283287
}
]
}