v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Facility

Correct the specialty at the group-facility-network level

Resolves the FK chain from TenantGroupFacilityNetworkSpecialty (Level 5) to the parent TenantGroupFacilitySpecialty (Level 3) and replaces its tenant_specialty_id. Does not trigger termination events.

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

Headers

tenant-idstring

Request body

tenantGroupFacilityNetworkSpecialtyIdstring required

ID of the TenantGroupFacilityNetworkSpecialty record

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

{
  "tenantGroupFacilityNetworkSpecialtyId": "tgfns_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