Create job
documentedCreate a new job.
POST /jobJobno 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/job" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_SESSION}}" \
-d '{"locationId": {{$locationId}}, "vendorId": {{$vendorId}}, "customerId": {{$customerId}}, "ownerId": {{$ownerId}}, "type": "{{$type}}", "serviceRequestIds": [{{$serviceRequestId1}}, {{$serviceRequestId2}}] }'