Stenci icon

Stenci

Interact with Stenci API - Healthcare Management Platform

Actions17

Service → Get Many

AI-generated

Summary

Fetch multiple service records optionally filtered and limited.

Inputs

  • returnAll — If true, return all matching results; otherwise respect the limit.
  • limit — Maximum number of results to return when returnAll is false; defaults to 50, max 100.
  • filters — Collection of filter criteria such as search term, active status, service type, etc.

Output shape

an array of service objects

Each item corresponds to a service record; pagination via limit/offset; filters are applied server‑side; may return an empty array if no matches.

Examples

Example 1: Retrieve all active services of type 'Canteen'

returnAll=true, filters={active:true, type:'canteen'}

Example 2: Get up to 10 services filtered by type 'Laboratory'

limit=10, filters={type:'laboratory'}

Example 3: Paginate through services with a limit of 50

limit=50

Discussion