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": "3d807f1c-70bf-4d28-be70-e80f61f66bae", "Asset": { "AssetId": "84620434-e4b0-4f9c-813d-ad8747fe3385", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "007f0846-0177-43d1-86f2-2893f4f1900f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "89a7f4ec-b6da-4167-83c7-111faf5fb06e", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e12016b8-b63f-42e8-b903-3d4bb8ecddcd", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ed8ccda5-a935-445b-86b3-a0380b1cbb48", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "b615b1e8-2535-4d95-bf1a-7150eef67114", "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "StateType": { "StateTypeId": "20d1ed07-15b7-4934-bdbc-eed19c1370ed", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "007f0846-0177-43d1-86f2-2893f4f1900f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "89a7f4ec-b6da-4167-83c7-111faf5fb06e", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "83c18c6a-61d3-44d0-91b6-1214cb6f7dc4", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "61ffe24f-7eef-4b52-a62b-39793ac542f9", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "26fbc79a-f0d0-4e21-8e49-486ef1048932", "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "StatusType": { "StatusTypeId": "a2c42a34-4529-415a-9346-86f49c2fe69c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "007f0846-0177-43d1-86f2-2893f4f1900f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "89a7f4ec-b6da-4167-83c7-111faf5fb06e", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "aecaeeb9-f6cc-407d-8293-673f4d79bf54", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8e1457ac-8e3e-441d-b8b2-cf179a14005f", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1b1426cf-fee9-4b2e-a740-4c091916df8c", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "WellPurposeType": { "WellPurposeTypeId": "74e7c8b5-ffff-46ec-96fa-c59c3026a5bb", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5440f206-48dd-4a95-8941-04c199c0a7d6", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "94fc568c-4a7a-47f0-b206-ff5bfe15b081", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-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": "1f0ebd59-022f-4182-ab3b-fcc92af9ba1b", "Asset": { "AssetId": "63743cef-5f51-467c-ac3f-d4802bd486c6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d708e02a-c5c4-4a4c-9eb8-4e8b1fe32a81", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "448877a7-8f14-4962-b96d-849f59919aa6", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b7592ef0-ff25-403e-ba56-53c95dd10ce3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ad19d78e-8ac0-45ef-86c4-0be72b30935c", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "73ed6444-9120-4853-b99a-0fb525a0f824", "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "StateType": { "StateTypeId": "9fcb418f-363d-4d32-86ff-a7cf5188ee5d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d708e02a-c5c4-4a4c-9eb8-4e8b1fe32a81", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "448877a7-8f14-4962-b96d-849f59919aa6", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "67140428-c233-44b8-b875-5d871cd6d1bb", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "bd3aa3fd-bd19-4550-8e7f-ed01eaf38e9f", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0d5c8a93-cbf0-48fc-b90c-a203ac0c3e3c", "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "StatusType": { "StatusTypeId": "646ae80a-4b68-4c95-9085-224b2304f6a0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d708e02a-c5c4-4a4c-9eb8-4e8b1fe32a81", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "448877a7-8f14-4962-b96d-849f59919aa6", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6cf7bf47-01a3-40f4-829b-fee5571447ad", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f00f632f-1e75-4d17-8291-66bb79756ca2", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:17.5014367-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0118c344-2efb-458e-8ac1-4e936c54ce8c", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-09-13T11:13:17.5014367-07:00", "WellPurposeType": { "WellPurposeTypeId": "c2aa67ed-b58c-41af-ba2d-a56b9670ecec", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "23b4f5ea-3153-432c-8719-9148990d2f10", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "204e3a1f-9815-4a6d-90f4-77d1878f3c41", "CreateDate": "2025-09-13T11:13:17.5014367-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:17.5014367-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }