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": "64f4eecd-011a-43bc-a926-7851da4e36cd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1fa997e4-74c0-4920-a734-09998a86d800", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c41eab46-5736-4bdd-83a0-bf1e02b3bfae", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:15:50.4413212-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "57ff748d-68e1-4a17-b479-a95d22f0209b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "MeasurementValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c686ef7a-5ea1-4de9-800a-a22d13f7fb9f", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:15:50.4413212-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "MeasurementValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4a1594e9-86c3-45e2-b645-59baaf0fc953", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:15:50.4413212-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": "c83510d4-d526-4903-8189-05eae464bf2c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "029445b9-6ddd-475a-a469-f38fa58e0ef0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6c046074-0e6b-43d2-8cfb-78ba8fc2d1bb", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:15:50.4413212-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ea89fe4b-4847-460b-ae2d-53bc205c6a3d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "MeasurementValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7c3d2f77-f847-4268-9860-0ee7bacf9b8a", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:15:50.4413212-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "MeasurementValueNeededDate": "2024-11-21T05:15:50.4413212-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dcca7cbb-e35c-441e-9410-ab647dae5f9c", "CreateDate": "2024-11-21T05:15:50.4413212-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:15:50.4413212-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }