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 → Update
AI-generatedSummary
Update a crew record by ID with specified fields and optional request settings
Inputs
- id (required) — ID of the crew
- description — Short description of the crew
- rate — Rate of the crew
- coordinatorId — ID of coordinator of the crew
- batchSize — Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.
- batchInterval — Time (in milliseconds) between each batch of requests. 0 for disabled.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
- proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
- timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request
Output shape
a single updated crew record
Returns the updated crew object; may include only fields that were modified.
Examples
Example 1: Update a crew's description and rate
Set Crew ID to '123', add a 'description' with value 'New crew description', add a 'rate' with value 45.00, optionally set 'coordinatorId' to 'coord-456'.
Example 2: Enable batching for the update
Provide Crew ID, set 'batching' with 'batchSize' 100 and 'batchInterval' 500, optionally set other fields.
Example 3: Update crew using a proxy
Provide Crew ID, set 'proxy' to 'http://myproxy:3128' and 'timeout' to 15000, then add any desired update fields.