Skip to main content

Create/Update asset model

PUT 

/UpdateAssetModel

Interface to API endpoint "UpdateAssetModel". based on the model id is present in the payload update the existing model. if there is no model id in payload we will create new model with given details.

Request

Body

required

Create/Update asset model request body

    data

    object

    required

    customProperties string

    Please include the various properties for the asset model in the JSON stringify object.

    modelFamily stringrequired

    Possible values: [CBEX]

    Please provide the modelFamily in which given asset model belongs to.

    customerIndustry stringrequired

    Possible values: [Rental Equipment]

    Please provide the name of the customer industry.

    name stringrequired

    Possible values: [CBEX-E 200-500-150ST]

    Name of the asset model you want to create/update.

    description stringrequired

    Possible values: [cleaver-brooks asset model]

    Write a some suitable description for the asset model

    id string

    Possible values: [AM-39180099-4c65-48d3-8dd8-1c2c5d66540e]

    Please provide the id of the asset model if you want to update the existing asset model.

    modelYear stringrequired

    Possible values: [2022]

    Please provide the model year of the asset

    type stringrequired

    Possible values: [boiler]

    Please provide the type of asset model you are going to create.

    make stringrequired

    Possible values: [Industrility]

    Please provide a make of the asset model

    tags string

    Possible values: [CBEX]

    Add suitable tags for the asset model.

Responses

200 response

Schema

    id stringrequired

    queryResult

    object[]

  • Array [

  • customProperties string
    customerIndustry string
    name string
    description string
    id string
    modelYear string
    type string
    make string
    tags string
  • ]

Loading...