PUT WellPurposes
Updates the given well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to be updated
WellPurposeName | Description | Type | Additional information |
---|---|---|---|
WellPurposeId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
EffectiveDate | date |
None. |
|
WellPurposeType | WellPurposeType |
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:
{ "WellPurposeId": "d2c72655-76a8-4c96-afa6-a7a3ee24f4ff", "Asset": { "AssetId": "802f5041-b560-4bb3-ad07-b669700259ac", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "27837b73-20b4-4b57-9224-94f4fbec7e40", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f38a448c-5937-4d9e-a1cf-6b7995672462", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "45dda855-86ac-4580-90a6-52efd466ce97", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "31335af7-087f-4b16-8565-32efa4dd8222", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "0d388d37-7df6-42c2-a4de-7a7b830e0843", "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "StateType": { "StateTypeId": "baa4596d-4828-40a2-adf7-dd6bd071a8d5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "27837b73-20b4-4b57-9224-94f4fbec7e40", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f38a448c-5937-4d9e-a1cf-6b7995672462", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4f568e42-323a-4983-843f-1ba0668c93ee", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "813bb7e7-c779-4245-8e44-7440650b4f05", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "63fb4044-9397-4c60-aae3-73c579dd7b48", "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "StatusType": { "StatusTypeId": "0525cf82-a3ff-4396-a62a-6eb8034bc0bc", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "27837b73-20b4-4b57-9224-94f4fbec7e40", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f38a448c-5937-4d9e-a1cf-6b7995672462", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "751dd780-f5e5-4072-a29b-9a9b4526f4ab", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "be2217c3-42cb-4763-b084-4891a1c2007e", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e1202c34-42a0-4d6e-bd33-ffe64774b2f0", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "WellPurposeType": { "WellPurposeTypeId": "723ab0e3-98a2-4b7b-be01-8a3d30037e33", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "db9f4b27-d0c1-4e78-9113-7cc26bf0ad36", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4d10fbf1-3332-4874-af36-817e5b6d9c51", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }
Response Information
Resource Description
On success, the updated well purpose.
Name | Description | Type | Additional information |
---|---|---|---|
Data | WellPurpose |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "WellPurposeId": "07cd5c97-024d-4a03-b88b-13cfdc394ae3", "Asset": { "AssetId": "d7949974-1893-445a-9644-be2b64162947", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bd9d2c62-cdd7-4fc8-9b0f-86adb958bb69", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d272d080-f496-4dac-adaf-0d468ee1656f", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d5c99356-64b2-4a39-9f61-57b2072c4ae3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5f22874c-fe41-41af-9398-b3e81562b70c", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "89c50534-cb42-478d-b794-b9daefc64df6", "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "StateType": { "StateTypeId": "ac437be2-0fa8-4546-aea9-163eb3f00ff5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "bd9d2c62-cdd7-4fc8-9b0f-86adb958bb69", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d272d080-f496-4dac-adaf-0d468ee1656f", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "f0c3695e-41de-4bcf-a7d5-d09819b4398e", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c18bfc41-b7e2-4dbb-85a5-9550cdbcdc9b", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "61f3f51d-6580-4147-9b42-9ed8684665bd", "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "StatusType": { "StatusTypeId": "3f03e509-47bb-45e6-8575-bf12380c76ef", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "bd9d2c62-cdd7-4fc8-9b0f-86adb958bb69", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d272d080-f496-4dac-adaf-0d468ee1656f", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2645d961-3fe5-4509-bfe0-4abd21daccc8", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2df244a8-c175-480a-85e5-48d36dd469f8", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:09.4437804-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b0340b9d-f34c-4531-9f27-0c4f4528c58a", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T17:19:09.4437804-07:00", "WellPurposeType": { "WellPurposeTypeId": "5aae6a5a-193d-4a88-841e-bea7d9c1e74d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b1ceba2c-094e-4512-a707-92c31946fcef", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bdfc9371-a7f4-47e5-9774-5f5ba94f0940", "CreateDate": "2025-08-29T17:19:09.4437804-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:09.4437804-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }