Create service request
documentedCreate a new service request.
POST /servicerequestService Requestno 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/servicerequest" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{AUTH_SESSION_COOKIE}}" \
-d '{"description": "{{$description}}", "serviceLineId": {{$serviceLineId}}, "windowStart": {{$windowStart}}, "windowEnd": {{$windowEnd}}, "duration": "{{$duration}}", "locationId": {{$locationId}} }'