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.

WellKnownText

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.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "0f4e9849-7eb1-4a19-ac93-9425123c3f51",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "5e9dd33a-4742-437a-87bc-8990c4d93174",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "67b1eabb-1968-4a12-a6fa-c2f5ed0cf18e",
    "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
    "CreateUser": "sample string 6",
    "CreateMachine": "sample string 7",
    "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
    "LastModifiedUser": "sample string 8",
    "LastModifiedMachine": "sample string 9"
  },
  "AssetGroup": {
    "AssetGroupId": "5960c31c-4daa-4a2f-b922-9bacd53149db",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
    "MeasurementValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "81d800cc-1481-4359-82cc-bf410f2a1454",
    "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
    "CreateUser": "sample string 5",
    "CreateMachine": "sample string 6",
    "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
    "LastModifiedUser": "sample string 7",
    "LastModifiedMachine": "sample string 8"
  },
  "ParentAsset": null,
  "WellKnownText": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "FormValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
  "MeasurementValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "71bb538b-afa2-4b89-8e66-b4064cd26b52",
  "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
  "CreateUser": "sample string 7",
  "CreateMachine": "sample string 8",
  "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
  "LastModifiedUser": "sample string 9",
  "LastModifiedMachine": "sample string 10"
}

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": "996d3b4c-f50e-49da-8ae1-6bc11749d69a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "96365ca0-fe38-4877-8d58-22b8d3cde670",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "f7a1e625-f7a3-4674-823c-bd5c325cb2bd",
      "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
      "CreateUser": "sample string 6",
      "CreateMachine": "sample string 7",
      "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
      "LastModifiedUser": "sample string 8",
      "LastModifiedMachine": "sample string 9"
    },
    "AssetGroup": {
      "AssetGroupId": "af5e3d42-7b4b-45c5-bb53-83eac66c1985",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
      "MeasurementValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "19303261-e36b-4ac4-a310-bf22041811c0",
      "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    "ParentAsset": null,
    "WellKnownText": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
    "MeasurementValueNeededDate": "2021-04-17T05:16:59.1342569-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "91474119-4ed0-4f7e-8c38-a66b2f9b8d1e",
    "CreateDate": "2021-04-17T05:16:59.1342569-07:00",
    "CreateUser": "sample string 7",
    "CreateMachine": "sample string 8",
    "LastModifiedDate": "2021-04-17T05:16:59.1342569-07:00",
    "LastModifiedUser": "sample string 9",
    "LastModifiedMachine": "sample string 10"
  },
  "Total": 1,
  "Message": "sample string 1"
}