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": "abd952e7-a92a-472b-9947-3c2af9498342", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e9e10550-b5fe-4799-802d-8eaa7480d450", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "409778e8-8a7b-4433-8458-6065ae2d76c1", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:53:34.8495945-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ea21419d-0546-4b57-bb66-f1f40ad4d909", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "MeasurementValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "SourceSystemId": "sample string 3", "CompanyId": "abc36053-6fd2-4b18-9d60-22d4fc77d407", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:53:34.8495945-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "MeasurementValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6ea59dba-39e6-41db-8990-6c2ae60d903a", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:53:34.8495945-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": "a4ba9543-9e94-444b-8412-25adaeea051b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "69098c37-16ea-49d8-92e9-b00e4a20a7e0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6b3f1534-1553-4fcc-92af-8e847312fd99", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:53:34.8495945-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "71f074ca-160e-450f-a95c-a64ea21b9dc4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "MeasurementValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "SourceSystemId": "sample string 3", "CompanyId": "be22e509-87e5-4bd8-a2d1-5e46f49ae7f9", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:53:34.8495945-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "MeasurementValueNeededDate": "2024-12-22T02:53:34.8495945-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "fa386b17-1e26-4a52-ac62-2ea3cac240fe", "CreateDate": "2024-12-22T02:53:34.8495945-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:53:34.8495945-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }