Create asset types - Precisely Data Integrity Suite

Data Integrity Suite APIs

Product
Data_Integrity
Spatial_Analytics
Data_Enrichment
geo_addressing_1
Services
Spatial Analytics
Data Enrichment
Geo Addressing
ft:title
Data Integrity Suite APIs
ft:locale
en-US
PublicationType
pt_developer
copyrightfirst
2023
copyrightlast
2026

Creates new asset type.

HTTP

POST https://hostname/v2/catalog/asset-types

Request

Request body

The request body encapsulates an object that specifies properties and values for a single new asset-type.

Property Required Type Pattern Description
class Yes string [A-Za-zÀ-ú0-9ა-ჰ一-蠼赋]+

Specifies the class for the asset type.

  • Business
  • Model
  • Policy
  • Reference
  • Technical
  • Rule
  • Diagram
  • Generic
  • Configuration
name Yes string [A-Za-zÀ-ú0-9ა-ჰ一-蠼赋]+

Name of the asset type. A string ≤ 255 characters. The name must be unique for the asset class.

views No array[object]  

Defines views for the asset type.

  • name (required)
  • viewType (required)
  • isDefault (required)
  • columns
  • filters
  • sorts
description No string   The description provides context for an asset type.
xref No array[string]   An array of alphanumeric identifiers for assets in the workspace.
contexts No array[string] ^[a-fA-F\\d]{24}$

An array of object IDs (objectId) that provide meaning for a data type.

style No object  

Specifies the background color and icon for an asset type.

properties No array[object]  

Define properties for the asset type.

  • name (required)
  • label (required)
  • requirement
  • category
  • display
  • search
  • description
  • editableOnUi
  • type (required)
  • definition (required)
  • isSystemProperty (required)
overrides No array[object]  
  • name (required)
  • label (required)
  • requirement
  • category
  • display
  • search
  • description
  • editableOnUi
  • type (required)
  • definition (required)
  • isSystemProperty (required)
displayFormat Yes string ^(?:[\\w\\s\\-_|$%]*\\{[0-9a-zA-ZÀ-ÿ_-]+\\}*[\\w\\s\\-_|<>_$%]*)+$ The display format field for the asset type.
levels No array[object]   Specifies level numbers and names for an asset type.
maximumDepth No integer  

This is the maximum depth of nested child model assets

counter No object  

An alpha-numeric prefix and initial (seed) value for the asset counter. If no seed value is specified for the asset type, the counter will be set for one when the first asset is added.

inheritedId No string ^[a-fA-F\\d]{24}$ The ID for an inherited asset type.
abstract Yes boolean   Set this to true to create an abstract asset type. An abstract asset type provides the base for other tangible asset types.
parentId No string

^[a-fA-F\\d]{24}$

The parent asset type ID for the new asset type.
predicateId No string ^[a-fA-F\\d]{24}$ The ID the predicate that defines the relationship between this asset type and its parent.

An example request body is shown here.

Example
{
  "class": "Business",
  "name": "QA_BUS_EXM_1",
  "displayFormat": "{Name}",
  "description": "This is a business asset type",
  "abstract": false,
  "views": [
    {
      "name": "QA_View",
      "viewType": "Grid",
      "isDefault": true,
      "columns": [
        {
          "name": "Name",
          "widthType": "Fixed",
          "widthValue": 250
        }
      ],
      "filters": [
        {
          "name": "Name",
          "persist": false
        }
      ],
      "sorts": [
        {
          "name": "Name",
          "direction": "Asc"
        }
      ]
    }
  ],
  "properties": [
    {
      "name": "Name",
      "label": "Name",
      "type": "Text",
      "description": "this is a text field",
      "category": "",
      "requirement": "Key",
      "display": {
        "show": true,
        "showIfEmpty": false,
        "showInColumn": false
      },
      "search": {
        "prefix": "",
        "suffix": "",
        "displayOrder": 1,
        "addToResult": true
      },
      "definition": {
        "text": {
          "allowRichText": false,
          "validation": {}
        }
      }
    },
    {
      "name": "Boolean",
      "label": "Boolean",
      "type": "Boolean",
      "description": "this is a boolean field",
      "category": "",
      "requirement": "Optional",
      "display": {
        "show": true,
        "showIfEmpty": false,
        "showInColumn": false
      },
      "search": {
        "prefix": "",
        "suffix": "",
        "displayOrder": 1,
        "addToResult": true
      },
      "definition": {
        "boolean": {
          "defaultValue": false
        }
      }
    }
  ]
}

Response

The result for this method is returned in the response body. Properties and values for the new asset type are contained in the data object.

Response body

Example status code responses for this method are shown here. To view the response schemas, you can download the Data Catalog APIs Open API Specification from the Precisely Developer Portal..

Examples
{
  "data": {
    "id": "68ca86d1b2347ffa884feae7",
    "class": "Business",
    "name": "QA_BUS_EXM_1",
    "displayFormat": "{Name}",
    "abstract": false,
    "state": "Active",
    "overridability": "All",
    "isSystem": false,
    "createdBy": "00u17r5rbf45iXfQp0h8",
    "createdAt": "2025-09-17T10:00:49.294Z",
    "updatedAt": "2025-09-17T10:00:49.294Z",
    "updatedBy": "00u17r5rbf45iXfQp0h8",
    "views": [
      {
        "name": "QA_View",
        "viewType": "Grid",
        "isDefault": true,
        "columns": [
          {
            "name": "Name",
            "widthType": "Fixed",
            "widthValue": 250
          }
        ],
        "filters": [
          {
            "name": "Name",
            "persist": false
          }
        ],
        "sorts": [
          {
            "name": "Name",
            "direction": "Asc"
          }
        ]
      }
    ],
    "description": "This is a business asset type",
    "xref": [
      "7e7d3cd60274"
    ],
    "contexts": [],
    "properties": [
      {
        "name": "Name",
        "label": "Name",
        "type": "Text",
        "definition": {
          "text": {
            "allowRichText": false,
            "validation": {}
          }
        },
        "requirement": "Key",
        "category": "",
        "display": {
          "show": true,
          "showIfEmpty": false,
          "showInColumn": false
        },
        "search": {
          "prefix": "",
          "suffix": "",
          "displayOrder": 1,
          "addToResult": true
        },
        "description": "this is a text field",
        "editableOnUi": true
      },
      {
        "name": "Boolean",
        "label": "Boolean",
        "type": "Boolean",
        "definition": {
          "boolean": {
            "defaultValue": false
          }
        },
        "requirement": "Optional",
        "category": "",
        "display": {
          "show": true,
          "showIfEmpty": false,
          "showInColumn": false
        },
        "search": {
          "prefix": "",
          "suffix": "",
          "displayOrder": 1,
          "addToResult": true
        },
        "description": "this is a boolean field",
        "editableOnUi": true
      }
    ],
    "maximumDepth": 1,
    "assetCount": 0
  },
  "links": {
    "self": "https://api.cloud.precisely.com/asset-types"
  }
}
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "Bad Request"
}
{
  "statusCode": 401,
  "error": "Unauthorized",
  "message": "Authentication required"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Resource not found"
}
{
  "statusCode": 429,
  "error": "Too Many Requests",
  "message": "Rate limit exceeded"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "An unexpected error occurred"
}
{
  "statusCode": 503,
  "error": "Service Unavailable",
  "message": "Service temporarily unavailable"
}
{
  "statusCode": 504,
  "error": "Gateway Timeout",
  "message": "Request timeout"
}