API Reference > Manage assets > Create assets
  

Create assets

Send a POST request to create business assets including business term, domain, metric, subdomain, process, policy, system, and data set.
To create business assets, submit a request with the following method and endpoint:
Method
Endpoint
POST
<baseApiUrl>/data360/content/v1/assets
The base API URL differs for each pod. For more information, see Send Requests.

Request body

Use the request body to specify the parameters of the business assets that you want to create.
In the body of the request, specify the parameters in the following format:
{
"core.classType": "com.infa.ccgf.models.governance.BusinessTerm",
"summary": {
"core.name": "bt-test-1",
"core.description": "asset description"
},
"selfAttributes": {
"com.infa.ccgf.models.governance.FormatType": "Text",
"com.infa.ccgf.models.governance.isCDE": false,
"com.infa.ccgf.models.governance.AliasNames": [
"bt-test-alias-1"
]
} "stakeholdership": [
{
"core.identity": "5eef85fa-a38e-4ab4-89d3-8df7d26425dc",
"core.externalId": "2vr1gGFwE02kdKX0cxJt4W",
"core.role": [
"lVhW8Etrr2Xh1j30320u40"
]
},
"parent": {
"core.identity": "5eef85fa-a38e-4ab4-89d3-8df7d26425dc",
"core.externalId": "DOM-2"
}
}
The following table describes the important parameters that you can specify in the body of the request:
Parameter
Type
Description
core.classType
String
Specify the type of business asset.
For example, com.infa.ccgf.models.governance.BusinessTerm
summary
String
Contains the name and the basic description of the asset.
core.name: Specify the name of the asset
core.description: Specify a descriptive text explaining the asset.
selfAttributes
String
Specify the properties of the asset. For more information about the properties of business assets, see the Understanding Business Assets help.
stakeholdership
Object
Specify the following attributes to add a stakeholder for the asset.
core.identity: The internal ID of the stakeholder that you want to add. You can obtain this ID by looking at the URL of the stakeholder page in Data Governance and Catalog.
core.externalid: The unique reference ID of the stakeholder.
core.role: Specify the stakeholder role.
Note: You can obtain the core.identity ID by checking the user details in the search API. You can enter either internal ID or external ID to add stakeholders. For more information on the search API, see Search for assets.
parent
Object
If you want the asset to be a part of a hierarchy, specify the details of the parent asset.

Example requests

Create a business term

The following example shows the POST request to create a business term.
POST https://idmc-api.dm-us.informaticacloud.com/data360/content/v1/assets
Authorization: Bearer <jwt_token>
Accept: application/json
Content-Type: application/json
Body
{
"core.classType": "com.infa.ccgf.models.governance.BusinessTerm",
"summary": {
"core.name": "Net Profit",
"core.description": "Net income value of the Income Statement"
},
"selfAttributes": {
"com.infa.ccgf.models.governance.FormatType": "Text",
"com.infa.ccgf.models.governance.isCDE": false,
"com.infa.ccgf.models.governance.AliasNames": [
"Net Profit"
]
}
}

Create a business term with a parent

The following example shows the POST request to create a business term with a parent.
POST https://idmc-api.dm-us.informaticacloud.com/data360/content/v1/assets
Authorization: Bearer <jwt_token>
Accept: application/json
Content-Type: application/json
Body
{
"core.classType": "com.infa.ccgf.models.governance.BusinessTerm",
"summary": {
"core.name": "Operating Profit",
"core.description": "Profit for operational activities, which excludes EBIDA"
},
"selfAttributes": {
"com.infa.ccgf.models.governance.FormatType": "Text",
"com.infa.ccgf.models.governance.isCDE": false,
"com.infa.ccgf.models.governance.AliasNames": [
"Operating Income"
]
},
"parent": {
"core.identity": "5eef85fa-a38e-4ab4-89d3-8df7d26425dc",
"core.externalId": "Financial Metrics"
}
}

Create a business term with a stakeholder

The following example shows the POST request to create a business term with a stakeholder.
POST https://idmc-api.dm-us.informaticacloud.com/data360/content/v1/assets
Authorization: Bearer <jwt_token>
Accept: application/json
Content-Type: application/json
Body
{
"core.classType": "com.infa.ccgf.models.governance.BusinessTerm",
"summary": {
"core.name": "Cost of Goods Sold",
"core.description": "Cost value of items sold, which includes the cost of production"
},
"selfAttributes": {
"com.infa.ccgf.models.governance.FormatType": "Text",
"com.infa.ccgf.models.governance.isCDE": false,
"com.infa.ccgf.models.governance.AliasNames": [
"bt-test-alias-2"
]
},
"stakeholdership": [
{
"core.identity": "5eef85fa-a38e-4ab4-89d3-8df7d26425dc",
"core.externalId": "2vr1gGFwE02kdKX0cxJt4W",
"core.role": [
"lVhW8Etrr2Xh1j30320u40"
]
}
]
}