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 → Create
AI-generatedSummary
Create a new crew record in the McMain API
Inputs
- id (required) — ID of the crew
- description (required) — Short description of the crew
- additionalFields — Additional fields to include in the request body
- requestOptions — HTTP request configuration such as batching, timeout, proxy, and SSL settings
Output shape
a single crew record representing the newly created crew
The response contains the created crew's ID and any populated fields; may include additional metadata depending on server configuration
Examples
Example 1: Create a crew with an ID and description
id: CREW_001, description: 'Team Alpha', additionalFields: {}, requestOptions: {}
Example 2: Create a crew with batch processing enabled
id: CREW_002, description: 'Team Beta', additionalFields: {rate: 5}, requestOptions: {batching: {batchSize: 100}}