Skip to main content

Create Asset Type

POST 

/organizations/:organizationId/asset-types

Create asset type

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

Body

required
    name stringrequired

    The name of asset type

    description string

    The description of asset type

    supportedAssetTypeId string

    The id of supported model

    image string

    The custom image of asset type

    encodeCodec string

    The encode codec of asset type

    decodeCodec string

    The decode codec of asset type

    isIotDevice booleanrequired

    Is the asset an IoT device?

    properties object[]

    The properties of asset type

  • Array [
  • ]
  • actions object[]

    The actions of asset type

  • Array [
  • ]

Responses

Schema
    data object[]required

    Data of the asset type.

  • Array [
  • id stringrequired
    organizationId stringrequired
    supportedAssetTypeId stringrequired
    name stringrequired
    description stringrequired
    isIotDevice stringrequired
    image stringrequired
    encodeCodec stringrequired
    decodeCodec stringrequired
    properties object[]required
  • Array [
  • ]
  • properactionsties object[]required
  • Array [
  • ]
  • createdBy stringrequired
    createdAtDateString numberrequired
    createdAt numberrequired
  • ]
Loading...