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": "84e339d4-4aa2-495a-a2ad-4174f5d08c40", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6f6989b1-516a-4076-9c8e-23560afc6a33", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b1e0e480-b11a-41b9-b53a-cfe19f366f66", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "bc02f24f-d84c-4598-af8e-89143c760d00", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:55:39.0796725-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:39.0796725-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cd5ce7ab-e63a-4b78-8b22-0cdbdef5ec73", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cb2e1a21-7fc5-4c46-b4b5-d950014a9838", "EffectiveDate": "2025-01-30T16:55:39.0796725-08:00", "StateType": { "StateTypeId": "a2ae481a-b66c-405a-91d7-8635d0ae0749", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6f6989b1-516a-4076-9c8e-23560afc6a33", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b1e0e480-b11a-41b9-b53a-cfe19f366f66", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5f39ebb7-1a72-4b53-9e4e-5513a3a50fe4", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6eb0f1c6-c56c-45f3-a312-98b878bfb486", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0ec71c9e-917a-4b2f-82ef-b958c574f66b", "EffectiveDate": "2025-01-30T16:55:39.0796725-08:00", "StatusType": { "StatusTypeId": "3ad90baf-2256-4350-b3fd-309ff0fc259d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6f6989b1-516a-4076-9c8e-23560afc6a33", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b1e0e480-b11a-41b9-b53a-cfe19f366f66", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "24c15569-40b4-40a3-8017-1908d84759a0", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b885c234-6668-476d-bd81-b886794ae285", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "49f9e027-58d4-42ae-8dbf-8243ac069de5", "EffectiveDate": "2025-01-30T16:55:39.0796725-08:00", "WellPurposeType": { "WellPurposeTypeId": "323abfd5-f65d-4c08-8c96-160ce5528213", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e2d8d621-0ebe-4b93-9b07-c54e6310facd", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ee468fb5-c05e-4c2c-9dcd-6d72cfe48101", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0796725-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:55:39.0796725-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:39.0796725-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d76bf399-c6e3-43f5-baf2-40e191837496", "CreateDate": "2025-01-30T16:55:39.0796725-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0796725-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": "855e460a-b338-4f27-b1c6-7e520dc2ce2a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "73d068da-900e-4321-9a58-1ac043fb161b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8a71ed1-cb35-42a8-97e7-53f1e988d5ef", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b4ce060e-963f-4736-b853-17a482cc7512", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:55:39.0952923-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:39.0952923-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7963abca-fcdc-4035-a68a-0f2288ab7e43", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bccd116d-2ab3-474f-b8d8-d84c208cdbd2", "EffectiveDate": "2025-01-30T16:55:39.0952923-08:00", "StateType": { "StateTypeId": "740fb7cf-fb6e-4648-861d-cbcfa7d0c582", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "73d068da-900e-4321-9a58-1ac043fb161b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8a71ed1-cb35-42a8-97e7-53f1e988d5ef", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4bd461a0-4f72-4876-9096-dfd7b898f0b3", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d8dbf7d8-1e1c-452f-8d4d-7102863b861f", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c009d9ac-c938-4c48-b661-c833ce0a02cc", "EffectiveDate": "2025-01-30T16:55:39.0952923-08:00", "StatusType": { "StatusTypeId": "dd0cff69-23ee-405f-be3b-fa545afd67c1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "73d068da-900e-4321-9a58-1ac043fb161b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8a71ed1-cb35-42a8-97e7-53f1e988d5ef", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "607567b2-7275-4141-813d-321f000a3fa4", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a5c7066f-2ce7-4f2d-8bba-cf31bee19179", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3c86836b-42ad-49c4-84ac-f86f76ed090e", "EffectiveDate": "2025-01-30T16:55:39.0952923-08:00", "WellPurposeType": { "WellPurposeTypeId": "a6d923cc-1c5c-4990-b067-aae888c5870e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dc9fe310-e3e3-4233-a9b3-2c5a583fbed6", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ef20d4b6-cc15-4259-83eb-7395c0402557", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:55:39.0952923-08:00", "MeasurementValueNeededDate": "2025-01-30T16:55:39.0952923-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c9830ede-d19c-426d-ac42-29ddbba1c9e7", "CreateDate": "2025-01-30T16:55:39.0952923-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:55:39.0952923-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }