assettypes

update a single asset type.

Request Information

URI Parameters

None.

Body Parameters

UpdateAssetTypeDto
NameDescriptionTypeAdditional information
id

An asset type id

integer

Required

Range: inclusive between 1 and 9.22337203685478E+18

name

Asset type name

string

Required

Max length: 255

description

Asset type description

string

None.

attributeTemplates

A collection of attribute templates of the asset type

Collection of AssetTypeAttributeDto

None.

groupId

The asset group Id of the asset type

integer

None.

Response Information

Standard Responses

ResultOfUpdateAssetTypeResponseDto

NameDescriptionTypeAdditional information
data

UpdateAssetTypeResponseDto

None.

wasSuccessful

boolean

None.

errors

Collection of string

None.

Error Responses

HTTP Status CodeError MessageTypeAdditional Information
400 - BadRequest

None.

None.