Cancel Service Record
POST/api/servicerecords/cancelservicerecord
Tier: Public — stable, supported for third-party integration.
Cancels a service record. Unlike ServiceRecordsController.CompleteServiceRecord(...), this performs
no item movement, and raises only a generic state-changed event — there is currently
no dedicated cancelled event for service records (an asymmetry with the complete path;
under owner review). Cancelling an already-ServiceRecordStatus.Cancelled
record is an idempotent no-op.
Request
Responses
- 200
- 400
- 401
- 403
The cancelled (or already-cancelled) record. See Services.ServiceRecordDetailDto.
Unknown id — NotFound; the record is already
ServiceRecordStatus.Complete —
InvalidOperation "Status" "Record cannot be Cancelled".
Caller is not authenticated.
Caller does not have Update permission on the ServiceRecord module.