$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "snapshotId": "schedule-2026-10-02",
< "scopeStart": "2026-10-02T08:00:00+03:00",
< "scopeEnd": "2026-10-02T18:00:00+03:00",
< "resourceIds": [
< "room-01",
< "projector-01"
< ],
< "sourceIds": [
< "calendar-A",
< "calendar-B"
< ],
< "coverage": "complete",
< "bookings": [
< {
< "sourceId": "calendar-A",
< "bookingId": "001",
< "resourceId": "room-01",
< "start": "2026-10-02T09:00:00+03:00",
< "end": "2026-10-02T10:00:00+03:00",
< "status": "active",
< "setupMinutes": 0,
< "teardownMinutes": 0
< },
< {
< "sourceId": "calendar-B",
< "bookingId": "001",
< "resourceId": "room-01",
< "start": "2026-10-02T09:30:00+03:00",
< "end": "2026-10-02T10:30:00+03:00",
< "status": "active",
< "setupMinutes": 0,
< "teardownMinutes": 0
< },
< {
< "sourceId": "calendar-A",
< "bookingId": "002",
< "resourceId": "room-01",
< "start": "2026-10-02T10:30:00+03:00",
< "end": "2026-10-02T11:30:00+03:00",
< "status": "active",
< "setupMinutes": 0,
< "teardownMinutes": 0
< },
< {
< "sourceId": "calendar-A",
< "bookingId": "003",
< "resourceId": "projector-01",
< "start": "2026-10-02T09:00:00+03:00",
< "end": "2026-10-02T10:00:00+03:00",
< "status": "active",
< "setupMinutes": 0,
< "teardownMinutes": 0
< },
< {
< "sourceId": "calendar-B",
< "bookingId": "004",
< "resourceId": "room-01",
< "start": "2026-10-02T09:00:00+03:00",
< "end": "2026-10-02T12:00:00+03:00",
< "status": "cancelled",
< "setupMinutes": 0,
< "teardownMinutes": 0
< }
< ],
< "bookingsCsv": "",
< "bookingColumns": {
< "sourceId": "sourceId",
< "bookingId": "bookingId",
< "resourceId": "resourceId",
< "start": "start",
< "end": "end",
< "status": "status",
< "setupMinutes": "setupMinutes",
< "teardownMinutes": "teardownMinutes"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/h_murdock~resource-booking-overlap-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'