Create task
documentedSubmit a new task for a contract.
POST /rest/v2/contracts/{contract_id}/tasksContractsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.letsdeel.com/rest/v2/contracts/{{$contract_id}}/tasks" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"date_submitted": "{{$date_submitted}}", "description": "{{$description}}", "amount": "{{$amount}}", "attachment": {"key": "{{$attachment_key}}", "filename": "{{$attachment_filename}}"}} }'