---
title: "GET /contactAssignments/{contactAssignmentId}"
method: GET
path: "/contactAssignments/{contactAssignmentId}"
tags: ["ContactAssignment"]
---

# GET /contactAssignments/{contactAssignmentId}

`GET /contactAssignments/{contactAssignmentId}`

Get a contactAssignment

## Path parameters

- `contactAssignmentId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- ContactAssignment — ContactAssignment resource.
  - `assignmentId` string, uuid — Gets or sets the id of the assignment.
  - `contactGroup` EntityReference — Entity reference type.
    - `referenceName` string — Gets or sets the reference name.
    - `type` 'Unknown' | 'CollectionReference' | 'ContactGroupDefinitionReference' | 'DatasourceReference' | 'ScanReference' | 'AdaptiveScopeReference' — Gets or sets the reference type property.
  - `principalId` string — Gets or sets the principal Id.
  - `scope` EntityReference — Entity reference type.
    - `referenceName` string — Gets or sets the reference name.
    - `type` 'Unknown' | 'CollectionReference' | 'ContactGroupDefinitionReference' | 'DatasourceReference' | 'ScanReference' | 'AdaptiveScopeReference' — Gets or sets the reference type property.
  - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
    - `createdAt` string, date-time — The timestamp of resource creation (UTC).
    - `createdBy` string — The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that created the resource.
    - `lastModifiedAt` string, date-time — The timestamp of the last modification the resource (UTC).
    - `lastModifiedBy` string — The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that last modified the resource.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/versions/dc51c3b3ddf7/schema)
