Productive icon

Productive

Interact with the Productive API

Actions508

Revenue Distributions → Get revenue distributions

AI-generated

Summary

Retrieve one or multiple revenue distributions from Productive, optionally filtered, paginated, and sorted.

Inputs

  • Return All — Whether to return all revenue distribution records or just a limited subset.
  • Limit — Maximum number of records to return when Return All is false.
  • Page Number — Page number to fetch when Return All is false; defaults to 1.
  • Page Size — Number of revenue distributions per page (1 to 200) when Return All is false; defaults to 30.
  • Filter Query String — Raw filter query string to override other filter settings; supports Productive API filter syntax.
  • Filters — Structured filters specifying one or more fields with operations and values; ignored if Filter Query String is given.
  • Sort By — Field to sort the revenue distributions by; defaults to no sorting.
  • Sort Order — Sort order direction: ascending (asc) or descending (desc); defaults to ascending.

Output shape

a list of revenue distribution objects matching the specified parameters

If Return All is true, all matching revenue distributions are returned; otherwise, pagination via Limit, Page Number, and Page Size is applied. Filters can be applied either via a raw filter query string or structured filter fields (not both). Sorting can be applied by selected fields in ascending or descending order.

Examples

Example 1: Fetch all revenue distributions without filters.

Set Return All to true.

Example 2: Fetch up to 50 revenue distributions filtered by creator ID equals '1234' sorted by amount descending.

Set Return All to false, Limit to 50, add a Filter for Creator ID with operation 'Equals' and value '1234', Sort By 'Amount', and Sort Order 'Descending'.

Discussion