Skip to main content

Create an Entity

This operation creates a new entity

Request Body

NameDescription
entityNameDesired name of the entity
regularExpression

Desired regular expresssion of entity

parentEntityId

Id value of desired parent entity

flags

Sensitivity value of entity

values:

1 - moderate

3 - high

5 - critical

enabled

boolean value to represent enable value of entity

values:

true - enable entity

false - disable entity

keywords

String of desired keywords, separated by commas

Header Parameters
  • Accept string required
Request Body
  • entityName string
  • regularExpression string
  • parentEntityId integer
  • flags integer
  • enabled boolean
  • entityXML object
  • keywords string
Responses

OK


<DM2ContentIndexing_EntityDetailsResp>
<entityDetails regularExpression="{&quot;entity_regex&quot;:&quot;Sample Regular Expression&quot;}" displayName="RestApiEntity" flags="1" parentEntityId="0" categoryName="Custom Entity" enabled="1" entityName="RestApiEntity" entityType="2" entityKey="restapientity" entityId="110">
<entityXML keywords="Sample Keyword, Sample Keyword 2" />
</entityDetails>
</DM2ContentIndexing_EntityDetailsResp>
Loading...