Xem Nhiều
AI-generatedSummary
Retrieves a list of branches, optionally returning all items or limiting results, with sorting and filtering options.
Inputs
- operation — Operation to perform; for this node set to 'getMany' to list branches.
- returnAll — If true, returns all branches; otherwise limited by limit.
- limit — Maximum number of items to return (default 50, max 100).
- additionalOptions — Additional options including orderBy, orderDirection, and lastModifiedFrom for filtering and sorting.
Output shape
array of branch items (each containing branch data)
When returnAll is false the array is limited by limit; when true all branches are returned. The result is wrapped in an array.
Examples
Example 1: Fetch up to 50 branches sorted by name ascending.
operation=getMany, returnAll=false, limit=50, additionalOptions={orderBy:'branchName',orderDirection:'Asc'}
Example 2: Retrieve all branches updated since a specific date.
operation=getMany, returnAll=true, additionalOptions={lastModifiedFrom:'2024-01-01T00:00:00Z'}
Example 3: Get 20 recent branches ordered by creation date descending.
operation=getMany, returnAll=false, limit=20, additionalOptions={orderBy:'createdDate',orderDirection:'Desc'}