v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Facility

Batch add and update facility specialties

Applies multiple specialty updates and additions to a facility in a single request. Updates modify existing TenantFacilitySpecialty records (specialty FK, effective date, isPrimary). Additions create new specialty associations at the facility level.

patch/facilities/{id}/specialties

Path parameters

idstring required

Facility ID

Headers

tenant-idstring

Request body

changeReasonstring

Optional reason for change, applied to all operations

Example request

{
  "updates": [
    {
      "tenantFacilitySpecialtyId": "tfs_abc123",
      "newTenantSpecialtyId": "ts_xyz789",
      "effectiveDate": "2026-01-15"
    }
  ],
  "additions": [
    {
      "tenantSpecialtyId": "ts_cardiology_001",
      "effectiveDate": "2026-01-01"
    }
  ],
  "changeReason": "Correcting specialty mappings per annual review"
}

Response

Specialties managed successfully