Create task
documentedCreate a task.
POST /taskTaskno 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.servicetrade.com/api/task" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_AUTH_COOKIE}}" \
-d '{"taskListId": {{$taskListId}}, "sectionId": {{$sectionId}}, "name": "{{$name}}", "inputType": "{{$inputType}}", "referenceNumber": "{{$referenceNumber}}", "orderIndex": {{$orderIndex}}, "status": "{{$status}}", "duration": {{$duration}}, "frequencyCategory": "{{$frequencyCategory}}", "events": {{$events}}, "eventFrequency": "{{$eventFrequency}}", "eventInterval": {{$eventInterval}}, "eventWindow": "{{$eventWindow}}", "choices": {{$choices}}, "choiceType": "{{$choiceType}}"}'