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.