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
- application/json
Body
required
Add updated information for the particular asset node.
data
object
Possible values: [Broadmoor
]
Owner of the asset.
Possible values: [T5247-1-1
]
Serial number of the asset.
Possible values: [1 Lake Avenue, Colorado Springs, CO 80906, United States of America
]
Address of the asset.
Possible values: [Office & Other Buildings
]
Industry of the customer associated with the asset.
Possible values: [AM-2c831fbe-a7c3-4bab-abbc-7ec860f286e9
]
Previous ID of the asset model.
Possible values: [cble-200-400-150st
]
Description of the asset.
Previous security groups associated with the asset.
Possible values: [8822318579
]
Telematics serial number of the asset.
Possible values: [Boiler
]
Type of the asset.
Possible values: [https://www.youtube.com/watch?v=9xBK4I0Z8Ic
]
Link to the product video.
Possible values: [Broadmoor,Prometha
]
Tags associated with the asset.
Possible values: [Thomas B Mansfield
]
Name of the distributor.
Possible values: [CBLE-200-400-150ST
]
Name of the asset model.
Possible values: [AS-3c69e0c0-4b53-405e-8979-a020cbc639d9
]
ID of the asset to be updated.
Possible values: [Boiler 3
]
Name of the asset.
Possible values: [meta
]
The step in the update process.
Possible values: [AM-2c831fbe-a7c3-4bab-abbc-7ec860f286e9
]
ID of the asset model.
Security groups associated with the asset.
Possible values: [{"lat":38.7925381,"long":-104.8497347}
]
Location of the asset in JSON format.
Possible values: [Industrility
]
Make of the asset.
Possible values: [``]
Forge ID of the asset.
Possible values: [2023-10-22T18:30:00.000+00:00
]
Date when the asset was created.
Possible values: [active
, inactive
]
Status of the asset.
Possible values: [AS-3c69e0c0-4b53-405e-8979-a020cbc639d9
]
ID of the asset to be updated.
Responses
- 200
- 400
- 401
- 502
- 504
200 response
- application/json
- Schema
- Example (from schema)
Schema
location
object
{
"description": "string",
"telematicsSerialNumber": 0,
"type": "string",
"selectedTemplate": "string",
"productVideoLink": "string",
"distributorName": "string",
"model": "string",
"make": "string",
"forgeid": "string",
"createDate": "string",
"owner": "string",
"address": "string",
"serialNumber": "string",
"customerIndustry": "string",
"loggedInUserId": "string",
"userName": "string",
"userId": "string",
"tags": "string",
"accountId": "string",
"modelName": "string",
"avatarImage": "string",
"assetName": "string",
"location": {
"lat": 0,
"long": 0
},
"securityGroups": [
"string"
],
"step": "string"
}
400 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
401 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
502 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
504 response
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}