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": "7b82bb6c-966d-4a70-89f6-8cdecdbd2ce2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6eae66ea-e334-43b5-a4ba-b3218a53ee78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4007d9bb-4654-49d9-ad14-aa466691dbcb", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "367febd0-3af5-436d-b234-7d9fe7346d34", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "MeasurementValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "SourceSystemId": "sample string 3", "CompanyId": "250d20c4-b2e7-4be7-83c0-402839a4820b", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "353c2797-b23c-41f8-8519-e815dcf686c4", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "StateType": { "StateTypeId": "da0d2c37-6b59-44ce-a52a-911f1109d278", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6eae66ea-e334-43b5-a4ba-b3218a53ee78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4007d9bb-4654-49d9-ad14-aa466691dbcb", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "03ddb33f-1aaa-46c7-8581-4a1eda8cdc09", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "96645edd-a784-4ff0-811c-cdfb03065976", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c13da6eb-9150-49d9-826f-c5610ed14dcb", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "StatusType": { "StatusTypeId": "c5a8a55f-2420-49c7-879d-08fbd34a0b31", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6eae66ea-e334-43b5-a4ba-b3218a53ee78", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4007d9bb-4654-49d9-ad14-aa466691dbcb", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d527802b-21c5-47b6-b621-d7d08f6f121f", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1fe00b2a-5d16-4ebd-b047-af5581eb59cb", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3a6aebbf-dcda-40a7-89c6-e3d6026ec120", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "WellPurposeType": { "WellPurposeTypeId": "2fd44b6f-3f34-4112-9433-a4e7a91efbf8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9c5a2cd-555f-403d-8da4-82f496f41594", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c3d772fe-a5bb-4635-bbd3-75f7728cef1d", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "MeasurementValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4b4f4faf-9792-4e67-b2c1-1eac9572b56a", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-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": "67275965-5c41-465f-8706-8acd87e7fd76", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ca440179-0619-42be-a145-e68fe0028d32", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "762507a1-7174-4e3d-a66f-1bbe69a82bfa", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8d5497cf-3b69-4388-aea9-996f731bf8b0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "MeasurementValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6953da01-f7df-42f9-951a-371e04f6d4f6", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5c23509f-adce-4c45-bbf1-bbeedaa3435a", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "StateType": { "StateTypeId": "f432d12a-7dc8-4d32-8150-adee5bf8f651", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ca440179-0619-42be-a145-e68fe0028d32", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "762507a1-7174-4e3d-a66f-1bbe69a82bfa", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "14ca2922-9e65-4ae0-9404-ce4ae3c8dcfb", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fe852080-b891-4037-a551-43f154184813", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "4389be7a-4421-404d-af9e-611c702fd691", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "StatusType": { "StatusTypeId": "3be48aad-eb39-48a5-b15c-a13a6f4f3eaf", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ca440179-0619-42be-a145-e68fe0028d32", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "762507a1-7174-4e3d-a66f-1bbe69a82bfa", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "22aadd6b-5e5b-4b37-a6e8-a493fbc7a41f", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "401d77d4-12fd-4d28-b5a3-89f7e0efa757", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b48e6942-1178-4d39-839f-26b13767a262", "EffectiveDate": "2024-04-18T15:52:57.0905841-07:00", "WellPurposeType": { "WellPurposeTypeId": "4c8251ac-641c-4b32-9f26-d0bf8365af06", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0eaf58b5-f7aa-4f77-a82a-91a50de56a31", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bdbb7ad2-590c-419a-bc65-a6351a31add1", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "MeasurementValueNeededDate": "2024-04-18T15:52:57.0905841-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e7ee0e1c-de2e-49d6-9f03-afc70d84d2ba", "CreateDate": "2024-04-18T15:52:57.0905841-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-18T15:52:57.0905841-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }