latestOpenAPI 3.1.02026-08-194237902.5 MB

563848e0ecc0

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 by updating that Level-3 record. Use this for data-correction scenarios where a group-facility-network specialty record is linked to the wrong specialty and you need to scope the correction to a single network association without cascading across all locations — for the broader group-facility correction, use PATCH /facilities/tenant-group-facility-specialties/specialty instead. Does not trigger termination events. Because this operation delegates to the Level-3 update, the response body is shaped like the Level-3 record (id, tenantSpecialtyId, data) — not a Level-5-specific record.

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

object required