Skip to main content

Create Asset

POST 

/organizations/:organizationId/assets

Create asset

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

Body

required
    assetTypeId stringrequired

    The asset type ID.

    locationId stringrequired

    The location ID.

    integrationServiceId string

    The integration service ID of asset.

    linkIds string[]

    The IDs of asset.

    name stringrequired

    The name of asset.

    description string

    The description of asset.

    chatRoomId string

    The ID of chat room.

    serialNumber string

    The serial number of asset.

    modelName string

    The model of name.

    nameOfManufacturer string

    The name of manufacturer.

    yearOfManufacture number

    The year of manufacture of asset.

    purchaseCost number

    The purchase cost of asset.

    purchaseDate number

    The purchase date of asset.

    warrantyEndDate number

    The warranty end date of asset.

    uuid string

    The uuid of device to filter assets.

    image string

    The image of asset.

    files string[]

    The files of asset.

    keepAlive number

    The interval of keep alive.

Responses

Schema
    data objectrequired

    Data of the asset.

    id stringrequired
    organizationId stringrequired
    assetTypeId stringrequired
    locationId stringrequired
    integrationServiceId stringrequired
    linkIds string
    name stringrequired
    description stringrequired
    chatRoomId stringrequired
    serialNumber stringrequired
    modelName stringrequired
    nameOfManufacturer stringrequired
    yearOfManufacture numberrequired
    purchaseCost numberrequired
    purchaseDate numberrequired
    warrantyEndDate numberrequired
    assetType objectrequired
    id stringrequired
    name stringrequired
    isIotDevice stringrequired
    supportedAssetTypeId stringrequired
    properties object[]required
  • Array [
  • ]
  • location objectrequired
    id stringrequired
    name stringrequired
    devEui string
    uuid string
    image stringrequired
    files required
    keepAlive number
    connectionStatus boolean
    status string
    shadows objectrequired
    createdAtDateString numberrequired
    createdAt numberrequired
Loading...