Create appointment
documentedCreate a new appointment for a job/location.
POST /appointmentAppointmentno 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/appointment" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{OAUTH2_ACCESS_TOKEN}}" \
-d '{"jobId": {{$job_id}}, "windowStart": {{$window_start}}, "windowEnd": {{$window_end}}, "techIds": [{{$tech_ids}}], "serviceRequestIds": [{{$service_request_ids}}]}'