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": "47080bed-839e-4de0-91cd-3f06f1c59c46", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f41c265a-a4f2-4b35-be40-91efe5bc5070", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5b17a1c5-dabf-47c8-ac5e-112e5ff0dbba", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:27.432041-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "303e262a-5aae-4a6e-871d-ce5409bf1651", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e572a965-3407-45e8-872c-c71eb9580036", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:27.432041-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1d1421bb-3f8d-4116-bdd4-6093d3c484cf", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:27.432041-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": "1787865b-4f60-49c4-a0c7-a501c3ba968d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d2a0d9c3-54eb-43f0-a32e-1bde83620f49", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d5a419e6-81e4-4ee3-908e-0834d2a16a77", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:48:27.432041-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a75afec3-04a8-42d7-a734-690ecb2bf8ab", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "SourceSystemId": "sample string 3", "CompanyId": "8fc4378a-526d-4b4c-88b9-2d0da587541e", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:48:27.432041-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "MeasurementValueNeededDate": "2024-12-21T18:48:27.432041-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "05d46167-69c0-4f71-8501-0522d33e54b2", "CreateDate": "2024-12-21T18:48:27.432041-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:48:27.432041-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }