List managers
GET
/api/v1/managers
prm_managers_index
One page of managers. A caller without tenant-wide visibility sees their own descendants only — never their parent, never a sibling branch.
debt, parent_username, users_count and the other joined fields are computed by the list projection only. Fetching one manager by id returns the same record without them, so a client that reads users_count off a detail response will always see zero.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_managers_indexView managers
المعاملات
| المعامل | الوصف |
|---|---|
filter[parent_id]
query · integer
|
Direct children of one manager. Also accepted as a bare parent_id query parameter. Narrows within the caller's subtree, never past it. |
q
query · string
|
Searches name, username and email. |