Create asset
POST/CreateAssets
Create relationship b/w asset node and logged-in user's account, Create relationship b/w security groups and asset node, Create relationship b/w asset node and asset model, Create asset creation timeline event.
Request
- application/json
Body
required
The request body that needs to be passed at the time of creating assets.
Possible values: [Industrility
]
Please enter the name of the owner
Possible values: [Krushna Chowk, New Sangavi
]
Please enter the address where asset is located
Possible values: [8083557085
]
Please enter the serialNumber of the asset
Possible values: [Industrility
]
Please enter the customerIndustry of the asset
Possible values: [asset created via developer portal for testing
]
asset created via developer portal for testing
Possible values: [8083557085
]
Please enter the 10 digit unique telematicsSerialNumber for the each individual asset creation
Possible values: [boiler
]
Please enter the type of the asset
Possible values: [oem@industrility.com
]
Please enter the userName for which you want to create the asset
Possible values: [AssetModel.json
]
Please enter the template associated with asset
Possible values: [US-oem@industrility.com
]
Please enter the userId for which you want to create the asset
Possible values: [www.google.com
]
Please enter the website where asset more information is available
Possible values: [test
]
Please enter the tags for the asset, please ensure you are entering the comma separated string to create another tag.
Possible values: [Industrility
]
Please enter the distributor name of asset
Possible values: [LS90
]
Please enter the model name of the asset
Possible values: [avatar-male.png
, avatar-male1.png
, avatar-male-2.png
, avatar-male-3.png
, avatar-male-4.png
, avatar-female.png
, avatar-female-2.png
, avatar-female-3.png
, ``]
Please enter avatar of the user
Possible values: [Rental Boiler
]
Please enter the name of the asset
Possible values: [{"lat":41.903943,"long":-87.688929}
, ``]
Please add the lat long of the asset in the JSON stringified format.
Possible values: [AM-74067f82-6a33-4627-a7f2-1df6006e3cc1
]
Please enter the model Id
Possible values: [SG-OEM
]
Possible values: [meta
]
Please enter the step name
Possible values: [Industrility
]
Please enter the name of maker of this asset
Possible values: [dbid:001
]
Please enter the forgeid of asset from 3D diagram
Possible values: [2023-11-30T18:30:00.000Z
]
Please enter the create date of the asset
Possible values: [active
, inactive
]
Please enter the current status of the asset
Responses
- 200
- 400
- 401
- 502
- 504
200 response
Response Headers
Access-Control-Expose-Headers
string
manages CORS exposed headers
Access-Control-Allow-Origin
string
manages CORS
Content-Range
string
data range of result
X-Total-Count
string
length of output
Access-Control-Allow-Headers
string
manages header for CORS
Content-Type
string
data type of content
- 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"
}