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": "12f0e6ff-9a22-49c7-8ce8-b78f87c4e210", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1cd2002a-ce81-44d9-974f-4efd7e431f8c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fe41ae58-e2fb-4381-877b-8017b7dbd595", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "39ee3847-2a51-4a94-a5f8-a725a2df3567", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "MeasurementValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dd8dfa46-ddd4-4ee3-ab00-7b7573e6839e", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5a9fff3e-fc15-4e83-badf-e1b7cfa410de", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "StateType": { "StateTypeId": "967bda22-4629-420a-ac19-4756d1461c97", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1cd2002a-ce81-44d9-974f-4efd7e431f8c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fe41ae58-e2fb-4381-877b-8017b7dbd595", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "39aa6425-c307-47c3-a094-01618fefb6cc", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a3d5a1f0-ea3d-46f9-a40c-7265abe003da", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e7f2f0b7-18d6-460d-9245-300117d034bd", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "StatusType": { "StatusTypeId": "47a8046c-71fb-4904-bff9-e7830df5569a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1cd2002a-ce81-44d9-974f-4efd7e431f8c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fe41ae58-e2fb-4381-877b-8017b7dbd595", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e4b69877-a4d3-4988-b400-120e4ea5bd20", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a3bdb7fa-4d06-4d45-be0f-6e2a9ae09c96", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3c213b02-f17a-4074-b2eb-a8607c92a865", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "WellPurposeType": { "WellPurposeTypeId": "18c0cfcf-9da5-496b-a624-8a9e38071405", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ab633ec8-c8ca-4201-8df0-c46009f3bea4", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5b4857fa-1e5a-4ce7-a697-e82fc7b92c5c", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "MeasurementValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ee572b69-9629-4be5-952b-5f55bb349150", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-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": "7136b973-1493-49b1-a464-849ce31a3aaa", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a6bb5adc-675c-4e33-af80-56dc8d131694", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e185a85-6a20-4d4f-967f-9911f24ec411", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3f25011f-a943-4842-adb4-fc70d06a5fb0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "MeasurementValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "SourceSystemId": "sample string 3", "CompanyId": "1ff5f93d-ca3e-41ff-aae6-308019b7bd62", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "0df280a6-98f2-4a41-a1ea-29093a5f275f", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "StateType": { "StateTypeId": "08604eea-181a-4beb-a88f-3d364a5369b5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a6bb5adc-675c-4e33-af80-56dc8d131694", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e185a85-6a20-4d4f-967f-9911f24ec411", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "39dd807c-a33a-479a-8d6e-25a1ab3bd307", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "bd6c2212-d64e-4c45-b8d1-0e46eb868cea", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "eca0f239-2bf7-4c2e-a2d2-9b4d330b664b", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "StatusType": { "StatusTypeId": "3d4d8d81-67f3-430c-bf52-56eda5d75873", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a6bb5adc-675c-4e33-af80-56dc8d131694", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e185a85-6a20-4d4f-967f-9911f24ec411", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "337373ec-e5c3-4926-b017-df4fb9e183ec", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ab815967-5acb-455f-a07e-479bf8408628", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "487b3a5e-932b-425f-94c6-bdab6a57c682", "EffectiveDate": "2024-12-21T07:05:45.9559247-08:00", "WellPurposeType": { "WellPurposeTypeId": "516c17fd-1316-42e4-9d73-45a31a1c2979", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8ee2b024-45ff-4ca0-ab71-f77f4bbfaf40", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "676dcf3f-085b-4113-b619-4013cf623b3c", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "MeasurementValueNeededDate": "2024-12-21T07:05:45.9559247-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "39e38db9-1cda-4909-9244-629f0c7b386a", "CreateDate": "2024-12-21T07:05:45.9559247-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:05:45.9559247-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }