Create Service Record
POST/api/servicerecords/createservicerecord
Tier: Public — stable, supported for third-party integration.
Creates a service record, always starting in ServiceRecordStatus.Open
— unless ServiceItems are supplied inline, in which case they are added
immediately and the record is bumped to ServiceRecordStatus.InProgress.
Request
Responses
- 200
- 400
- 401
- 403
The created record. See Services.ServiceRecordDetailDto.
A ServiceNumber already in use by a non-Complete/non-Cancelled record — DuplicateResource; missing ServiceMasterId — MissingRequiredField; an unknown ServiceMasterId, FromPlaceId, ToPlaceId, or ReasonId (must be scoped to ReasonScope.Service) — InvalidReference; a missing ToPlaceId when the service type is a system Deliver/Pickup type or MoveItemsOnComplete is set — InvalidValue "ToPlaceId"; a negative quantity — InvalidValue.
Caller is not authenticated.
Caller does not have Create permission on the ServiceRecord module.