subcontractors.dispatch
Dispatch a job to a subcontractor. Sends SMS notification and creates a dispatch record for tracking. Subcontractor must be in "active" or "verified" status. Returns dispatch details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Link to existing job ID. Optional. | |
| amount | No | Agreed payment amount in AUD. Optional. | |
| leadId | No | Link to existing lead ID. Optional. | |
| sendSms | No | Send SMS notification to subcontractor. Defaults to true. | |
| description | Yes | Job description for the subcontractor. Required. | |
| scheduledDate | No | Scheduled date (ISO 8601). Optional. | |
| subcontractorId | Yes | ID of the subcontractor to dispatch to. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| dispatch | No |