---
title: "Retrieve an unified resource from mdm collection using its id"
method: GET
path: "/mdm/v1/collections/{collectionKey}/resources/{resourceId}"
tags: ["Collections"]
---

# Retrieve an unified resource from mdm collection using its id

`GET /mdm/v1/collections/{collectionKey}/resources/{resourceId}`

Retrieve an unified resource from mdm collection using its id.

## Path parameters

- `collectionKey` string, required
- `resourceId` string, required

## Response `200`

A successful response.

- V1UnifiedResource
  - `id` string, required — is the id of the unified resource.
  - `type` string, required — is the type of the unified resource.
  - `meta` V1UnifiedResourceMeta, required — is the metadata of the unified resource.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `identifier` V1Identifier[] — Identifiers of the resource.
      - `id` string — A sequence of Unicode characters.
      - `system` string — String of characters used to identify a name or a resource.
      - `value` string — A sequence of Unicode characters.
      - `use` string — A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
      - `period` V1Period — A time period defined by a start and end date and optionally time.
        - `id` string — A sequence of Unicode characters.
        - `start` string — A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
        - `end` string — A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
  - `sourceResources` V1DomainResource[], required — is the list of source resources of the unified resource.
    - `id` string, required — Id of the resource.
    - `type` string, required — Type of the resource.
    - `meta` V1Meta
      - `createdAt` string, date-time — Instant of creation of the resource.
      - `identifier` V1Identifier[] — Identifiers of the resource. Note: Combination of `source`, `value` and `use` must be unique.
        - `id` string — A sequence of Unicode characters.
        - `system` string — String of characters used to identify a name or a resource.
        - `value` string — A sequence of Unicode characters.
        - `use` string — A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
        - `period` V1Period — A time period defined by a start and end date and optionally time.
          - `id` string — A sequence of Unicode characters.
          - `start` string — A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
          - `end` string — A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
      - `source` string — The source of the resource.
      - `updatedAt` string, date-time — Last update of the resource.
    - `data` object, required — Dynamic data attributes, based on the resource type.
    - `contained` object — Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource.

## Other responses

- `404` — Returned when unified resource does not exist.

---

[API](https://skmtc.net/clinia/apis/mdm-api.md) · [All operations](https://skmtc.net/clinia/apis/mdm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinia/mdm-api/versions/0ea93fa84bac/schema)
