Asset Types

Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.

Asset Types

Asset type management
operations.

GET /rest/v2/asset-management/asset-types

Description

getAll

Parameters

NameData TypeRequired?Description

alertable

boolean

n

Alertable

includePropertyDefinitions

boolean

n

Default value: false

searchValue

string

n

searchValue

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{}]

Model AssetTypes_Model

POST /rest/v2/asset-management/asset-types

Description

createAssetType

Parameters

NameData TypeRequired?Description

assetTypeRequest

object

y

assetTypeRequest
Example Value
{
"alertable": true,
"assetTypeTemplateId": "string",
"description": "string",
"iconId": "string",
"name": "string",
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"description": "string",
"id": "string",
"name": "string"
}
]
}

Model POST_AssetType_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example Value

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T16:14:14.941Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T16:14:14.941Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T16:14:14.941Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T16:14:14.941Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model POST_createAssetType_Model

GET /rest/v2/asset-management/asset-types/name/{name}

Description

getByAssetTypeName

Parameters

NameData TypeRequired?Description

name

string

y

name

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T16:55:24.358Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T16:55:24.358Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T16:55:24.358Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T16:55:24.358Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model getByAssetTypeName_Model

GET /rest/v2/asset-management/asset-types/property-definitions/{id}/linked-to-asset

Description

isLinkedToAsset

Parameters

NameData TypeRequired?Description

id

string

y

id

value

string

n

value

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"linkedToExistingAsset": true
}

Model isLinkedToAsset_Model

GET /rest/v2/asset-management/asset-types/sc-building

Description

getSCBuildingAssetType

Parameters

NameData TypeRequired?Description

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T18:59:06.971Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T18:59:06.971Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T18:59:06.971Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T18:59:06.971Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model getSCBuildingAssetType_Model

GET /rest/v2/asset-management/asset-types/{id}

Description

getById

Parameters

NameData TypeRequired?Description

id

string

y

id

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:01:31.010Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:01:31.011Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:01:31.011Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:01:31.011Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model getById_Model

PUT /rest/v2/asset-management/asset-types/{id}

Description

update

Parameters

NameData TypeRequired?Description

id

string

y

id

updateAssetTypeRequest

object

y

UpdateAssetTypeRequest

Example Value
{
"alertable": true,
"description": "string",
"iconId": "string",
"name": "string",
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"description": "string",
"id": "string",
"name": "string"
}
]
}

Model updateAssetTypeRequest_Model

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:04:58.619Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:04:58.619Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:04:58.619Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:04:58.619Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model 200_updateAssetTypeRequest_Model

DELETE /rest/v2/asset-management/asset-types/{id}

Description

deleteAssetType

Parameters

NameData TypeRequired?Description

id

string

y

id

X-EB-Organization-Id

string

y

HTTP header

Responses

CodeDescription

200 OK

Example

{
"alertable": true,
"assetTypeTemplateId": "string",
"assetTypeTemplateName": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:11:32.492Z",
"description": "string",
"iconId": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:11:32.492Z",
"legacy": true,
"name": "string",
"organizationId": 0,
"propertyDefinitions": [
{
"allowedValues": [
{}
],
"assetPropertyDataType": "BOOLEAN",
"assetPropertyDisplayType": "MULTIPLE",
"assetPropertyType": "ADDRESS",
"assetTypeId": "string",
"assetTypeTemplateId": "string",
"createdId": 0,
"createdName": "string",
"createdProxyName": "string",
"createdTimestamp": "2021-04-28T19:11:32.492Z",
"description": "string",
"id": "string",
"lastModifiedId": 0,
"lastModifiedName": "string",
"lastModifiedProxyName": "string",
"lastModifiedTimestamp": "2021-04-28T19:11:32.492Z",
"name": "string",
"organizationId": 0,
"seq": 500,
"vccPropertyName": "string"
}
],
"seq": 0
}

Model 200_deleteAssetType_Model