Acuan endpoint lengkap
Seluruh 211 endpoint yang dapat dipanggil seorang karyawan, dikelompokkan menurut layar yang memakainya. Dibangkitkan langsung dari kode backend, bukan ditulis tangan.
211 endpoint 161 skema Dibangkitkan 25 Agustus 2026
Halaman ini daftar, bukan panduan. Konsep yang menentukan hampir seluruh keputusan rancangan aplikasi ada di panduan naratif: bagaimana perusahaan ditentukan, kapan 403 merupakan jawaban yang benar, bagaimana menangani hilangnya sinyal, dan enam ketidakcocokan yang sudah diketahui.
Berkas mesinnya: openapi-lengkap.yaml, siap diimpor ke Postman atau dipakai membangkitkan klien.
Cara membaca kolom Izin. token saja berarti tidak ada pemeriksaan izin sama sekali; cukup token yang sah. Selebihnya menyebut sumber daya dan tindakan yang dituntut. Seluruh endpoint di halaman ini berada dalam jangkauan sebuah peran karyawan yang benar-benar ada di basis data, tetapi tidak setiap karyawan memegang semuanya: bagian Lapangan hanya untuk peran yang memilikinya.
Bentuk balasan yang bertuliskan tidak terbaca berarti handler-nya menyusun JSON dengan cara yang tidak dapat disimpulkan dari kode. Itu ditandai terbuka, bukan ditebak.
Publik dan masuk 10 endpoint
Dipanggil sebelum ada token, dan saat berpindah perusahaan.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| POST | /auth/employee-loginPOST /auth/employee-login Seluruh kegagalan yang berkaitan dengan identitas dijawab dengan pesan yang sama. Membedakan "kode tidak ada" dari "PIN sala | token saja | — | MasukReq | {tokens, tenant_id, employee_id, must_change_pin} |
| POST | /auth/login | token saja | — | LoginReq | {requires_2fa, tokens, tenant_id} |
| POST | /auth/refresh | token saja | — | RefreshReq | TokenPair |
| POST | /auth/switch-tenantTukar tenant aktif: terbitkan token baru untuk tenant lain milik user. | token saja | — | SwitchReq | {tokens, tenant_id} |
| GET | /avatars/{filename}GET /avatars/{filename} — publik (img tag tidak bisa kirim header auth). | token saja | — | — | berkas |
| GET | /branding-assets/{tenant}/{filename}GET /branding-assets/{tenant}/{filename} — public (login page <img>). | token saja | — | — | berkas |
| GET | /my/tenantsDaftar tenant yang dimiliki user (untuk switcher). | token saja | — | — | {data} |
| GET | /public/brandingGET /public/branding — unauthenticated. Returns branding for the company whose custom domain / subdomain matches the request host (for the login page) | token saja | — | — | {found, name, slug, branding, portal} |
| GET | /push/vapid-public-keyGET /push/vapid-public-key — kunci publik VAPID untuk browser (publik). | token saja | — | — | {key} |
| GET | /tenant/brandingGET /tenant/branding — current company's branding + domain config (authed). | token saja | — | — | {name, slug, subdomain, custom_domain, branding, root_domain} |
Akun saya 22 endpoint
Profil, PIN, keamanan, notifikasi, slip gaji.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| DELETE | /devices/fcmDELETE /devices/fcm — remove an FCM token (e.g. on logout). Scoped to the caller's tenant via RLS; idempotent (deleting an unknown token returns delet | token saja | — | UnregisterFcmReq | {deleted} |
| POST | /devices/fcmPOST /devices/fcm — upsert the caller's FCM token (keyed by `token`). Re-registering an existing token re-owns it to the current user/employee/tenant | token saja | — | RegisterFcmReq | {id, registered} |
| GET | /me | token saja | — | — | {user, employee_id, employee, tenant, roles, permissions, denials, modules, is_platform_admin} |
| POST | /me/2fa/disablePOST /me/2fa/disable {code} → matikan 2FA (verifikasi kode TOTP atau recovery). | token saja | — | CodeReq | {ok} |
| POST | /me/2fa/enablePOST /me/2fa/enable {code} → verifikasi & aktifkan, kembalikan recovery codes. | token saja | — | CodeReq | {ok, recovery_codes} |
| POST | /me/2fa/setupPOST /me/2fa/setup → buat secret baru (belum aktif), kembalikan secret + otpauth URL. | token saja | — | — | {secret, otpauth_url} |
| GET | /me/app-pinGET /me/app-pin : apakah pemakai ini sudah punya PIN. Dipakai aplikasi untuk memutuskan apakah menawarkan "buat PIN" pada orang yang masuk lewat surel | token saja | — | — | {punya_data_karyawan, employee_code, punya_pin} |
| PUT | /me/app-pinPUT /me/app-pin : karyawan mengganti PIN-nya sendiri. | token saja | — | GantiReq | {ok} |
| DELETE | /me/avatarDELETE /me/avatar — reset/hapus foto profil. | token saja | — | — | {ok} |
| POST | /me/avatar | token saja | — | — | {avatar_url} |
| GET | /me/historyGET /me/history — driver/helper activity summary for the actor's linked employee. Auth only (no RBAC `require`): a user can always see their own histo | token saja | — | — | {trips_completed, points_total, recent} |
| POST | /me/password | token saja | — | PasswordReq | {ok} |
| GET | /me/payslipsGET /me/payslips Slip gaji milik karyawan ini, dari seluruh periode yang sudah difinalkan. Aplikasi karyawan sebelumnya menempuh jalan yang dipakai la | token saja | SlipQuery | — | {data, punya_data_karyawan} |
| GET | /me/preferences | token saja | — | — | objek bebas |
| PUT | /me/preferences | token saja | — | objek bebas | objek bebas |
| DELETE | /me/push/subscribeDELETE /me/push/subscribe — hapus subscription. | token saja | — | PushUnsubReq | {ok} |
| POST | /me/push/subscribePOST /me/push/subscribe — simpan/segarkan subscription web push milik user. | token saja | — | PushSubReq | {ok} |
| GET | /me/tasksGET /me/tasks Tugas yang ditugaskan kepada karyawan milik pemakai ini, dari seluruh proyek, diurutkan menurut tenggat. | token saja | TugasQuery | — | {data, punya_data_karyawan} |
| GET | /notifications | token saja | ListQuery | — | {data: NotifRow[]} |
| POST | /notifications/read-all | token saja | — | — | {ok} |
| GET | /notifications/unread-count | token saja | — | — | {count} |
| POST | /notifications/{id}/read | token saja | — | — | {ok} |
Kehadiran 9 endpoint
Absen, riwayat, shift, lembur.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /attendance | attendance:read | ListAttendanceQuery | — | {data: AttendanceListRow[]} |
| POST | /attendance/check-in | attendance:create | — | CheckInReq | AttendanceRow |
| POST | /attendance/check-out | attendance:create, attendance:update | — | CheckOutReq | AttendanceRow |
| POST | /attendance/gateway | token saja | — | GatewayReq | {employee_id, action, method} |
| GET | /attendance/overtime | attendance:read | ListOvertimeQuery | — | {data: OvertimeRow[]} |
| POST | /attendance/overtime | attendance:create | — | SubmitOvertimeReq | OvertimeRow |
| GET | /attendance/report | attendance:read | ReportQuery | — | {from, to, summary, by_day, per_employee, locations} |
| GET | /attendance/settings | attendance:read | — | — | {methods, geofence_mode, office_lat, office_lng, radius_m, require_photo} |
| GET | /attendance/shifts | attendance:read | — | — | {data: ShiftRow[]} |
Pengajuan 22 endpoint
Cuti, lembur, reimbursement, kasbon.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /hr/loans | payroll:read | LoanQuery | — | {data: LoanRow[]} |
| POST | /hr/loans | payroll:create | — | CreateLoanReq | LoanRow |
| PATCH | /hr/loans/{id}Only cancellation / reactivation is allowed — amounts are immutable once instalments may already have been deducted. | payroll:update | — | UpdateLoanReq | LoanRow |
| GET | /hr/loans/{id}/repayments | payroll:read | — | — | {data: RepaymentRow[]} |
| GET | /leave-balances | leave:read | BalanceQuery | — | {data: LeaveBalanceRow[]} |
| POST | /leave-balances | leave:create | — | SetBalanceReq | LeaveBalanceRow |
| GET | /leave-requests | leave:read | ListLeaveQuery | — | {data: LeaveRequestListRow[]} |
| POST | /leave-requests | leave:create | — | SubmitLeaveReq | LeaveRequestRow |
| GET | /leave-requests/{id} | leave:read | — | — | {request, employee, leave_type, balance, approval, flow_steps, timeline, history} |
| GET | /leave-types | leave:read | — | — | {data: LeaveTypeRow[]} |
| POST | /leave-types | leave:create | — | LeaveTypeReq | LeaveTypeRow |
| DELETE | /leave-types/{id} | leave:delete | — | — | {deleted} |
| GET | /leave-types/{id} | leave:read | — | — | {leave_type, stats, by_status, monthly, balance_summary, top_employees, recent} |
| PUT | /leave-types/{id} | leave:update | — | LeaveTypeReq | LeaveTypeRow |
| GET | /reimbursement-types | reimbursement:read | — | — | {data: ReimbursementTypeRow[]} |
| POST | /reimbursement-types | reimbursement:create | — | CreateTypeReq | ReimbursementTypeRow |
| DELETE | /reimbursement-types/{id} | reimbursement:delete | — | — | {deleted} |
| GET | /reimbursement-types/{id} | reimbursement:read | — | — | {type, stats, by_status, monthly, top_employees, recent} |
| PUT | /reimbursement-types/{id} | reimbursement:update | — | CreateTypeReq | ReimbursementTypeRow |
| GET | /reimbursements | reimbursement:read | ListQuery | — | {data: ReimbursementRow[]} |
| POST | /reimbursements | reimbursement:create | — | SubmitReq | ReimbursementRow |
| GET | /reimbursements/{id} | reimbursement:read | — | — | ReimbursementRow |
Persetujuan 4 endpoint
Bagi karyawan yang juga menjadi atasan.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /approvals/inbox | token saja | — | — | {data: InboxRow[]} |
| GET | /approvals/pending-countJumlah approval yang menunggu keputusan aktor — untuk lencana di sidebar. | token saja | — | — | {count} |
| GET | /approvals/{id} | token saja | — | — | ApprovalRequest |
| POST | /approvals/{id}/act | token saja | — | ActReq | ApprovalRequest |
Tugas dan proyek 21 endpoint
Pekerjaan harian, daftar periksa, komentar, timesheet.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /projects | project:read | ListProjectsQuery | — | {data: ProjectRow[]} |
| GET | /projects/{project_id} | project:read | — | — | {data: TaskStatusRow[]} |
| GET | /projects/{project_id}/columns | project:read | — | — | {data: TaskStatusRow[]} |
| GET | /projects/{project_id}/members | project:read | — | — | {data} |
| GET | /projects/{project_id}/tasks | task:read | ListTasksQuery | — | {data: TaskRow[]} |
| GET | /projects/{project_id}/tasks/{task_id} | task:read | — | — | TaskRow |
| PUT | /projects/{project_id}/tasks/{task_id} | task:update | — | UpdateTaskReq | TaskRow |
| PATCH | /projects/{project_id}/tasks/{task_id}/move | task:update | — | MoveTaskReq | TaskRow |
| GET | /sprints | sprints:read | ListSprintsQuery | — | {data: SprintRow[]} |
| GET | /sprints/{id} | sprints:read | — | — | SprintRow |
| GET | /sprints/{id}/board | sprints:read | — | — | {data: BoardTaskRow[]} |
| GET | /sprints/{id}/burndown | sprints:read | — | — | {start_date, end_date, total_tasks, done_tasks, remaining_tasks, ideal, days} |
| GET | /tasks/{task_id}/checklist | task:read | — | — | {data: ChecklistItemRow[]} |
| PATCH | /tasks/{task_id}/checklist/{item_id}/toggle | task:update | — | — | ChecklistItemRow |
| GET | /tasks/{task_id}/comments | task:read | — | — | {data: TaskCommentRow[]} |
| DELETE | /tasks/{task_id}/watch | task:read | — | — | {watching} |
| POST | /tasks/{task_id}/watch | task:read | — | — | {watching} |
| GET | /tasks/{task_id}/watchers | task:read | — | — | {data, watching} |
| GET | /timesheets | timesheet:read | ListQuery | — | {data: TimesheetRow[]} |
| POST | /timesheets | timesheet:create | — | CreateReq | TimesheetRow |
| GET | /timesheets/weekly | timesheet:read | WeeklyQuery | — | {employee_id, week_start, week_end, days, grand_total_minutes} |
Info dan komunikasi 17 endpoint
Pengumuman, diskusi, jajak pendapat, survei, pengetahuan.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /announcements | comms:read | AnnouncementListQuery | — | {data: AnnouncementRow[]} |
| GET | /announcements/{id} | comms:read | — | — | AnnouncementRow |
| GET | /knowledge/articles | knowledge:read | ArticleListQuery | — | {data: ArticleRow[]} |
| GET | /knowledge/articles/by-tag | knowledge:read | TagQuery | — | {data: ArticleRow[]} |
| GET | /knowledge/articles/{id} | knowledge:read | — | — | ArticleRow |
| GET | /knowledge/articles/{id}/versions | knowledge:read | — | — | {data: VersionRow[]} |
| GET | /knowledge/search | knowledge:read | SearchQuery | — | {data: ArticleRow[]} |
| GET | /knowledge/spaces | knowledge:read | — | — | {data: SpaceRow[]} |
| GET | /knowledge/spaces/{id} | knowledge:read | — | — | SpaceRow |
| GET | /polls | comms:read | PageQuery | — | {data: PollRow[]} |
| GET | /polls/{id} | comms:read | — | — | {data: PollOptionRow[]} |
| GET | /surveys | comms:read | PageQuery | — | {data: SurveyRow[]} |
| GET | /surveys/{id} | comms:read | — | — | {data: SurveyQuestionRow[]} |
| GET | /surveys/{id}/responses | comms:read | PageQuery | — | {data: SurveyResponseRow[]} |
| GET | /threads | comms:read | PageQuery | — | {data: ThreadRow[]} |
| GET | /threads/{id} | comms:read | — | — | {data: ThreadMessageRow[]} |
| GET | /threads/{id}/messages | comms:read | PageQuery | — | {data: ThreadMessageRow[]} |
Email 13 endpoint
Kotak surat perusahaan. Setiap peran memilikinya.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /mail/account | mailbox:read | — | — | {module_enabled, configured, email, status, last_error, last_verified_at, has_password} |
| POST | /mail/account/connect | mailbox:update | — | ConnectReq | {ok, status} |
| POST | /mail/account/verify | mailbox:read | — | — | {ok} |
| PUT | /mail/admin/accounts/{membership_id} | member:update | — | MapAccountReq | {id, status} |
| GET | /mail/admin/cpanel-accounts | member:update | — | — | {data} |
| GET | /mail/contactsGET /mail/contacts — saran penerima dari dua sumber sekaligus. Sumber pertama adalah seluruh karyawan aktif yang punya alamat email, yaitu buku alamat | mailbox:read | ContactQuery | — | {data} |
| GET | /mail/folders | mailbox:read | — | — | {data} |
| GET | /mail/messages | mailbox:read | MessagesQuery | — | {data, page, per_page, total} |
| DELETE | /mail/messages/{uid} | mailbox:delete | FolderQuery | — | {ok} |
| GET | /mail/messages/{uid} | mailbox:read | FolderQuery | — | {uid, subject, from, to, cc, reply_to, date, flags, size, snippet, has_attachments, body_text, body_html, attachments} |
| PATCH | /mail/messages/{uid} | mailbox:update | FolderQuery | MessageActionReq | {ok} |
| GET | /mail/messages/{uid}/attachments/{index} | mailbox:read | FolderQuery | — | berkas |
| POST | /mail/send | mailbox:read | — | — | {sent, duplicate, copy_pending, message_id} |
Berkas 4 endpoint
Unggah dan unduh lampiran.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /files | file:read | ListQuery | — | {data: FileRow[]} |
| POST | /files | file:create | — | — | {id, name, mime, size_bytes, url} |
| DELETE | /files/{id} | file:delete | — | — | berkas |
| GET | /files/{id}/download | file:read | — | — | berkas |
Lapangan 62 endpoint
Hanya untuk peran yang memilikinya: pengemudi, gudang, produksi, QC.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /briefingsGET /briefings — filters for_date?, trip_id?; paginated. | briefing:read | ListBriefingsQuery | — | {data: BriefingRow[]} |
| POST | /briefingsPOST /briefings — `{trip_id?, title, body?, for_date?}`. supervisor from actor. | briefing:create | — | CreateBriefingReq | BriefingRow |
| GET | /briefings/{id}GET /briefings/{id} — briefing + ack list. Returns `{ briefing, acks: [...] }`. | briefing:read | — | — | {data: BriefingAckRow[]} |
| POST | /briefings/{id}/ackPOST /briefings/{id}/ack — `{lat?, lng?}`. employee from actor; upsert on the UNIQUE(tenant, briefing, employee) constraint (re-ack refreshes lat/lng/ | briefing:read | — | AckBriefingReq | BriefingAckRow |
| GET | /distribution/delayedGET /distribution/delayed (require delivery_order:read). All overdue DOs: due_at < NOW() and status not terminal (completed/delivered/ cancelled). `da | delivery_order:read | — | — | {data: DelayedRow[]} |
| GET | /distribution/do/{id}/print | delivery_order:read, sales_order:read | — | — | berkas |
| POST | /distribution/do/{id}/sync-accuratePOST /distribution/do/{id}/sync-accurate — push a delivery order to Accurate. Requires `sales_order:update`. When the connector is not configured/conn | sales_order:update | — | — | {status, message, already, accurate_ref, do_number, faktur_mode, reason, payload} |
| GET | /distribution/monitorGET /distribution/monitor (require trip:read). Real-time gudang ("warehouse") wallboard aggregate: - `today`: DO delivery counts (delivered/in_transit | trip:read | — | — | {data: MonitorLeaderRow[]} |
| GET | /distribution/reports/driversGET /distribution/reports/drivers?from&to (require point:read). Per-employee distribution scorecard over the window. The employee set is the union of: | point:read | RangeQuery | — | {data: DriverReportRow[]} |
| GET | /distribution/reports/summaryGET /distribution/reports/summary?from&to (require trip:read). Window-scoped DO + trip KPIs. DOs are scoped by `created_at` within the window; `do_del | trip:read | RangeQuery | — | {from, to, do_total, do_completed, do_delayed, do_in_progress, do_cancelled, on_time_rate, trips_completed, total_points, total_weight_kg} |
| POST | /distribution/suggest-tripsPOST /distribution/suggest-trips — propose trips for unassigned DOs. Read-only: commits NOTHING (the tx is only used to read; we drop it without commi | trip:create | — | SuggestTripsReq | {trips, unplaced, warnings, origin, params} |
| POST | /distribution/trips/from-suggestionPOST /distribution/trips/from-suggestion — commit one chosen suggestion. Creates a single manual/planned trip, then for each DO (status created/assign | trip:create | — | TripFromSuggestionReq | {trip_id, attached, total_kg, capacity_kg, over_capacity} |
| GET | /distribution/trips/{id}/manifest | trip:read | — | — | text/html |
| GET | /incidentsGET /incidents — filters status?, trip_id?; paginated. | incident:read | ListIncidentsQuery | — | {data: IncidentRow[]} |
| POST | /incidentsPOST /incidents — `{trip_id?, kind, severity?, description}`. reported_by from actor. | incident:create | — | CreateIncidentReq | IncidentRow |
| PUT | /incidents/{id}PUT /incidents/{id} — `{status?, resolution?, severity?}`. | incident:update | — | UpdateIncidentReq | IncidentRow |
| GET | /point-ledger | point:read | ListLedgerQuery | — | {data: PointLedgerRow[]} |
| POST | /point-ledgerManually record a point earn/deduct (supervisor incident handling, §7.2). | point:create | — | CreateLedgerReq | PointLedgerRow |
| POST | /point-ledger/convert-to-payrollConvert the period's net points to `payroll_components` (idempotent per period). For each employee with non-zero net points: - rupiah = round(net_poin | payroll:create | — | ConvertReq | {period, point_value_idr, converted, skipped, total_idr} |
| GET | /point-ledger/leaderboardDriver/helper point leaderboard aggregated over a period (§7.3). Sums signed `points` per employee; `from`/`to` bound the `at` timestamp (inclusive). | point:read | LeaderboardQuery | — | {data: LeaderboardRow[]} |
| GET | /point-ledger/payroll-previewPreview the points→rupiah conversion for a period without writing anything. | payroll:read | PreviewQuery | — | {data: PreviewRow[]} |
| GET | /point-targetsGET /point-targets — list point targets, optionally filtered by period. | point_target:read | ListTargetsQuery | — | {data: PointTargetRow[]} |
| GET | /production-runs | production_run:read | ListRunsQuery | — | {data: ProductionRunRow[]} |
| POST | /production-runs/startStart a production run (timer start): creates a run row with `started_at = now()`. | production_run:create | — | StartRunReq | ProductionRunRow |
| POST | /production-runs/{id}/stopStop a production run (timer stop): records output/scrap, consumes raw materials (`stock_movements(consume)`), and produces finished goods + a new lot | production_run:update | — | StopRunReq | ProductionRunRow |
| GET | /production-runs/{run_id}/consumption | production_run:read | — | — | {data: ProductionConsumptionRow[]} |
| GET | /qa/analytics | qa:read | — | — | {bugs_total, by_severity, by_status, open_vs_resolved, test_cases_total, uat_pass_rate} |
| GET | /qa/bugs | qa:read | ListBugsQuery | — | {data: BugRow[]} |
| GET | /qa/bugs/{id} | qa:read | — | — | BugRow |
| GET | /qa/test-cases | qa:read | ListTestCasesQuery | — | {data: TestCaseRow[]} |
| GET | /qa/test-cases/{id} | qa:read | — | — | TestCaseRow |
| GET | /qa/test-cases/{id}/uat | qa:read | — | — | {data: UatRunRow[]} |
| GET | /stock-opnames | stock_opname:read | — | — | {data: OpnameRow[]} |
| POST | /stock-opnames | stock_opname:create | — | CreateReq | {id, code} |
| GET | /stock-opnames/{id} | stock_opname:read | — | — | {data: OpnameLineRow[]} |
| POST | /stock-opnames/{id}/post | stock_opname:update | — | — | {ok, adjusted_items} |
| POST | /trip-stops/{id}/arriveMark a stop arrived: status='arrived', arrived_at=now() (idempotent on already-arrived). | trip:update | — | — | TripStopRow |
| POST | /trip-stops/{id}/deliverDeliver a stop: set status='delivered' + arrived_at, optionally record proof, and sync any Delivery Orders linked to this stop to 'delivered' (full de | trip:update | — | DeliverTripStopReq | {stop, do_lines_delivered} |
| GET | /trip-stops/{id}/proofGET /trip-stops/{id}/proof — stream the stored delivery proof photo (authed, `trip:read`). Content-type inferred from the file extension; served inlin | trip:read | — | — | image/* |
| POST | /trip-stops/{id}/proofPOST /trip-stops/{id}/proof — upload a delivery proof photo (multipart field `file`), store it the same way as handlers::files, set trip_stops.proof_p | trip:update | — | — | {proof_photo_url} |
| GET | /trips | trip:read | ListTripsQuery | — | {data: TripListRow[]} |
| POST | /trips | trip:create | — | CreateTripReq | TripRow |
| DELETE | /trips/{id} | trip:delete | — | — | {deleted} |
| GET | /trips/{id} | trip:read | — | — | TripRow |
| PUT | /trips/{id} | trip:update | — | UpdateTripReq | TripRow |
| POST | /trips/{id}/completePOST /trips/{id}/complete — finalize a trip and award driver/helper points. Locks the trip, guards against re-completion, sets status='completed' + `e | trip:update | — | — | {status, points_earned, driver_points, helper_points} |
| POST | /trips/{id}/startPOST /trips/{id}/start — move a planned/loading trip to 'en_route'. Sets `started_at` (idempotent COALESCE) and promotes the trip's Delivery Orders fr | trip:update | — | — | TripRow |
| GET | /trips/{trip_id}/checkpointsGET /trips/{trip_id}/checkpoints | checkpoint:read | — | — | {data: CheckpointRow[]} |
| POST | /trips/{trip_id}/checkpointsPOST /trips/{trip_id}/checkpoints — multipart `{file(photo), lat, lng, kind, note}`. Stores the photo, inserts a trip_checkpoints row (by_employee_id | checkpoint:create | — | — | CheckpointRow |
| GET | /trips/{trip_id}/delivery-ordersGET /trips/{trip_id}/delivery-orders — list DOs attached to a trip. | trip:read | — | — | {data: DeliveryOrderRow[]} |
| POST | /trips/{trip_id}/delivery-ordersPOST /trips/{trip_id}/delivery-orders — attach DOs to a trip. For each DO (must be tenant-scoped and currently created/assigned): set its trip_id, fli | trip:update | — | AttachDeliveryOrdersReq | {attached, total_kg, capacity_kg, over_capacity} |
| GET | /trips/{trip_id}/gps-pingsList GPS pings for a trip (most recent first). | trip:read | — | — | {data: GpsPingRow[]} |
| GET | /trips/{trip_id}/handoversGET /trips/{trip_id}/handovers | handover:read | — | — | {data: HandoverRow[]} |
| POST | /trips/{trip_id}/handoversPOST /trips/{trip_id}/handovers — multipart `{file?(photo/signature), phase, do_id?, counterparty_name?, tie_down_ok?, note?}`. Optional photo stored | handover:create | — | — | HandoverRow |
| GET | /trips/{trip_id}/stops | trip:read | — | — | {data: TripStopRow[]} |
| POST | /trips/{trip_id}/stops | trip:update | — | CreateTripStopReq | TripStopRow |
| GET | /vehicles | vehicle:read | ListVehiclesQuery | — | {data: VehicleRow[]} |
| POST | /vehicles | vehicle:create | — | CreateVehicleReq | VehicleRow |
| DELETE | /vehicles/{id} | vehicle:delete | — | — | {deleted} |
| GET | /vehicles/{id} | vehicle:read | — | — | VehicleRow |
| PUT | /vehicles/{id} | vehicle:update | — | UpdateVehicleReq | VehicleRow |
| POST | /vehicles/{vehicle_id}/maintenancePOST /vehicles/{vehicle_id}/maintenance — JSON `{kind, odometer_km?, description?, cost_idr?}`. reported_by from actor. | vehicle_maintenance:create | — | CreateMaintenanceReq | MaintenanceRow |
Direktori 27 endpoint
Data karyawan, departemen, tim, jabatan, cabang.
| Jalur | Izin | Kueri | Badan | Balasan | |
|---|---|---|---|---|---|
| GET | /branches | branch:read | ListQuery | — | {data: BranchRow[]} |
| POST | /branches | branch:create | — | BranchCreateReq | BranchRow |
| DELETE | /branches/{id} | branch:delete | — | — | {deleted} |
| GET | /branches/{id}GET /branches/{id} | branch:read | — | — | {id, name, kind, address, timezone, created_at, summary, by_group, employees} |
| PUT | /branches/{id} | branch:update | — | BranchUpdateReq | BranchRow |
| GET | /departments | department:read | ListQuery | — | {data: DepartmentListRow[]} |
| POST | /departments | department:create | — | DepartmentCreateReq | DepartmentRow |
| DELETE | /departments/{id} | department:delete | — | — | {deleted} |
| GET | /departments/{id}GET /departments/{id} | department:read | — | — | {id, name, kind, parent, created_at, extra, summary, by_group, employees} |
| PUT | /departments/{id} | department:update | — | DepartmentUpdateReq | DepartmentRow |
| GET | /employees | employee:read | ListQuery | — | {data: EmployeeRow[]} |
| POST | /employees | employee:create | — | CreateReq | EmployeeRow |
| GET | /employees/{employee_id}GET /employees/{id} — detail lengkap satu karyawan + relasi org, akun, dan ringkasan cuti / kehadiran / timesheet (untuk panel detail kaya di FE). | employee:read, payroll:read | — | — | {id, code, name, email, phone, gender, employment_status, hire_date, is_active, tax_status, has_npwp, npwp, photo, created_at, updated_at, department, team, position, branch, manager, account, nik, birth_date, birth_place, address, marital_status, religion, education, blood_type, emergency_name, emergency_phone, emergency_relation, bank_name, bank_account_no, bank_account_name, bpjs_kes_no, bpjs_tk_no, contract_type, contract_number, contract_start, contract_end, termination_date, termination_reason, branch_id, department_id, team_id, position_id, manager_id, leave_balances, attendance_90d, timesheet_trend, salary, payroll_components, projects_owned, projects_member, tasks, kpis, goals, reviews, objectives, leave_requests, reimbursements, overtime, timesheet_recent, payslips, activity, counts} |
| POST | /employees/{employee_id}/payroll-components | payroll:create | — | CreateComponentReq | ComponentRow |
| DELETE | /employees/{employee_id}/payroll-components/{id} | payroll:delete | — | — | {deleted} |
| POST | /employees/{employee_id}/salary-structures | payroll:create | — | SetSalaryReq | SalaryStructureRow |
| GET | /employees/{id}/app-pinGET /employees/{id}/app-pin : keadaan PIN, tanpa pernah menampilkan nilainya. | employee:read | — | — | {punya_pin, sisa_percobaan, terkunci_sampai, harus_ganti, diperbarui} |
| GET | /positions | position:read | ListQuery | — | {data: PositionRow[]} |
| POST | /positions | position:create | — | PositionCreateReq | PositionRow |
| DELETE | /positions/{id} | position:delete | — | — | {deleted} |
| GET | /positions/{id}GET /positions/{id} | position:read | — | — | {id, name, kind, created_at, extra, summary, by_group, employees} |
| PUT | /positions/{id} | position:update | — | PositionUpdateReq | PositionRow |
| GET | /teams | team:read | ListQuery | — | {data: TeamRow[]} |
| POST | /teams | team:create | — | TeamCreateReq | TeamRow |
| DELETE | /teams/{id} | team:delete | — | — | {deleted} |
| GET | /teams/{id}GET /teams/{id} | team:read | — | — | {id, name, kind, department, created_at, summary, by_group, employees} |
| PUT | /teams/{id} | team:update | — | TeamUpdateReq | TeamRow |
Hanya atasan atau admin 65 endpoint
Endpoint di bawah ini berada di wilayah yang sama, tetapi menuntut izin yang tidak dipegang peran karyawan mana pun, atau menuntut cakupan seisi perusahaan. Didaftarkan agar tidak ada yang hilang diam-diam, bukan untuk dipakai aplikasi karyawan.
| Jalur | Izin | |
|---|---|---|
| POST | /announcements | comms:create |
| DELETE | /announcements/{id} | comms:delete |
| PUT | /announcements/{id} | comms:update |
| GET | /attendance/credentials | module:update |
| POST | /attendance/credentials | module:update |
| DELETE | /attendance/credentials/{id} | module:update |
| PUT | /attendance/settings | module:update |
| POST | /attendance/shifts | attendance:create (wajib cakupan all) |
| DELETE | /attendance/shifts/{id} | attendance:delete (wajib cakupan all) |
| PUT | /attendance/shifts/{id} | attendance:update (wajib cakupan all) |
| GET | /employees/{employee_id}/payroll-components | payroll:read (wajib cakupan all) |
| GET | /employees/{employee_id}/salary-structures | payroll:read (wajib cakupan all) |
| POST | /knowledge/articles | knowledge:create |
| DELETE | /knowledge/articles/{id} | knowledge:delete |
| PUT | /knowledge/articles/{id} | knowledge:update |
| POST | /knowledge/articles/{id}/publish | knowledge:update |
| POST | /knowledge/articles/{id}/tags | knowledge:update |
| DELETE | /knowledge/articles/{id}/tags/{tag} | knowledge:update |
| POST | /knowledge/spaces | knowledge:create |
| DELETE | /knowledge/spaces/{id} | knowledge:delete |
| PUT | /knowledge/spaces/{id} | knowledge:update |
| GET | /mail/settings | module:update |
| PUT | /mail/settings | module:update |
| POST | /point-targets | point_target:create |
| POST | /point-targets/evaluate | point_target:create |
| DELETE | /point-targets/{id} | point_target:delete |
| POST | /polls | comms:create |
| POST | /polls/{id}/vote | comms:create |
| POST | /projects | project:create |
| DELETE | /projects/{project_id} | project:delete |
| PUT | /projects/{project_id} | project:update |
| POST | /projects/{project_id}/archive | project:update |
| POST | /projects/{project_id}/columns | project:create |
| DELETE | /projects/{project_id}/columns/{column_id} | project:delete |
| PATCH | /projects/{project_id}/columns/{column_id} | project:update |
| POST | /projects/{project_id}/members | project:update |
| DELETE | /projects/{project_id}/members/{employee_id} | project:update |
| POST | /projects/{project_id}/tasks | task:create |
| DELETE | /projects/{project_id}/tasks/{task_id} | task:delete |
| POST | /qa/bugs | qa:create |
| DELETE | /qa/bugs/{id} | qa:delete |
| PUT | /qa/bugs/{id} | qa:update |
| POST | /qa/test-cases | qa:create |
| DELETE | /qa/test-cases/{id} | qa:delete |
| PUT | /qa/test-cases/{id} | qa:update |
| POST | /qa/test-cases/{id}/uat | qa:create |
| POST | /sprints | sprints:create |
| DELETE | /sprints/{id} | sprints:delete |
| PUT | /sprints/{id} | sprints:update |
| POST | /sprints/{id}/tasks | sprints:update |
| DELETE | /sprints/{id}/tasks/{task_id} | sprints:update |
| POST | /surveys | comms:create |
| DELETE | /surveys/{id} | comms:delete |
| PUT | /surveys/{id} | comms:update |
| POST | /surveys/{id}/questions | comms:create |
| POST | /surveys/{id}/responses | comms:create |
| POST | /tasks/{task_id}/checklist | task:create |
| DELETE | /tasks/{task_id}/checklist/{item_id} | task:delete |
| POST | /tasks/{task_id}/comments | task:create |
| DELETE | /tasks/{task_id}/comments/{comment_id} | task:delete |
| PUT | /tenant/branding | branding:update |
| POST | /threads | comms:create |
| POST | /threads/{id}/messages | comms:create |
| DELETE | /timesheets/{id} | timesheet:delete |
| PUT | /timesheets/{id} | timesheet:update |
Skema data 161
Dibaca dari definisi struct di kode backend. Bidang bertanda "boleh kosong" berasal dari Option<T> dan dapat bernilai null.
AckBriefingReq
| Bidang | Jenis | |
|---|---|---|
lat | number | boleh kosong |
lng | number | boleh kosong |
ActReq
| Bidang | Jenis | |
|---|---|---|
approve | boolean | wajib |
comment | string | boleh kosong |
AnnouncementListQuery
| Bidang | Jenis | |
|---|---|---|
is_active | boolean | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
AnnouncementRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
title | string | wajib |
content | string | wajib |
target_type | string | wajib |
is_active | boolean | wajib |
author_membership_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
ApprovalRequest
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
resource_type | string | wajib |
resource_id | string (uuid) | wajib |
requester_membership_id | string (uuid) | wajib |
amount | integer | boleh kosong |
status | string | wajib |
current_step | integer | wajib |
ArticleListQuery
| Bidang | Jenis | |
|---|---|---|
space_id | string (uuid) | boleh kosong |
kind | string | boleh kosong |
status | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ArticleRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
space_id | string (uuid) | boleh kosong |
title | string | wajib |
body | string | wajib |
kind | string | wajib |
status | string | wajib |
visibility | string | wajib |
author_membership_id | string (uuid) | boleh kosong |
version | integer | wajib |
created_at | string (date-time) | wajib |
updated_at | string (date-time) | wajib |
AttachDeliveryOrdersReq
| Bidang | Jenis | |
|---|---|---|
do_ids | string (uuid)[] | wajib |
AttendanceListRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
employee_name | string | boleh kosong |
work_date | string (date) | wajib |
check_in | string (date-time) | boleh kosong |
check_out | string (date-time) | boleh kosong |
status | string | boleh kosong |
latitude | number | boleh kosong |
longitude | number | boleh kosong |
note | string | boleh kosong |
shift_id | string (uuid) | boleh kosong |
method | string | boleh kosong |
photo_file_id | string (uuid) | boleh kosong |
out_of_geofence | boolean | wajib |
AttendanceRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
work_date | string (date) | wajib |
check_in | string (date-time) | boleh kosong |
check_out | string (date-time) | boleh kosong |
status | string | boleh kosong |
latitude | number | boleh kosong |
longitude | number | boleh kosong |
note | string | boleh kosong |
shift_id | string (uuid) | boleh kosong |
method | string | boleh kosong |
photo_file_id | string (uuid) | boleh kosong |
out_of_geofence | boolean | wajib |
BalanceQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
leave_type_id | string (uuid) | boleh kosong |
year | integer | boleh kosong |
BoardTaskRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
title | string | wajib |
status_id | string (uuid) | boleh kosong |
column_name | string | boleh kosong |
priority | string | wajib |
assignee_employee_id | string (uuid) | boleh kosong |
BranchCreateReq
| Bidang | Jenis | |
|---|---|---|
name | string | wajib |
address | string | boleh kosong |
timezone | string | boleh kosong |
BranchRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
address | string | boleh kosong |
timezone | string | wajib |
created_at | string (date-time) | wajib |
BranchUpdateReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
address | string | boleh kosong |
timezone | string | boleh kosong |
BriefingAckRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
briefing_id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
lat | number | boleh kosong |
lng | number | boleh kosong |
at | string (date-time) | wajib |
BriefingRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | boleh kosong |
supervisor_employee_id | string (uuid) | boleh kosong |
title | string | wajib |
body | string | boleh kosong |
attachment_url | string | boleh kosong |
for_date | string (date) | boleh kosong |
created_at | string (date-time) | wajib |
BugRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
project_id | string (uuid) | boleh kosong |
title | string | wajib |
description | string | boleh kosong |
severity | string | wajib |
status | string | wajib |
reporter_membership_id | string (uuid) | boleh kosong |
assignee_employee_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
resolved_at | string (date-time) | boleh kosong |
CheckInReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
shift_id | string (uuid) | boleh kosong |
latitude | number | boleh kosong |
longitude | number | boleh kosong |
note | string | boleh kosong |
method | string | boleh kosong |
photo_file_id | string (uuid) | boleh kosong |
CheckOutReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
latitude | number | boleh kosong |
longitude | number | boleh kosong |
note | string | boleh kosong |
ChecklistItemRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
task_id | string (uuid) | wajib |
label | string | wajib |
is_done | boolean | wajib |
position | integer | wajib |
CheckpointRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | wajib |
trip_stop_id | string (uuid) | boleh kosong |
kind | string | wajib |
photo_url | string | boleh kosong |
lat | number | boleh kosong |
lng | number | boleh kosong |
note | string | boleh kosong |
by_employee_id | string (uuid) | boleh kosong |
at | string (date-time) | wajib |
CodeReq
| Bidang | Jenis | |
|---|---|---|
code | string | wajib |
ComponentRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
name | string | wajib |
kind | string | wajib |
amount | integer | wajib |
created_at | string (date-time) | wajib |
ConnectReq
| Bidang | Jenis | |
|---|---|---|
client_id | string | wajib |
client_secret | string | wajib |
db_id | string | wajib |
faktur_mode | boolean | wajib |
ConsumptionReq
| Bidang | Jenis | |
|---|---|---|
raw_item_id | string (uuid) | wajib |
lot_id | string (uuid) | boleh kosong |
qty | integer | wajib |
location_id | string (uuid) | boleh kosong |
ContactQuery
| Bidang | Jenis | |
|---|---|---|
q | string | boleh kosong |
limit | integer | boleh kosong |
ConvertReq
| Bidang | Jenis | |
|---|---|---|
period | string | wajib |
CreateBriefingReq
| Bidang | Jenis | |
|---|---|---|
trip_id | string (uuid) | boleh kosong |
title | string | boleh kosong |
body | string | boleh kosong |
for_date | string (date) | boleh kosong |
CreateComponentReq
| Bidang | Jenis | |
|---|---|---|
name | string | wajib |
kind | string | wajib |
amount | integer | wajib |
CreateIncidentReq
| Bidang | Jenis | |
|---|---|---|
trip_id | string (uuid) | boleh kosong |
kind | string | boleh kosong |
severity | string | boleh kosong |
description | string | boleh kosong |
CreateLedgerReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
trip_id | string (uuid) | boleh kosong |
stop_id | string (uuid) | boleh kosong |
kind | string | boleh kosong |
points | number | boleh kosong |
reason | string | boleh kosong |
CreateLoanReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
principal | integer | wajib |
installments | integer | wajib |
start_period | string | wajib |
reason | string | boleh kosong |
CreateMaintenanceReq
| Bidang | Jenis | |
|---|---|---|
kind | string | boleh kosong |
trip_id | string (uuid) | boleh kosong |
odometer_km | number | boleh kosong |
description | string | boleh kosong |
cost_idr | integer | boleh kosong |
CreateReq
| Bidang | Jenis | |
|---|---|---|
location_id | string (uuid) | wajib |
note | string | boleh kosong |
CreateTripReq
| Bidang | Jenis | |
|---|---|---|
vehicle_id | string (uuid) | boleh kosong |
driver_employee_id | string (uuid) | boleh kosong |
helper_employee_id | string (uuid) | boleh kosong |
supervisor_employee_id | string (uuid) | boleh kosong |
origin_location_id | string (uuid) | boleh kosong |
source | string | boleh kosong |
CreateTripStopReq
| Bidang | Jenis | |
|---|---|---|
seq | integer | boleh kosong |
so_id | string (uuid) | boleh kosong |
customer_id | string (uuid) | boleh kosong |
address | string | boleh kosong |
lat | number | boleh kosong |
lng | number | boleh kosong |
distance_km | number | boleh kosong |
note | string | boleh kosong |
CreateTypeReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
CreateVehicleReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
plate | string | boleh kosong |
year | integer | boleh kosong |
capacity_kg | number | boleh kosong |
capacity_vol | number | boleh kosong |
status | string | boleh kosong |
is_active | boolean | boleh kosong |
DelayedRow
| Bidang | Jenis | |
|---|---|---|
do_id | string (uuid) | wajib |
do_number | string | wajib |
customer_name | string | boleh kosong |
due_at | string (date-time) | boleh kosong |
days_late | integer | wajib |
status | string | wajib |
trip_id | string (uuid) | boleh kosong |
driver_name | string | boleh kosong |
DeliverTripStopReq
| Bidang | Jenis | |
|---|---|---|
proof_photo_url | string | boleh kosong |
note | string | boleh kosong |
distance_km | number | boleh kosong |
DeliveryOrderRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
do_number | string | wajib |
so_id | string (uuid) | boleh kosong |
showroom_location_id | string (uuid) | boleh kosong |
gudang_location_id | string (uuid) | boleh kosong |
customer_id | string (uuid) | boleh kosong |
ship_address | string | boleh kosong |
ship_lat | number | boleh kosong |
ship_lng | number | boleh kosong |
status | string | wajib |
trip_id | string (uuid) | boleh kosong |
total_weight_kg | number | boleh kosong |
total_points | number | boleh kosong |
priority | integer | wajib |
due_at | string (date-time) | boleh kosong |
note | string | boleh kosong |
printed_at | string (date-time) | boleh kosong |
created_by_employee_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
DepartmentCreateReq
| Bidang | Jenis | |
|---|---|---|
name | string | wajib |
parent_id | string (uuid) | boleh kosong |
DepartmentListRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
parent_id | string (uuid) | boleh kosong |
parent_name | string | boleh kosong |
created_at | string (date-time) | wajib |
DepartmentRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
parent_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
DepartmentUpdateReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
parent_id | string (uuid) | boleh kosong |
DriverReportRow
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
name | string | boleh kosong |
trips | integer | wajib |
deliveries | integer | wajib |
points | number | wajib |
incidents | integer | wajib |
on_time_rate | number | boleh kosong |
EmployeeRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
code | string | wajib |
name | string | wajib |
email | string | boleh kosong |
phone | string | boleh kosong |
employment_status | string | wajib |
hire_date | string (date) | boleh kosong |
is_active | boolean | wajib |
FileRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
mime | string | wajib |
size_bytes | integer | wajib |
storage_path | string | wajib |
entity | string | boleh kosong |
entity_id | string (uuid) | boleh kosong |
uploaded_by_membership_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
FolderQuery
| Bidang | Jenis | |
|---|---|---|
folder | string | wajib |
GantiReq
| Bidang | Jenis | |
|---|---|---|
pin_lama | string | boleh kosong |
pin_baru | string | wajib |
GatewayReq
| Bidang | Jenis | |
|---|---|---|
credential_kind | string | boleh kosong |
credential | string | boleh kosong |
employee_code | string | boleh kosong |
method | string | boleh kosong |
GpsPingRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | boleh kosong |
vehicle_id | string (uuid) | boleh kosong |
lat | number | wajib |
lng | number | wajib |
speed | number | boleh kosong |
recorded_at | string (date-time) | wajib |
source | string | wajib |
HandoverRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | wajib |
trip_stop_id | string (uuid) | boleh kosong |
do_id | string (uuid) | boleh kosong |
phase | string | wajib |
by_employee_id | string (uuid) | boleh kosong |
counterparty_name | string | boleh kosong |
signature_url | string | boleh kosong |
photo_url | string | boleh kosong |
tie_down_ok | boolean | boleh kosong |
note | string | boleh kosong |
at | string (date-time) | wajib |
InboxRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
resource_type | string | wajib |
resource_id | string (uuid) | wajib |
requester_membership_id | string (uuid) | wajib |
amount | integer | boleh kosong |
status | string | wajib |
current_step | integer | wajib |
created_at | string (date-time) | wajib |
requester_name | string | boleh kosong |
requester_code | string | boleh kosong |
title | string | boleh kosong |
note | string | boleh kosong |
start_date | string (date) | boleh kosong |
end_date | string (date) | boleh kosong |
receipt_url | string | boleh kosong |
step_roles | string | boleh kosong |
IncidentRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | boleh kosong |
reported_by_employee_id | string (uuid) | boleh kosong |
kind | string | wajib |
severity | string | wajib |
status | string | wajib |
description | string | boleh kosong |
resolution | string | boleh kosong |
at | string (date-time) | wajib |
LeaderboardQuery
| Bidang | Jenis | |
|---|---|---|
from | string (date) | boleh kosong |
to | string (date) | boleh kosong |
limit | integer | boleh kosong |
LeaderboardRow
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
total_points | number | wajib |
earn_points | number | wajib |
deduct_points | number | wajib |
entries | integer | wajib |
LeaveBalanceRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
leave_type_id | string (uuid) | wajib |
year | integer | wajib |
entitled_days | integer | wajib |
used_days | integer | wajib |
LeaveRequestListRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
employee_name | string | boleh kosong |
leave_type_id | string (uuid) | wajib |
leave_type_name | string | boleh kosong |
start_date | string (date) | wajib |
end_date | string (date) | wajib |
days | integer | wajib |
reason | string | boleh kosong |
approval_request_id | string (uuid) | boleh kosong |
approval_status | string | boleh kosong |
LeaveRequestRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
leave_type_id | string (uuid) | wajib |
start_date | string (date) | wajib |
end_date | string (date) | wajib |
days | integer | wajib |
reason | string | boleh kosong |
approval_request_id | string (uuid) | boleh kosong |
approval_status | string | boleh kosong |
LeaveTypeReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
quota_days | integer | boleh kosong |
is_paid | boolean | boleh kosong |
LeaveTypeRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
quota_days | integer | wajib |
is_paid | boolean | wajib |
ListAttendanceQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
from | string (date) | boleh kosong |
to | string (date) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListBriefingsQuery
| Bidang | Jenis | |
|---|---|---|
for_date | string (date) | boleh kosong |
trip_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListBugsQuery
| Bidang | Jenis | |
|---|---|---|
project_id | string (uuid) | boleh kosong |
status | string | boleh kosong |
severity | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListIncidentsQuery
| Bidang | Jenis | |
|---|---|---|
status | string | boleh kosong |
trip_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListLeaveQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListLedgerQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
trip_id | string (uuid) | boleh kosong |
kind | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListOvertimeQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
from | string (date) | boleh kosong |
to | string (date) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListProjectsQuery
| Bidang | Jenis | |
|---|---|---|
page | integer | boleh kosong |
per_page | integer | boleh kosong |
status | string | boleh kosong |
ListQuery
| Bidang | Jenis | |
|---|---|---|
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListRunsQuery
| Bidang | Jenis | |
|---|---|---|
batch_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListSprintsQuery
| Bidang | Jenis | |
|---|---|---|
project_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListTargetsQuery
| Bidang | Jenis | |
|---|---|---|
period | string | boleh kosong |
ListTasksQuery
| Bidang | Jenis | |
|---|---|---|
status_id | string (uuid) | boleh kosong |
assignee_employee_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListTestCasesQuery
| Bidang | Jenis | |
|---|---|---|
project_id | string (uuid) | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListTripsQuery
| Bidang | Jenis | |
|---|---|---|
status | string | boleh kosong |
vehicle_id | string (uuid) | boleh kosong |
driver_employee_id | string (uuid) | boleh kosong |
scope | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
ListVehiclesQuery
| Bidang | Jenis | |
|---|---|---|
status | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
LoanQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
status | string | boleh kosong |
LoanRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
employee_name | string | boleh kosong |
principal | integer | wajib |
installments | integer | wajib |
installment_amount | integer | wajib |
remaining | integer | wajib |
start_period | string | wajib |
reason | string | boleh kosong |
status | string | wajib |
paid_count | integer | wajib |
LoginReq
| Bidang | Jenis | |
|---|---|---|
email | string | wajib |
password | string | wajib |
totp_code | string | boleh kosong |
MaintenanceRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
vehicle_id | string (uuid) | wajib |
trip_id | string (uuid) | boleh kosong |
reported_by_employee_id | string (uuid) | boleh kosong |
kind | string | wajib |
odometer_km | number | boleh kosong |
status | string | wajib |
description | string | boleh kosong |
photo_url | string | boleh kosong |
cost_idr | integer | boleh kosong |
at | string (date-time) | wajib |
MapAccountReq
| Bidang | Jenis | |
|---|---|---|
email_address | string | wajib |
password | string | boleh kosong |
MasukReq
| Bidang | Jenis | |
|---|---|---|
employee_code | string | wajib |
pin | string | wajib |
MessageActionReq
| Bidang | Jenis | |
|---|---|---|
seen | boolean | boleh kosong |
flagged | boolean | boleh kosong |
move_to | string | boleh kosong |
MessagesQuery
| Bidang | Jenis | |
|---|---|---|
folder | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
MonitorLeaderRow
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
name | string | boleh kosong |
points | number | wajib |
MoveTaskReq
| Bidang | Jenis | |
|---|---|---|
status_id | string (uuid) | boleh kosong |
position | integer | boleh kosong |
NotifRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
kind | string | wajib |
title | string | wajib |
body | string | boleh kosong |
link | string | boleh kosong |
is_read | boolean | wajib |
created_at | string (date-time) | wajib |
OpnameLineRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
item_id | string (uuid) | wajib |
item_name | string | boleh kosong |
sku | string | boleh kosong |
uom | string | boleh kosong |
system_qty | integer | wajib |
counted_qty | integer | wajib |
variance | integer | wajib |
note | string | boleh kosong |
OpnameRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
location_id | string (uuid) | wajib |
location_name | string | boleh kosong |
code | string | boleh kosong |
status | string | wajib |
note | string | boleh kosong |
line_count | integer | wajib |
posted_at | string (date-time) | boleh kosong |
created_at | string (date-time) | wajib |
OvertimeRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
work_date | string (date) | wajib |
minutes | integer | wajib |
reason | string | boleh kosong |
approval_request_id | string (uuid) | boleh kosong |
approval_status | string | boleh kosong |
PageQuery
| Bidang | Jenis | |
|---|---|---|
page | integer | boleh kosong |
per_page | integer | boleh kosong |
PasswordReq
| Bidang | Jenis | |
|---|---|---|
current_password | string | wajib |
new_password | string | wajib |
PointLedgerRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
trip_id | string (uuid) | boleh kosong |
stop_id | string (uuid) | boleh kosong |
kind | string | wajib |
points | number | wajib |
reason | string | boleh kosong |
rule_ref | string (uuid) | boleh kosong |
by_employee_id | string (uuid) | boleh kosong |
at | string (date-time) | wajib |
PointTargetRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | boleh kosong |
period_kind | string | wajib |
period | string | wajib |
target_points | number | wajib |
created_at | string (date-time) | wajib |
updated_at | string (date-time) | wajib |
PollOptionRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
poll_id | string (uuid) | wajib |
label | string | wajib |
votes | integer | wajib |
PollRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
question | string | wajib |
is_active | boolean | wajib |
created_at | string (date-time) | wajib |
PositionCreateReq
| Bidang | Jenis | |
|---|---|---|
name | string | wajib |
level | integer | boleh kosong |
PositionRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
level | integer | wajib |
created_at | string (date-time) | wajib |
PositionUpdateReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
level | integer | boleh kosong |
PreviewQuery
| Bidang | Jenis | |
|---|---|---|
period | string | wajib |
PreviewRow
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
name | string | wajib |
net_points | number | wajib |
earn_points | number | wajib |
deduct_points | number | wajib |
rate_idr | number | wajib |
amount_idr | integer | wajib |
ProductionConsumptionRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
run_id | string (uuid) | wajib |
raw_item_id | string (uuid) | wajib |
lot_id | string (uuid) | boleh kosong |
qty | integer | wajib |
ProductionRunRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
batch_id | string (uuid) | wajib |
work_center_id | string (uuid) | boleh kosong |
operator_employee_id | string (uuid) | boleh kosong |
started_at | string (date-time) | boleh kosong |
paused_total_secs | integer | wajib |
ended_at | string (date-time) | boleh kosong |
output_qty | integer | wajib |
scrap_qty | integer | wajib |
created_at | string (date-time) | wajib |
ProjectRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
description | string | boleh kosong |
status | string | wajib |
owner_employee_id | string (uuid) | boleh kosong |
start_date | string (date) | boleh kosong |
due_date | string (date) | boleh kosong |
created_at | string (date-time) | wajib |
PushSubReq
| Bidang | Jenis | |
|---|---|---|
endpoint | string | wajib |
p256dh | string | wajib |
auth | string | wajib |
PushUnsubReq
| Bidang | Jenis | |
|---|---|---|
endpoint | string | wajib |
RangeQuery
| Bidang | Jenis | |
|---|---|---|
from | string | boleh kosong |
to | string | boleh kosong |
RefreshReq
| Bidang | Jenis | |
|---|---|---|
refresh_token | string | wajib |
RegisterFcmReq
| Bidang | Jenis | |
|---|---|---|
token | string | boleh kosong |
platform | string | boleh kosong |
ReimbursementRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
type_id | string (uuid) | wajib |
amount | integer | wajib |
description | string | wajib |
receipt_url | string | boleh kosong |
approval_request_id | string (uuid) | boleh kosong |
approval_status | string | boleh kosong |
current_step | integer | boleh kosong |
created_at | string (date-time) | wajib |
ReimbursementTypeRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
created_at | string (date-time) | wajib |
RepaymentRow
| Bidang | Jenis | |
|---|---|---|
period | string | wajib |
amount | integer | wajib |
run_id | string (uuid) | wajib |
ReportQuery
| Bidang | Jenis | |
|---|---|---|
from | string (date) | boleh kosong |
to | string (date) | boleh kosong |
SalaryStructureRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
base_salary | integer | wajib |
effective_date | string (date) | wajib |
created_at | string (date-time) | wajib |
SearchQuery
| Bidang | Jenis | |
|---|---|---|
q | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
SetBalanceReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
leave_type_id | string (uuid) | wajib |
year | integer | wajib |
entitled_days | integer | wajib |
SetSalaryReq
| Bidang | Jenis | |
|---|---|---|
base_salary | integer | wajib |
effective_date | string (date) | wajib |
ShiftRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
start_time | string | wajib |
end_time | string | wajib |
grace_minutes | integer | wajib |
SlipQuery
| Bidang | Jenis | |
|---|---|---|
per_page | integer | boleh kosong |
SpaceRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
description | string | boleh kosong |
created_at | string (date-time) | wajib |
SprintRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
project_id | string (uuid) | wajib |
name | string | wajib |
goal | string | boleh kosong |
start_date | string (date) | boleh kosong |
end_date | string (date) | boleh kosong |
status | string | wajib |
created_at | string (date-time) | wajib |
StartRunReq
| Bidang | Jenis | |
|---|---|---|
batch_id | string (uuid) | boleh kosong |
work_center_id | string (uuid) | boleh kosong |
StopRunReq
| Bidang | Jenis | |
|---|---|---|
output_qty | integer | boleh kosong |
scrap_qty | integer | boleh kosong |
location_id | string (uuid) | boleh kosong |
output_lot_code | string | boleh kosong |
consumption | ConsumptionReq[] | boleh kosong |
SubmitLeaveReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
leave_type_id | string (uuid) | wajib |
start_date | string (date) | wajib |
end_date | string (date) | wajib |
reason | string | boleh kosong |
SubmitOvertimeReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
work_date | string (date) | wajib |
minutes | integer | wajib |
reason | string | boleh kosong |
SubmitReq
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | boleh kosong |
type_id | string (uuid) | boleh kosong |
amount | integer | boleh kosong |
description | string | boleh kosong |
receipt_url | string | boleh kosong |
SuggestTripsReq
| Bidang | Jenis | |
|---|---|---|
max_per_trip | integer | boleh kosong |
cluster_radius_km | number | boleh kosong |
origin_lat | number | boleh kosong |
origin_lng | number | boleh kosong |
vehicle_id | string (uuid) | boleh kosong |
SurveyQuestionRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
survey_id | string (uuid) | wajib |
text | string | wajib |
position | integer | wajib |
SurveyResponseRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
survey_id | string (uuid) | wajib |
question_id | string (uuid) | wajib |
respondent_membership_id | string (uuid) | boleh kosong |
answer | string | wajib |
created_at | string (date-time) | wajib |
SurveyRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
title | string | wajib |
is_active | boolean | wajib |
created_at | string (date-time) | wajib |
SwitchReq
| Bidang | Jenis | |
|---|---|---|
tenant_id | string (uuid) | wajib |
TagQuery
| Bidang | Jenis | |
|---|---|---|
tag | string | boleh kosong |
page | integer | boleh kosong |
per_page | integer | boleh kosong |
TaskCommentRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
task_id | string (uuid) | wajib |
author_membership_id | string (uuid) | boleh kosong |
body | string | wajib |
created_at | string (date-time) | wajib |
TaskRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
project_id | string (uuid) | wajib |
status_id | string (uuid) | boleh kosong |
title | string | wajib |
description | string | boleh kosong |
assignee_employee_id | string (uuid) | boleh kosong |
priority | string | wajib |
due_date | string (date) | boleh kosong |
position | integer | wajib |
created_at | string (date-time) | wajib |
updated_at | string (date-time) | wajib |
TaskStatusRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
project_id | string (uuid) | wajib |
name | string | wajib |
position | integer | wajib |
created_at | string (date-time) | wajib |
TeamCreateReq
| Bidang | Jenis | |
|---|---|---|
name | string | wajib |
department_id | string (uuid) | boleh kosong |
TeamRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | wajib |
department_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
TeamUpdateReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
department_id | string (uuid) | boleh kosong |
TestCaseRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
project_id | string (uuid) | boleh kosong |
title | string | wajib |
steps | string | boleh kosong |
expected | string | boleh kosong |
priority | string | wajib |
status | string | wajib |
created_at | string (date-time) | wajib |
ThreadMessageRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
thread_id | string (uuid) | wajib |
author_membership_id | string (uuid) | boleh kosong |
body | string | wajib |
created_at | string (date-time) | wajib |
ThreadRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
title | string | wajib |
created_by_membership_id | string (uuid) | boleh kosong |
created_at | string (date-time) | wajib |
TimesheetRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
employee_id | string (uuid) | wajib |
work_date | string (date) | wajib |
minutes | integer | wajib |
task_id | string (uuid) | boleh kosong |
project_id | string (uuid) | boleh kosong |
description | string | boleh kosong |
TokenPair
| Bidang | Jenis | |
|---|---|---|
access_token | string | wajib |
refresh_token | string | wajib |
token_type | string | wajib |
TripFromSuggestionReq
| Bidang | Jenis | |
|---|---|---|
vehicle_id | string (uuid) | wajib |
driver_employee_id | string (uuid) | boleh kosong |
helper_employee_id | string (uuid) | boleh kosong |
origin_location_id | string (uuid) | boleh kosong |
do_ids | string (uuid)[] | wajib |
TripListRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
vehicle_id | string (uuid) | boleh kosong |
driver_employee_id | string (uuid) | boleh kosong |
helper_employee_id | string (uuid) | boleh kosong |
supervisor_employee_id | string (uuid) | boleh kosong |
origin_location_id | string (uuid) | boleh kosong |
source | string | wajib |
status | string | wajib |
started_at | string (date-time) | boleh kosong |
ended_at | string (date-time) | boleh kosong |
created_at | string (date-time) | wajib |
stops_count | integer | wajib |
delivered_count | integer | wajib |
TripRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
vehicle_id | string (uuid) | boleh kosong |
driver_employee_id | string (uuid) | boleh kosong |
helper_employee_id | string (uuid) | boleh kosong |
supervisor_employee_id | string (uuid) | boleh kosong |
origin_location_id | string (uuid) | boleh kosong |
source | string | wajib |
status | string | wajib |
started_at | string (date-time) | boleh kosong |
ended_at | string (date-time) | boleh kosong |
created_at | string (date-time) | wajib |
TripStopRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
trip_id | string (uuid) | wajib |
seq | integer | wajib |
so_id | string (uuid) | boleh kosong |
customer_id | string (uuid) | boleh kosong |
address | string | boleh kosong |
lat | number | boleh kosong |
lng | number | boleh kosong |
status | string | wajib |
arrived_at | string (date-time) | boleh kosong |
proof_photo_url | string | boleh kosong |
note | string | boleh kosong |
distance_km | number | boleh kosong |
created_at | string (date-time) | wajib |
TugasQuery
| Bidang | Jenis | |
|---|---|---|
selesai | boolean | boleh kosong |
per_page | integer | boleh kosong |
UatRunRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
test_case_id | string (uuid) | wajib |
result | string | wajib |
notes | string | boleh kosong |
run_at | string (date-time) | wajib |
UnregisterFcmReq
| Bidang | Jenis | |
|---|---|---|
token | string | boleh kosong |
UpdateIncidentReq
| Bidang | Jenis | |
|---|---|---|
status | string | boleh kosong |
resolution | string | boleh kosong |
severity | string | boleh kosong |
UpdateLoanReq
| Bidang | Jenis | |
|---|---|---|
status | string | boleh kosong |
UpdateTaskReq
| Bidang | Jenis | |
|---|---|---|
title | string | boleh kosong |
description | string | boleh kosong |
assignee_employee_id | string (uuid) | boleh kosong |
priority | string | boleh kosong |
due_date | string (date) | boleh kosong |
UpdateTripReq
| Bidang | Jenis | |
|---|---|---|
vehicle_id | string (uuid) | boleh kosong |
driver_employee_id | string (uuid) | boleh kosong |
helper_employee_id | string (uuid) | boleh kosong |
supervisor_employee_id | string (uuid) | boleh kosong |
origin_location_id | string (uuid) | boleh kosong |
status | string | boleh kosong |
started_at | string (date-time) | boleh kosong |
ended_at | string (date-time) | boleh kosong |
UpdateVehicleReq
| Bidang | Jenis | |
|---|---|---|
name | string | boleh kosong |
plate | string | boleh kosong |
year | integer | boleh kosong |
capacity_kg | number | boleh kosong |
capacity_vol | number | boleh kosong |
status | string | boleh kosong |
is_active | boolean | boleh kosong |
VehicleRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
name | string | boleh kosong |
plate | string | wajib |
year | integer | boleh kosong |
capacity_kg | number | boleh kosong |
capacity_vol | number | boleh kosong |
status | string | wajib |
is_active | boolean | wajib |
created_at | string (date-time) | wajib |
VersionRow
| Bidang | Jenis | |
|---|---|---|
id | string (uuid) | wajib |
article_id | string (uuid) | wajib |
version | integer | wajib |
title | string | wajib |
body | string | wajib |
created_at | string (date-time) | wajib |
WeeklyQuery
| Bidang | Jenis | |
|---|---|---|
employee_id | string (uuid) | wajib |
week_start | string (date) | wajib |