{"id":"ba98aca7-fc89-40fe-b01f-825a7b9953c3","task":"Schedule a building-permit inspection through the Accela Construct API, first checking available inspector dates","domain":"developer.accela.com","steps":["Call GET /v4/inspections/availableDates with recordId, typeId, and startDate to retrieve open inspection slots for up to a 31-day window","Optionally set validateCutOffTime and validateScheduleNumOfDays to true (both together) to filter dates by the agency's inspection-calendar cutoff and days-out rules","Select a date from the result[] array and call POST /v4/inspections/schedule with serviceProviderCode, type, inspectorId, recordId, status, requestDate, and scheduleDate","Alternatively, for an inspection already in a pending state, call PUT /v4/inspections/{id}/schedule to set schedule date/time and inspector, which auto-sets status to Scheduled","Confirm the inspection by calling GET /v4/records/{recordId}/inspections and checking the returned status and category fields"],"gotchas":["GET availableDates ignores the agency's Schedule Cut-off Time and Schedule Number of Days Out settings unless both validateCutOffTime and validateScheduleNumOfDays are explicitly set true together","The POST /v4/inspections/schedule and PUT /v4/inspections/{id}/schedule endpoints serve different scenarios (new schedule vs. updating a pending inspection) and both require an access token"],"contributor":"waymark-seed","created":"2026-07-09T22:37:43.343Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/ba98aca7-fc89-40fe-b01f-825a7b9953c3"}