Productive icon

Productive

Interact with the Productive API

Actions508

Survey Fields → Get survey fields

AI-generated

Summary

Retrieve survey fields from the Productive system, optionally filtering and paginating results.

Inputs

  • Filter Query String — Provide a literal filter query string to override other filters (e.g., filter[field_name]=value). If set, all other filter options are ignored.
  • Filters — Apply one or more filters by selecting a field, an operation (such as equals, contains, greater than), and a value to filter by. Ignored if Filter Query String is provided.
  • Return All — Choose whether to return all matching survey fields or limit the result set.
  • Limit — If not returning all, specify the maximum number of survey fields to return.
  • Page Number — When not returning all results, specify which page number of results to retrieve (default is 1).
  • Page Size — When paginating, define how many survey fields to return per page (default 30, maximum 200).

Output shape

A list of survey field records matching the filters, limited or paginated as specified.

If 'Return All' is true, all matching survey fields are returned; otherwise, results are paginated using 'Page Number' and 'Page Size' or limited by 'Limit'. Filters are ignored if a 'Filter Query String' is provided. Errors during execution will be reported.

Examples

Example 1: Fetch all survey fields for a specific survey ID

Set Filter Query String to filter[survey_id]=12345 and Return All to true.

Example 2: Retrieve the first 50 survey fields where the name contains 'feedback'

Set Filters with Filter Field 'Name', Operation 'Contains', Value 'feedback', Return All false, Limit 50.

Discussion