Skip to main content

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

Body

required

The request body that needs to be passed at the time of creating assets.

    owner stringrequired

    Possible values: [Industrility]

    Please enter the name of the owner

    address stringrequired

    Possible values: [Krushna Chowk, New Sangavi]

    Please enter the address where asset is located

    serialNumber stringrequired

    Possible values: [8083557085]

    Please enter the serialNumber of the asset

    customerIndustry stringrequired

    Possible values: [Industrility]

    Please enter the customerIndustry of the asset

    description stringrequired

    Possible values: [asset created via developer portal for testing]

    asset created via developer portal for testing

    telematicsSerialNumber numberrequired

    Possible values: [8083557085]

    Please enter the 10 digit unique telematicsSerialNumber for the each individual asset creation

    type stringrequired

    Possible values: [boiler]

    Please enter the type of the asset

    userName stringrequired

    Possible values: [oem@industrility.com]

    Please enter the userName for which you want to create the asset

    selectedTemplate string

    Possible values: [AssetModel.json]

    Please enter the template associated with asset

    userId stringrequired

    Possible values: [US-oem@industrility.com]

    Please enter the userId for which you want to create the asset

    productVideoLink stringrequired

    Possible values: [www.google.com]

    Please enter the website where asset more information is available

    tags stringrequired

    Possible values: [test]

    Please enter the tags for the asset, please ensure you are entering the comma separated string to create another tag.

    distributorName stringrequired

    Possible values: [Industrility]

    Please enter the distributor name of asset

    modelName string

    Possible values: [LS90]

    Please enter the model name of the asset

    avatarImage string

    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

    assetName stringrequired

    Possible values: [Rental Boiler]

    Please enter the name of the asset

    location string

    Possible values: [{"lat":41.903943,"long":-87.688929}, ``]

    Please add the lat long of the asset in the JSON stringified format.

    model stringrequired

    Possible values: [AM-74067f82-6a33-4627-a7f2-1df6006e3cc1]

    Please enter the model Id

    securityGroups string[]required

    Possible values: [SG-OEM]

    step stringrequired

    Possible values: [meta]

    Please enter the step name

    make stringrequired

    Possible values: [Industrility]

    Please enter the name of maker of this asset

    forgeid string

    Possible values: [dbid:001]

    Please enter the forgeid of asset from 3D diagram

    createDate stringrequired

    Possible values: [2023-11-30T18:30:00.000Z]

    Please enter the create date of the asset

    status string

    Possible values: [active, inactive]

    Please enter the current status of the asset

Responses

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

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...