Actions67
- Account Actions
- Asset Actions
- Asset Type Actions
- Base Data Actions
- Call Actions
- Contact Actions
- Contract Actions
- Crew Actions
- Document Actions
- Employee Actions
- Hours Actions
- Hour Type Actions
- Work Order Actions
Crew → Get List
AI-generatedSummary
Retrieves a list of crews from the McMain API
Inputs
- returnAll — Whether to return all results or only up to a given limit
- limit — Maximum number of results to return (default 50, up to 500)
- requestOptions — Additional HTTP request settings such as batching, SSL verification, proxy, and timeout
Output shape
an array of crew objects
The response body contains the list of crews returned by the API; fields match the crew data structure
Examples
Example 1: Get the first page of crews using default settings
returnAll = false, limit = 50, default request options
Example 2: Fetch all crews in batches, ignoring SSL errors
returnAll = true, allowUnauthorizedCerts = true, batchSize = 100