List plans
GET
/api/v1/profiles
prm_profiles_index
One page of service plans, scoped to what the calling manager may actually see. A private plan is visible only to managers it was explicitly allow-listed for.
vat_percent is a STRING, not a number. It is a NUMERIC(5,2) in the database and is serialised as text so the exact value survives the round trip. Every other money field on the plan is a bare JSON number.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_profiles_indexView profiles
المعاملات
| المعامل | الوصف |
|---|---|
filter[type]
query · enum
|
prepaid, postpaid, fup, extension or addon. |
filter[status]
query · string
|
Plan status. |
filter[assignable]
query · boolean
|
Only plans this caller may bind to a subscriber. Narrower than visibility, and the right filter behind a plan picker. |
filter[allowed_services]
query · enum
|
ppp, hotspot or both. |
filter[show_in_ucp]
query · boolean
|
Plans the subscriber portal offers for self-service renewal. |
filter[private]
query · boolean
|
Plans restricted to an explicit manager allow-list. |
filter[has_fup_chain]
query · boolean
|
Plans that fall back to another plan on expiry or quota exhaustion. |
sort
query · string
|
id, created_at, name, type or status. Defaults to name ascending. |