solarOSsolarOS Docs

Create multi-day Service Appointments

Creates one Service Appointment row per local day between startDate and endDate using shared daily schedule, Team Member assignment, primary member, timezone, notes, and confidence semantics. Requires Idempotency-Key and service_appointments:write.

POST
/service-appointments/multi-day

Creates one Service Appointment row per local day between startDate and endDate using shared daily schedule, Team Member assignment, primary member, timezone, notes, and confidence semantics. Requires Idempotency-Key and service_appointments:write.

Authorization

Authorization<token>

Organization API key. Format: Bearer sk_live_...

In: header

Request Body

application/json

JSON request payload for createMultiDayServiceAppointments.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/service-appointments/multi-day" \  -H "Content-Type: application/json" \  -d '{    "workOrderId": "work_order_123",    "startDate": "2026-08-13",    "endDate": "2026-08-15",    "dailyStartTime": "09:00",    "dailyEndTime": "15:00",    "timezone": "America/Los_Angeles",    "assignedTeamMemberIds": [      "team_member_123"    ],    "primaryTeamMemberId": "team_member_123"  }'
{  "data": {},  "meta": {    "requestId": "string",    "version": "v1",    "timestamp": "2019-08-24T14:15:22Z",    "rateLimit": {      "limit": 0,      "remaining": 0,      "reset": 0    }  }}