About Classifications
- Enterprise
- Site
- Segment
- Asset
- Tag
- Create a classification.
- List classifications by criteria and URI.
- List inherited classifications.
- List parent classifications.
- Update a classification.
- Delete a classification.
A JSON is required when using an API or ingesting a classification. The JSON structure for ingestion or APIs is different.
This request | Does this |
---|---|
POST |
Create a classification and link member instances to the classification. Bulk ingestion is supported via the asset ingestion endpoint, |
GET | List the classifications using the Asset APIs. You can list by criteria or URI. |
PATCH | Update the classification using the Asset APIs. |
DELETE | Delete a specific classification by UUID, and remove instances from a classification. |
To use the API to configure a classification, refer to the the Asset APIs documentation.
Classification Rules
- A classification must contain an id that is unique per classification. Multiple classifications using the same id can overwrite each other.
- A classification must be one of the classifications types (ccomClass).
- A classification may have child classifications that are derived from the classification parent.
- A classification must be the same classification type as its parent.
- A classification inherits all properties from its parent classification. Any custom properties defined in the child classification are customized to the child.
Create a Classification Type
- You will need to add values under
classifications
into the JSON for ingestion.- id
- name
- desciption
- parent (used if a sub-classification)
- ccomClass (define as one of the following types:
ENTERPRISE_TYPE
,SITE_TYPE
,SEGMENT_TYPE
, orASSET_TYPE
). - properties (includes sub-values)
- type
- id
- value
- reservedProperties (inherited from parent classification)Note: You can define attributes in key-value pairs. Each key is a type of String and value is an object with variables type, and value (array of values). You cannot define the attribute key with special characters such as !@#$%^&*?().
- Repeat the previous step for any classification you want to add.
- Save the JSON, then ingest it using the REST client.
You are ready to add instances for the classifications.
Add Instances to a Classification
- You will need to add values under
instances
into the JSON for ingestion.- id
- name
- desciption
- classification
- ccomClass (define as one of the following:
ENTERPRISE
,SITE
,SEGMENT
, orASSET
). - properties (includes sub-values)
- type
- id
- value
- reservedProperties (for ccomClass:
ASSET
only)Note: You can define attributes in key-value pairs. Each key is a type of String and value is an object with variables type, and value (array of values). You cannot define the attribute key with special characters such as !@#$%^&*?(). - location (for ccomClass:
ASSET
only; includes sub-values)- name
- order
- latitude
- longitude
- altitude
- Repeat the previous step for any instance you want to add.
- Save the JSON, then ingest it using the REST client.
Create a Tag Classification Type
- You will need to add values under
tagClassifications
in the JSON for ingestion.- id
- name
- description
- unitGroup
- parent
- properties (includes sub-values)
- type
- id
- value
- Repeat the previous step for any tag classification you want to add.
- Save the JSON, then ingest it using the REST client.
You are ready to add tag associations. For more information, refer to the About Instances documentation.
List Classifications
You can retrieve a list of classifications by criteria or URI using the APIs.
You can use the API to retrieve a list of classifications, classification types, inherited classification types, and parent classification types.
Use the API request parameters to narrow the list by criteria (e.g., sourceKey).
- uri
- name
- sourcekey
- description
- attributes
- reservedattributes
- parent
Delete a Classification
- Find the instances connected to the classification and remove or move them to a different classification.
- Remove the classification
id
,name
,description
,parent
,ccomClass
,properties
, andreservedProperties
using the API.