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. |
|
State | State |
None. |
|
Status | Status |
None. |
|
WellPurpose | WellPurpose |
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": "3b9ed7e8-268b-4092-83d6-b8e1e432a80e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1724b66d-9c15-401c-a5a6-18df1f01c1a2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4abbeab8-4f19-4a4b-beed-e40f8543e91d", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a72ad486-f547-420b-a665-1124c1dd53a1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "MeasurementValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "SourceSystemId": "sample string 3", "CompanyId": "977bab5f-2dea-4d88-a5f9-2557f6ebdb2c", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "3ce7d845-0e5f-459d-9154-a55cfeef31fc", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "StateType": { "StateTypeId": "971acd22-a01d-4bf1-b6ba-96842dabfa95", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1724b66d-9c15-401c-a5a6-18df1f01c1a2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4abbeab8-4f19-4a4b-beed-e40f8543e91d", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "36e557b7-6469-4e12-b89e-f26b244668e8", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ae7e398a-9f55-41ed-9d7e-10c1fc90e691", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7cd94ea5-9398-4b0a-b079-9207c01cb7dd", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "StatusType": { "StatusTypeId": "85405f05-ba19-4330-a744-74f29a7f41a3", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1724b66d-9c15-401c-a5a6-18df1f01c1a2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4abbeab8-4f19-4a4b-beed-e40f8543e91d", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "26184878-4d1b-4572-8e83-f639a9e4a9ef", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ca3d44d-fd2b-435d-b71d-634266cc26b5", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d1e5ad97-9e37-47c7-948e-4fbdbbbeae67", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "WellPurposeType": { "WellPurposeTypeId": "de297827-bc7f-4a2e-b597-17914f73af7f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a475af11-5e77-4311-a8f8-3cdb353d9f90", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "86ca44fa-ab42-4716-b90f-b0ac08dffe9c", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "MeasurementValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9611b955-05d5-4742-85fe-ae789cb0ca19", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07: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": "d4c735c4-523b-4eed-a1ad-35c7de12fe16", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4cf99de4-b394-456f-a60d-d659cc816568", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8e47044-d3d2-4681-86a6-d96f456cfeb9", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f46991cc-79f3-48d2-86cf-dc1a9c495cc5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "MeasurementValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f8a1e1c2-423a-4a80-9911-df266d233239", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4f4b5640-913d-4dd9-b799-8ba3822c4785", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "StateType": { "StateTypeId": "e9a8faad-edf1-4000-91f1-06fb74ce8daa", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "4cf99de4-b394-456f-a60d-d659cc816568", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8e47044-d3d2-4681-86a6-d96f456cfeb9", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7ad73cf5-edc3-4b4c-8875-10edf281a604", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "cf6c0365-0957-454d-9072-e7a826579f40", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "453ef981-65bc-4fde-ae13-4ed75f70086f", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "StatusType": { "StatusTypeId": "77009bf8-becc-421f-8482-ea32c1629ce8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "4cf99de4-b394-456f-a60d-d659cc816568", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8e47044-d3d2-4681-86a6-d96f456cfeb9", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2b4c01b4-ba6f-4b85-97de-94b7e784dd43", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3ccaeabb-fcf5-4e0f-9d94-06914bcbcb03", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ec6d3fdd-dccc-4b45-b829-6f3071519d7f", "EffectiveDate": "2025-09-13T18:35:43.6865642-07:00", "WellPurposeType": { "WellPurposeTypeId": "aeb728c5-a0ec-46c6-b8ec-87cdc42d9019", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8534f4b9-165f-48e3-8f50-422bf0c8b6ae", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "91154a19-059e-4474-afb3-2635926215f9", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "MeasurementValueNeededDate": "2025-09-13T18:35:43.6865642-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "498b6639-a687-4ab8-9e6f-13caf3cbaeae", "CreateDate": "2025-09-13T18:35:43.6865642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:35:43.6865642-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }