Productive icon

Productive

Interact with the Productive API

Actions508

Service Types → Get service types

AI-generated

Summary

Retrieve a list of service types from your Productive organization, optionally paginated and with configurable result limits.

Inputs

  • Return All — Choose whether to return all service type records or limit the results.
  • Limit — Maximum number of service types to return when 'Return All' is false.
  • Page Number — The page number to retrieve when paging through results with 'Return All' set to false.
  • Page Size — Number of service type records per page when paginating. Maximum is 200.

Output shape

a list of service type records as JSON objects

If 'Return All' is true, all service types are returned without paging. If false, results are limited and paginated according to the 'Limit', 'Page Number', and 'Page Size' inputs.

Examples

Example 1: Retrieve all service types without limit

Set 'Return All' to true.

Example 2: Retrieve the first 50 service types

Set 'Return All' to false, 'Limit' to 50, 'Page Number' and 'Page Size' to defaults.

Discussion