v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Facility

Correct the specialty on a group facility specialty record

Replaces the tenant_specialty_id on a TenantGroupFacilitySpecialty record (Level 3) in data-correction mode. Cascades to Levels 4, 5, 6 via FK chain. Does not trigger termination events.

patch/facilities/tenant-group-facility-specialties/specialty

Headers

tenant-idstring

Request body

tenantGroupFacilitySpecialtyIdstring required

ID of the existing TenantGroupFacilitySpecialty record to correct

newTenantSpecialtyIdstring required

ID of the new TenantSpecialty to replace the current one

changeReasonstring

Optional human-readable reason for the change, captured for audit trail.

Example request

{
  "tenantGroupFacilitySpecialtyId": "tgfs_abc123",
  "newTenantSpecialtyId": "ts_xyz789",
  "changeReason": "Correcting specialty mapping per annual review"
}

Response

Specialty corrected successfully

emptyboolean
valueNodeboolean
containerNodeboolean
missingNodeboolean
arrayboolean
objectboolean
nodeType'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
pojoboolean
numberboolean
integralNumberboolean
floatingPointNumberboolean
shortboolean
intboolean
longboolean
floatboolean
doubleboolean
bigDecimalboolean
bigIntegerboolean
textualboolean
booleanboolean
nullboolean
binaryboolean