Page cover

๐ŸงฐType

An object type represents a group of similar objects in an object schema. These objects share attributes, and other characteristics that make them useful to hold information about a certain type of asset or service.

Each object type can have a single parent object type and multiple child object types. You can configure inheritance so that child object types automatically receive the attributes of their parents and pass their own attributes to their children.

Similarly you can set some object types as abstract, meaning that they canโ€™t contain any objects of their own but can pass their attributes to their children, who can themselves contain objects. Inheritance and abstract object types can be used to create object schemas that are both simple and powerful.

Get object type

GET /jsm/assets/workspace/{workspaceId}/v1/objecttype/{id}

The Get method finds an object type by id

Update object type

PUT /jsm/assets/workspace/{workspaceId}/v1/objecttype/{id}

The Update method updates an existing object type

Delete object type

DELETE /jsm/assets/workspace/{workspaceId}/v1/objecttype/{id}

The Delete method deletes an object type

Get object type attributes

GET /jsm/assets/workspace/{workspaceId}/v1/objecttype/{id}/attributes

The Attributes method finds all attributes for this object type

Update object type position

POST /jsm/assets/workspace/{workspaceId}/v1/objecttype/{id}/position

The Position method changes position of this object type.

Create object type

POST /jsm/assets/workspace/{workspaceId}/v1/objecttype/create

The Create method creates a new object type

Last updated

Was this helpful?