Skip to main content

Update asset data

PUT 

/UpdateAsset

Update asset node in graph database based on the step provided in the request body object based on the step name we performed the different operation in the database.

Request

Body

required

Add updated information for the particular asset node.

    data

    object

    owner stringrequired

    Possible values: [Broadmoor]

    Owner of the asset.

    serialNumber stringrequired

    Possible values: [T5247-1-1]

    Serial number of the asset.

    address stringrequired

    Possible values: [1 Lake Avenue, Colorado Springs, CO 80906, United States of America]

    Address of the asset.

    customerIndustry stringrequired

    Possible values: [Office & Other Buildings]

    Industry of the customer associated with the asset.

    modelOld stringrequired

    Possible values: [AM-2c831fbe-a7c3-4bab-abbc-7ec860f286e9]

    Previous ID of the asset model.

    description stringrequired

    Possible values: [cble-200-400-150st]

    Description of the asset.

    securityGroupsOld string[]required

    Previous security groups associated with the asset.

    telematicsSerialNumber integerrequired

    Possible values: [8822318579]

    Telematics serial number of the asset.

    type stringrequired

    Possible values: [Boiler]

    Type of the asset.

    productVideoLink stringrequired

    Possible values: [https://www.youtube.com/watch?v=9xBK4I0Z8Ic]

    Link to the product video.

    tags stringrequired

    Possible values: [Broadmoor,Prometha]

    Tags associated with the asset.

    distributorName stringrequired

    Possible values: [Thomas B Mansfield]

    Name of the distributor.

    modelName stringrequired

    Possible values: [CBLE-200-400-150ST]

    Name of the asset model.

    assetId stringrequired

    Possible values: [AS-3c69e0c0-4b53-405e-8979-a020cbc639d9]

    ID of the asset to be updated.

    assetName stringrequired

    Possible values: [Boiler 3]

    Name of the asset.

    step stringrequired

    Possible values: [meta]

    The step in the update process.

    model stringrequired

    Possible values: [AM-2c831fbe-a7c3-4bab-abbc-7ec860f286e9]

    ID of the asset model.

    securityGroups string[]required

    Security groups associated with the asset.

    location string

    Possible values: [{"lat":38.7925381,"long":-104.8497347}]

    Location of the asset in JSON format.

    make stringrequired

    Possible values: [Industrility]

    Make of the asset.

    forgeid string

    Possible values: [``]

    Forge ID of the asset.

    createDate date-timerequired

    Possible values: [2023-10-22T18:30:00.000+00:00]

    Date when the asset was created.

    status stringrequired

    Possible values: [active, inactive]

    Status of the asset.

    id stringrequired

    Possible values: [AS-3c69e0c0-4b53-405e-8979-a020cbc639d9]

    ID of the asset to be updated.

Responses

200 response

Schema

    description string
    telematicsSerialNumber numberrequired
    type string
    selectedTemplate string
    productVideoLink string
    distributorName string
    model stringrequired
    make string
    forgeid string
    createDate string
    owner string
    address string
    serialNumber stringrequired
    customerIndustry string
    loggedInUserId stringrequired
    userName stringrequired
    userId stringrequired
    tags string
    accountId string
    modelName string
    avatarImage string
    assetName stringrequired

    location

    object

    lat number
    long number
    securityGroups string[]required
    step string
Loading...