---
title: "Create a Data Manager Entity"
method: POST
path: "/datamart.newfc/{TypeCode}"
tags: ["Data Manager"]
---

# Create a Data Manager Entity

`POST /datamart.newfc/{TypeCode}`

Creates a field collection (FC) definition - Data Feed (`DMF`), Datamart (`DM`), or Data Source (`DMDS`).

## Request body

- object
  - `data` object, required
    - `uniqueName` string, required — The name of the field collection. Special characters are not allowed, except the underscore ("_").
    - `label` string, required — The label for the new Datamart, Data Source, or Data Feed.
    - `persistedObjectClass` string — Fully qualified name of the domain class whose persisted objects the Data Source is based on.
    - `sourceLabel` string — Label of the source master object or template from which the Data Source was created.
    - `sourceTypeCode` string — Short type code identifying the kind of master object the Data Source is based on.

## Response `200`

Example response

- object
  - `response` object
    - `node` string
    - `csrfToken` string
    - `data` object[]
      - `version` number
      - `typedId` string
      - `uniqueName` string
      - `label` string
      - `fields` object[]
      - `keyFields` object[]
      - `lastUpdateByName` string
      - `sourceTypeCode` string
      - `sourceId` string
      - `sourceLabel` string
      - `fetchVerb` string
      - `bulkloadVerb` string
      - `type` string
      - `queryable` boolean
      - `view` boolean
      - `sourceName` string
      - `draft` boolean
      - `locked` boolean
      - `valid` boolean
      - `fieldNames` object[]
      - `keyFieldNames` object[]
      - `deployed` boolean
      - `auxiliary` boolean
      - `loadableFields` object[]
      - `createDate` string
      - `createdBy` number
      - `lastUpdateDate` string
      - `lastUpdateBy` number
      - `persistedObjectClass` string
      - `isPlasma` boolean
    - `endRow` number
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
