PUT Assets

Updates the given asset.

Request Information

URI Parameters

None.

Body Parameters

The asset to update

Asset
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Name

string

None.

Description

string

None.

DisplayOrder

integer

None.

AssetType

AssetType

None.

AssetGroup

AssetGroup

None.

ParentAsset

Asset

None.

Location

string

None.

Barcode

Barcode

None.

FormValueNeededDate

date

None.

MeasurementValueNeededDate

date

None.

HasChildren

boolean

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "a5d0e6d4-c432-4b8e-88f7-8a0653e80f79",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "52dfe135-903a-433c-a72c-13c50dde0b17",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "354b063a-8605-4e91-b669-3a2dbbfa8deb",
    "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "AssetGroup": {
    "AssetGroupId": "bd922687-c820-495f-874b-1b13d6ebab95",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
    "MeasurementValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "0bee9f55-17ff-433a-b370-e597fd646ecc",
    "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
    "LastModifiedUser": "sample string 6"
  },
  "ParentAsset": null,
  "Location": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "FormValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
  "MeasurementValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "f412c4c8-bc09-46bd-b82d-66cae27ea0df",
  "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
  "LastModifiedUser": "sample string 8"
}

Response Information

Resource Description

On success, the updated asset.

NameDescriptionTypeAdditional information
Data

Asset

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetId": "3e781e90-6d0f-4559-929e-73d7a3eadf27",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "62232c2c-bf9b-4e35-b5e7-c32312279931",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "6d523102-aab0-475d-9123-2e1719529469",
      "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "580651e7-b08e-4836-8813-9974a5fc6f51",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
      "MeasurementValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "063014ce-8778-4838-9e4a-2aacdb65c188",
      "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
    "MeasurementValueNeededDate": "2024-10-10T15:20:55.8812117-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "e77cbd28-5e40-409d-92c9-69e888b942ff",
    "CreateDate": "2024-10-10T15:20:55.8812117-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T15:20:55.8812117-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}