Actions15
Cost Center → Get Many
AI-generatedSummary
Fetch cost centers for an organization with pagination
Inputs
- organizationId — The ID of the organization to filter cost centers by
- page — Page number for pagination (default 1)
- pageSize — Number of items per page (default 25)
Output shape
a list of cost center items with pagination metadata
Each item includes id, name, organization, and addresses; pagination object provides page, pageSize, and total. Optional fields may be omitted.
Examples
Example 1: Retrieve first page of cost centers for organization 123
organizationId = 123, page = 1, pageSize = 25
Example 2: Retrieve second page of cost centers for organization 456 with 50 items per page
organizationId = 456, page = 2, pageSize = 50
Example 3: Fetch all cost centers for organization 789 using default page size
organizationId = 789, page = 1, pageSize = 25