---
title: "Get all the relationships of the practitioner"
method: GET
path: "/practitioners/{id}/relationships/all"
tags: ["Practitioner"]
---

# Get all the relationships of the practitioner

`GET /practitioners/{id}/relationships/all`

Get all the relationships of the practitioner. When transformed=false (default), the response contains raw relationship data with a nested structure. When transformed=true, the response is restructured into a flattened format with deduplicated and organized data including networks, groups, locations, specialties, and related metadata.

## Path parameters

- `id` string, required

## Query parameters

- `transformed` boolean

## Headers

- `tenant-id` string

## Response `200`

All the relationships that the practitioner belongs to successfully retrieved. Response structure varies based on the 'transformed' parameter: When transformed=false, returns raw data with nested structure containing tenantPractitionerId, tenantPractitionerSpecialties, and groupMemberships. When transformed=true, returns a transformed structure with flattened arrays: networks, groups, groupLocations, groupSpecialties, practitionerSpecialties, networksPlansData, locationsGroupsData, specialtiesData, groupsData, and groupMemberships.

- union — Response structure depends on the 'transformed' query parameter. When transformed=false: returns JsonNode with nested structure containing 'data' with tenantPractitionerId, tenantPractitionerSpecialties, and groupMemberships. When transformed=true: returns TransformedPractitionerRelationships with flattened structure with top-level arrays (networks, groups, groupLocations, groupSpecialties, practitionerSpecialties, networksPlansData, locationsGroupsData, specialtiesData, groupsData, groupMemberships).
  - JsonNode
    - `empty` boolean
    - `valueNode` boolean
    - `containerNode` boolean
    - `missingNode` boolean
    - `array` boolean
    - `object` boolean
    - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
    - `pojo` boolean
    - `number` boolean
    - `integralNumber` boolean
    - `floatingPointNumber` boolean
    - `short` boolean
    - `int` boolean
    - `long` boolean
    - `float` boolean
    - `double` boolean
    - `bigDecimal` boolean
    - `bigInteger` boolean
    - `textual` boolean
    - `boolean` boolean
    - `null` boolean
    - `binary` boolean
  - TransformedPractitionerRelationships
    - `networks` TransformedNetwork[]
      - `group` TransformedGroup
        - `tenantId` string
        - `groupId` string
        - `tenantGroupId` string
        - `tenantGroupPractitionerId` string
        - `groupName` string
        - `groupNpi` string
        - `groupTin` string
        - `effectiveDate` string
        - `terminationDate` string
        - `status` string
        - `createdAt` string
        - `createdBy` string
        - `updatedAt` string
        - `updatedBy` string
        - `locations` TransformedLocation[]
          - `groupName` string
          - `groupId` string
          - `tenantGroupPractitionerLocationId` string
          - `address` TransformedAddress
            - `addressLine1` string
            - `addressLine2` string
            - `city` string
            - `state` string
            - `zip` string
            - `entityAddressId` string
            - `county` string
            - `country` string
          - `location` TransformedLocationDetails
            - `id` string
            - `certifyLocationId` string
            - `name` string
            - `phone` string
            - `fax` string
            - `contacts` LocationContact3[]
              - …
            - `specialties` TransformedSpecialty[]
              - …
            - `practiceHours` string
            - `admittingPrivileges` boolean
            - `effectiveDate` string
            - `terminationDate` string
            - `practitionerLocationEffectiveDate` string
            - `practitionerLocationTerminationDate` string
            - `groupLocationId` string
            - `locationType` string
            - `acceptNewPatients` string
            - `suppressSiteFromDirectory` string
            - `accessibility` AccessibilityResponse[]
              - …
            - `officeHours` OfficeHours2[]
              - …
            - `practiceLimitations` PracticeLimitation2[]
              - …
          - `data` TransformedLocationData
            - `practitionerRole` string
            - `practitionerRoles` string[]
            - `medicare` string
            - `contacts` LocationContact3[]
              - …
          - `networks` GroupPractitionerNetwork[]
            - `id` string
            - `networkId` string
            - `contractedNetworkId` string
            - `data` GroupPractitionerNetworkData
              - …
            - `network` JsonNode
              - …
            - `networkPlans` JsonNode[]
              - …
        - `specialties` TransformedSpecialty[]
          - `id` string
          - `name` string
          - `taxonomyCode` string
          - `description` string
          - `classificationSource` string
          - `specialtyCategory` string
          - `subSpecialtyName` string
          - `isPrimary` boolean
          - `effectiveDate` string
          - `terminationDate` string
          - `status` string
          - `additionalInformation` string
          - `groupPractitionerSpecialtyId` string
          - `groupPractitionerLocationSpecialtyId` string
          - `groupPractitionerLocationId` string
          - `groupId` string
          - `tenantGroupId` string
          - `tenantPractitionerId` string
          - `updatedAt` string
          - `data` TransformedSpecialtyData
            - `name` string
            - `taxonomyCode` string
            - `description` string
            - `classificationSource` string
            - `specialtyCategory` string
            - `subSpecialtyName` string
            - `isPrimary` boolean
            - `effectiveDate` string
            - `status` string
            - `additionalInformation` string
            - `updatedAt` string
      - `id` string
      - `networkId` string
      - `networkPlans` JsonNode[]
        - `empty` boolean
        - `valueNode` boolean
        - `containerNode` boolean
        - `missingNode` boolean
        - `array` boolean
        - `object` boolean
        - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
        - `pojo` boolean
        - `number` boolean
        - `integralNumber` boolean
        - `floatingPointNumber` boolean
        - `short` boolean
        - `int` boolean
        - `long` boolean
        - `float` boolean
        - `double` boolean
        - `bigDecimal` boolean
        - `bigInteger` boolean
        - `textual` boolean
        - `boolean` boolean
        - `null` boolean
        - `binary` boolean
      - `network` TransformedNetworkDetails
        - `name` string
        - `type` string
        - `status` string
        - `effectiveDate` string
        - `networkPractitionerEffectiveDate` string
        - `networkPractitionerTerminationDate` string
        - `terminationDate` string
        - `serviceArea` string
        - `lineOfBusiness` string
        - `data` TransformedNetworkData
          - `name` string
          - `type` string
          - `status` string
          - `effectiveDate` string
          - `terminationDate` string
          - `serviceArea` string
          - `lineOfBusiness` string
    - `groups` TransformedGroup[]
      - `tenantId` string
      - `groupId` string
      - `tenantGroupId` string
      - `tenantGroupPractitionerId` string
      - `groupName` string
      - `groupNpi` string
      - `groupTin` string
      - `effectiveDate` string
      - `terminationDate` string
      - `status` string
      - `createdAt` string
      - `createdBy` string
      - `updatedAt` string
      - `updatedBy` string
      - `locations` TransformedLocation[]
        - `groupName` string
        - `groupId` string
        - `tenantGroupPractitionerLocationId` string
        - `address` TransformedAddress
          - `addressLine1` string
          - `addressLine2` string
          - `city` string
          - `state` string
          - `zip` string
          - `entityAddressId` string
          - `county` string
          - `country` string
        - `location` TransformedLocationDetails
          - `id` string
          - `certifyLocationId` string
          - `name` string
          - `phone` string
          - `fax` string
          - `contacts` LocationContact3[]
            - `type` string
            - `name` string
            - `mainPhoneNumber` string
            - `afterHoursPhoneNumber` string
            - `email` string
            - `fax` string
            - `tty` string
          - `specialties` TransformedSpecialty[]
            - `id` string
            - `name` string
            - `taxonomyCode` string
            - `description` string
            - `classificationSource` string
            - `specialtyCategory` string
            - `subSpecialtyName` string
            - `isPrimary` boolean
            - `effectiveDate` string
            - `terminationDate` string
            - `status` string
            - `additionalInformation` string
            - `groupPractitionerSpecialtyId` string
            - `groupPractitionerLocationSpecialtyId` string
            - `groupPractitionerLocationId` string
            - `groupId` string
            - `tenantGroupId` string
            - `tenantPractitionerId` string
            - `updatedAt` string
            - `data` TransformedSpecialtyData
              - …
          - `practiceHours` string
          - `admittingPrivileges` boolean
          - `effectiveDate` string
          - `terminationDate` string
          - `practitionerLocationEffectiveDate` string
          - `practitionerLocationTerminationDate` string
          - `groupLocationId` string
          - `locationType` string
          - `acceptNewPatients` string
          - `suppressSiteFromDirectory` string
          - `accessibility` AccessibilityResponse[]
            - `answer` string
            - `question` string
          - `officeHours` OfficeHours2[]
            - `dayOfWeek` string
            - `openTime` string
            - `closeTime` string
          - `practiceLimitations` PracticeLimitation2[]
            - `limitation` string
            - `isPrimary` boolean
        - `data` TransformedLocationData
          - `practitionerRole` string
          - `practitionerRoles` string[]
          - `medicare` string
          - `contacts` LocationContact3[]
            - `type` string
            - `name` string
            - `mainPhoneNumber` string
            - `afterHoursPhoneNumber` string
            - `email` string
            - `fax` string
            - `tty` string
        - `networks` GroupPractitionerNetwork[]
          - `id` string
          - `networkId` string
          - `contractedNetworkId` string
          - `data` GroupPractitionerNetworkData
            - `acceptingNewPatients` string
            - `contracted` string
            - `languageSpoken` string
            - `officeHours` string
            - `panelCapacity` string
            - `panelStatus` string
            - `practitionerRole` string
          - `network` JsonNode
            - `empty` boolean
            - `valueNode` boolean
            - `containerNode` boolean
            - `missingNode` boolean
            - `array` boolean
            - `object` boolean
            - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
            - `pojo` boolean
            - `number` boolean
            - `integralNumber` boolean
            - `floatingPointNumber` boolean
            - `short` boolean
            - `int` boolean
            - `long` boolean
            - `float` boolean
            - `double` boolean
            - `bigDecimal` boolean
            - `bigInteger` boolean
            - `textual` boolean
            - `boolean` boolean
            - `null` boolean
            - `binary` boolean
          - `networkPlans` JsonNode[]
            - `empty` boolean
            - `valueNode` boolean
            - `containerNode` boolean
            - `missingNode` boolean
            - `array` boolean
            - `object` boolean
            - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
            - `pojo` boolean
            - `number` boolean
            - `integralNumber` boolean
            - `floatingPointNumber` boolean
            - `short` boolean
            - `int` boolean
            - `long` boolean
            - `float` boolean
            - `double` boolean
            - `bigDecimal` boolean
            - `bigInteger` boolean
            - `textual` boolean
            - `boolean` boolean
            - `null` boolean
            - `binary` boolean
      - `specialties` TransformedSpecialty[]
        - `id` string
        - `name` string
        - `taxonomyCode` string
        - `description` string
        - `classificationSource` string
        - `specialtyCategory` string
        - `subSpecialtyName` string
        - `isPrimary` boolean
        - `effectiveDate` string
        - `terminationDate` string
        - `status` string
        - `additionalInformation` string
        - `groupPractitionerSpecialtyId` string
        - `groupPractitionerLocationSpecialtyId` string
        - `groupPractitionerLocationId` string
        - `groupId` string
        - `tenantGroupId` string
        - `tenantPractitionerId` string
        - `updatedAt` string
        - `data` TransformedSpecialtyData
          - `name` string
          - `taxonomyCode` string
          - `description` string
          - `classificationSource` string
          - `specialtyCategory` string
          - `subSpecialtyName` string
          - `isPrimary` boolean
          - `effectiveDate` string
          - `status` string
          - `additionalInformation` string
          - `updatedAt` string
    - `groupLocations` TransformedLocation[]
      - `groupName` string
      - `groupId` string
      - `tenantGroupPractitionerLocationId` string
      - `address` TransformedAddress
        - `addressLine1` string
        - `addressLine2` string
        - `city` string
        - `state` string
        - `zip` string
        - `entityAddressId` string
        - `county` string
        - `country` string
      - `location` TransformedLocationDetails
        - `id` string
        - `certifyLocationId` string
        - `name` string
        - `phone` string
        - `fax` string
        - `contacts` LocationContact3[]
          - `type` string
          - `name` string
          - `mainPhoneNumber` string
          - `afterHoursPhoneNumber` string
          - `email` string
          - `fax` string
          - `tty` string
        - `specialties` TransformedSpecialty[]
          - `id` string
          - `name` string
          - `taxonomyCode` string
          - `description` string
          - `classificationSource` string
          - `specialtyCategory` string
          - `subSpecialtyName` string
          - `isPrimary` boolean
          - `effectiveDate` string
          - `terminationDate` string
          - `status` string
          - `additionalInformation` string
          - `groupPractitionerSpecialtyId` string
          - `groupPractitionerLocationSpecialtyId` string
          - `groupPractitionerLocationId` string
          - `groupId` string
          - `tenantGroupId` string
          - `tenantPractitionerId` string
          - `updatedAt` string
          - `data` TransformedSpecialtyData
            - `name` string
            - `taxonomyCode` string
            - `description` string
            - `classificationSource` string
            - `specialtyCategory` string
            - `subSpecialtyName` string
            - `isPrimary` boolean
            - `effectiveDate` string
            - `status` string
            - `additionalInformation` string
            - `updatedAt` string
        - `practiceHours` string
        - `admittingPrivileges` boolean
        - `effectiveDate` string
        - `terminationDate` string
        - `practitionerLocationEffectiveDate` string
        - `practitionerLocationTerminationDate` string
        - `groupLocationId` string
        - `locationType` string
        - `acceptNewPatients` string
        - `suppressSiteFromDirectory` string
        - `accessibility` AccessibilityResponse[]
          - `answer` string
          - `question` string
        - `officeHours` OfficeHours2[]
          - `dayOfWeek` string
          - `openTime` string
          - `closeTime` string
        - `practiceLimitations` PracticeLimitation2[]
          - `limitation` string
          - `isPrimary` boolean
      - `data` TransformedLocationData
        - `practitionerRole` string
        - `practitionerRoles` string[]
        - `medicare` string
        - `contacts` LocationContact3[]
          - `type` string
          - `name` string
          - `mainPhoneNumber` string
          - `afterHoursPhoneNumber` string
          - `email` string
          - `fax` string
          - `tty` string
      - `networks` GroupPractitionerNetwork[]
        - `id` string
        - `networkId` string
        - `contractedNetworkId` string
        - `data` GroupPractitionerNetworkData
          - `acceptingNewPatients` string
          - `contracted` string
          - `languageSpoken` string
          - `officeHours` string
          - `panelCapacity` string
          - `panelStatus` string
          - `practitionerRole` string
        - `network` JsonNode
          - `empty` boolean
          - `valueNode` boolean
          - `containerNode` boolean
          - `missingNode` boolean
          - `array` boolean
          - `object` boolean
          - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
          - `pojo` boolean
          - `number` boolean
          - `integralNumber` boolean
          - `floatingPointNumber` boolean
          - `short` boolean
          - `int` boolean
          - `long` boolean
          - `float` boolean
          - `double` boolean
          - `bigDecimal` boolean
          - `bigInteger` boolean
          - `textual` boolean
          - `boolean` boolean
          - `null` boolean
          - `binary` boolean
        - `networkPlans` JsonNode[]
          - `empty` boolean
          - `valueNode` boolean
          - `containerNode` boolean
          - `missingNode` boolean
          - `array` boolean
          - `object` boolean
          - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
          - `pojo` boolean
          - `number` boolean
          - `integralNumber` boolean
          - `floatingPointNumber` boolean
          - `short` boolean
          - `int` boolean
          - `long` boolean
          - `float` boolean
          - `double` boolean
          - `bigDecimal` boolean
          - `bigInteger` boolean
          - `textual` boolean
          - `boolean` boolean
          - `null` boolean
          - `binary` boolean
    - `groupSpecialties` TransformedSpecialty[]
      - `id` string
      - `name` string
      - `taxonomyCode` string
      - `description` string
      - `classificationSource` string
      - `specialtyCategory` string
      - `subSpecialtyName` string
      - `isPrimary` boolean
      - `effectiveDate` string
      - `terminationDate` string
      - `status` string
      - `additionalInformation` string
      - `groupPractitionerSpecialtyId` string
      - `groupPractitionerLocationSpecialtyId` string
      - `groupPractitionerLocationId` string
      - `groupId` string
      - `tenantGroupId` string
      - `tenantPractitionerId` string
      - `updatedAt` string
      - `data` TransformedSpecialtyData
        - `name` string
        - `taxonomyCode` string
        - `description` string
        - `classificationSource` string
        - `specialtyCategory` string
        - `subSpecialtyName` string
        - `isPrimary` boolean
        - `effectiveDate` string
        - `status` string
        - `additionalInformation` string
        - `updatedAt` string
    - `practitionerSpecialties` TransformedSpecialty[]
      - `id` string
      - `name` string
      - `taxonomyCode` string
      - `description` string
      - `classificationSource` string
      - `specialtyCategory` string
      - `subSpecialtyName` string
      - `isPrimary` boolean
      - `effectiveDate` string
      - `terminationDate` string
      - `status` string
      - `additionalInformation` string
      - `groupPractitionerSpecialtyId` string
      - `groupPractitionerLocationSpecialtyId` string
      - `groupPractitionerLocationId` string
      - `groupId` string
      - `tenantGroupId` string
      - `tenantPractitionerId` string
      - `updatedAt` string
      - `data` TransformedSpecialtyData
        - `name` string
        - `taxonomyCode` string
        - `description` string
        - `classificationSource` string
        - `specialtyCategory` string
        - `subSpecialtyName` string
        - `isPrimary` boolean
        - `effectiveDate` string
        - `status` string
        - `additionalInformation` string
        - `updatedAt` string
    - `networksPlansData` object[]
    - `locationsGroupsData` object[]
    - `specialtiesData` PractitionerSpecialty[]
      - `id` string
      - `specialty` string
      - `isPrimary` boolean
      - `nuccCode` string
      - `nuccDescription` string
      - `specialtyDate` string
      - `effectiveDate` string
      - `terminationDate` string
      - `status` string
      - `additionalInformation` string
      - `updatedAt` string
    - `groupsData` PractitionerRelationshipGroup[]
      - `id` string
      - `groupName` string
      - `groupTin` string
      - `groupNpi` string
      - `specialty` string
      - `locations` integer
      - `effectiveDate` string
      - `terminationDate` string
      - `status` string
      - `groupId` string
      - `tenantGroupId` string
      - `certifyGroupId` string
    - `groupMemberships` JsonNode[]
      - `empty` boolean
      - `valueNode` boolean
      - `containerNode` boolean
      - `missingNode` boolean
      - `array` boolean
      - `object` boolean
      - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
      - `pojo` boolean
      - `number` boolean
      - `integralNumber` boolean
      - `floatingPointNumber` boolean
      - `short` boolean
      - `int` boolean
      - `long` boolean
      - `float` boolean
      - `double` boolean
      - `bigDecimal` boolean
      - `bigInteger` boolean
      - `textual` boolean
      - `boolean` boolean
      - `null` boolean
      - `binary` boolean

## Other responses

- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Practitioner not found with the given source type and crosswalk ID for tenant
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/versions/3d27e9019c7b/schema)
