PUT Assets
Updates the given asset.
Request Information
URI Parameters
None.
Body Parameters
The asset to update
AssetName | Description | Type | Additional 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": "19f1ba83-b211-40bb-b36d-2c79623b4c9b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0e21e2d2-6db3-4978-9ea5-0655cd442e0a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "eae2dd8e-0d1b-4912-8ac0-13545bdf89bb", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ee351fe5-2d4f-4454-b65b-a4bb80613dc0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "MeasurementValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "SourceSystemId": "sample string 3", "CompanyId": "541562ee-82be-4a0f-bb16-0abe86b30ad2", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "MeasurementValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1dfe32e0-03b0-42a1-b98f-1fa8af75cf5d", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the updated asset.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Asset |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetId": "3ab63070-d1f3-4760-80ed-21b8858a0d88", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b92b4d7b-f72c-4d97-b4b9-f0d28fada379", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "54a2d185-7d46-46e5-abb5-fa42f2a8b8de", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "c94ab760-7130-4df1-b26c-4e9080188573", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "MeasurementValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6020a4db-059b-4b21-bd0f-81c0b9cd68d3", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "MeasurementValueNeededDate": "2024-12-09T01:53:20.2586924-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ee757801-4156-405d-b118-62f9fa80e907", "CreateDate": "2024-12-09T01:53:20.2586924-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:53:20.2586924-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }