Count sponsorship worksheet footer values
Counts blank, filled and unique values over all matching permission-scoped sponsorships. Uses the same saved view, allowed programs, scoped search, due/current status and sponsorship date rules as the worksheet. Index aggregates fall back to bounded250-row projections for live/unsupported filters; errors are not converted into a successful zero count. Program id all or0 selects combined scope. Unknown operations are ignored and count aliases normalize. Requires permission: one of manage_programs.
Authorizations
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Accessible program id or all programs. Footer/export also accept0 for the combined context.
42
Body
Validated request fields for this operation.
Counts the complete permission-scoped sponsorship view. Operations are lowercased. fields/column_order do not persist header preferences in the internal aggregation fallback; rows are processed in bounded batches when needed.
1Archived-view selector. Use string false for active and true for archived. Recipient views also support available, sponsored and unsponsored.
"false"
Multiple typed comparisons. Requires filter when present; value is required except supported presence/empty operators. Saved-view filters are sanitized to current allowed fields.
Worksheet search text; recipient search defaults to title/id fields when keysArray is absent.
"Jane"
Legacy comparison/search field keys.
Legacy single comparison operator.
"contains"
Saved view/report from this organization and worksheet module; missing/unmatched ids are ignored.
42
Compatibility alias for savedFilterId.
42
Selected column keys; defaults to saved/current form preferences.
Preferred allowed column ordering.
Lower date bound, interpreted with module/saved report date semantics.
"2026-01-01"
Upper date bound; donor created-at range applies when both bounds are supplied and no advanced date override exists.
"2026-10-20"
Allowed field keys to scope query word search; provide with query.
Optional live payment-due classification filter.
current, due "current"
Date-range timezone; defaults to the authenticated organization/admin timezone.
"Africa/Kampala"