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": "56eac0de-2da7-4b36-a79f-8338cc6e0968", "Asset": { "AssetId": "a9872d9a-6754-4f38-abe6-589829d11806", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "23c3e78b-d7ef-44e9-95ac-4e84303e544b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5071b77d-6365-4330-9c17-015d168d4408", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e08ada21-2338-4277-9562-612faa7791bc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "MeasurementValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "SourceSystemId": "sample string 3", "CompanyId": "aeb8c495-3318-4e75-a69c-15da9b0302ae", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d94e177a-fd8b-4bdf-8dfc-55a7cf920b0c", "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "StateType": { "StateTypeId": "33bd227a-5f3c-4ed6-8131-9077c8313935", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "23c3e78b-d7ef-44e9-95ac-4e84303e544b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5071b77d-6365-4330-9c17-015d168d4408", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3674f030-d76e-4e82-9048-cc14756d49a6", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fa6d8447-06b8-4e9d-af2b-41b76f51cbf8", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "cfcd321b-c13c-4cb7-8111-fbf050c042ec", "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "StatusType": { "StatusTypeId": "4bae19e9-bdf8-40e5-bf25-728920c4069e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "23c3e78b-d7ef-44e9-95ac-4e84303e544b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5071b77d-6365-4330-9c17-015d168d4408", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3e37d44e-3769-41d2-ae9e-dbcdfca51794", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "50b980e5-96c8-45dd-861c-c13b5675947e", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "MeasurementValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "64d150be-b05d-4142-8bf4-ec58af6d76f8", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "WellPurposeType": { "WellPurposeTypeId": "47216d60-6e16-4356-8aac-b11d5280a2a0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ccc53bec-0ccd-42a3-9f5b-a1b21c6129f3", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5d161fd9-c44e-4d87-a005-09491b3c970c", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-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": "b25cc096-d61e-4ceb-891e-38c36ef37075", "Asset": { "AssetId": "92887ddc-18b1-4104-b807-ab1951f838fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "464c9e6d-b6f7-4d18-8445-6dea8a82345a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dd7c3a3c-1218-4d44-86f7-c290be7bb69c", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0aab955f-44e4-4568-87b5-e9531358f51a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "MeasurementValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a77fc121-f91f-4d27-9481-2563eb7a2705", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "60b03d7e-7a7c-4ee0-b5ef-ff002f4f2f13", "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "StateType": { "StateTypeId": "6338f97d-c9a3-4d89-b2e2-cb418719d0ac", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "464c9e6d-b6f7-4d18-8445-6dea8a82345a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dd7c3a3c-1218-4d44-86f7-c290be7bb69c", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "143b39fe-136f-440b-9d04-664b785e3928", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "75017b39-e367-4eaf-9c76-71f53c0f6103", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "03142b6e-0b51-4968-8297-67c5e49afe32", "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "StatusType": { "StatusTypeId": "6f3b6cf9-838a-49f5-9980-86c7bc79057d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "464c9e6d-b6f7-4d18-8445-6dea8a82345a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dd7c3a3c-1218-4d44-86f7-c290be7bb69c", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ba51b8a0-5aee-40aa-9145-704e114e0cc9", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d17f2997-120c-4dbd-a2c2-00b2869f99c7", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "MeasurementValueNeededDate": "2025-05-09T16:27:37.5517843-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "07e1644f-1f4a-4c01-911f-76500b26fa60", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-09T16:27:37.5517843-07:00", "WellPurposeType": { "WellPurposeTypeId": "19a0945a-67ad-4046-bc75-b8f3a30fc7a1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58e1257c-b8f2-4ddf-aa33-5ba51d3ef7fe", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ee0e4c75-4599-4725-bcd7-6a6a08a04634", "CreateDate": "2025-05-09T16:27:37.5517843-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:27:37.5517843-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }