Skip to main content

Update Asset Type

PUT 

/organizations/:organizationId/asset-types/:assetTypeId

Update asset type

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

    assetTypeId stringrequired

    The ID of asset type.

Body

required
    name stringrequired

    The name of asset type

    description string

    The description of asset type

    supportedAssetTypeId string

    The id of supported model

    isIotDevice stringrequired

    Is the asset an IoT device?

    image string

    The custom image of asset type

    encodeCodec string

    The encode codec of asset type

    decodeCodec string

    The decode codec of asset type

    properties object[]

    The properties of asset type

  • Array [
  • ]
  • actions object[]

    The actions of asset type

  • Array [
  • ]

Responses

Schema
    data objectrequired

    Data of the asset type.

    supportedAssetTypeId stringrequired
    name stringrequired
    description stringrequired
    isIotDevice stringrequired
    image stringrequired
    encodeCodec stringrequired
    decodeCodec stringrequired
    properties object[]required
  • Array [
  • ]
  • actions object[]required
  • Array [
  • ]
  • updatedBy stringrequired
    updatedAtDateString stringrequired
    updatedAt numberrequired
Loading...