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": "ef7dd483-6032-41f3-a255-1503ee264da7", "Asset": { "AssetId": "fefb6c1d-e209-4725-9129-ffe8ec7b652f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "fdb1dffd-8de4-489b-8f26-a5bff17dca12", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0ac11fa3-2538-4456-9fd6-1d9209d53978", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "161e7393-ac5f-4a59-8dca-421d5bd04df7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "MeasurementValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d3170889-440e-40b4-b841-4066ef233017", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a53f28a6-9470-4837-a0c3-c99cdca6b759", "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "StateType": { "StateTypeId": "e9ca46f1-fbb0-42da-a96d-0546cbc92ddb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "fdb1dffd-8de4-489b-8f26-a5bff17dca12", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0ac11fa3-2538-4456-9fd6-1d9209d53978", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e8f4e8b1-2f9b-4f95-b22e-28e36a46ccfc", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5868c285-8e46-4124-b788-6e0e638232ea", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "bed94004-83cd-4738-8d69-55f0c3c70dea", "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "StatusType": { "StatusTypeId": "0e435bf3-ff45-4967-a9eb-a258079e8ca9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "fdb1dffd-8de4-489b-8f26-a5bff17dca12", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0ac11fa3-2538-4456-9fd6-1d9209d53978", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "36140972-352b-41cf-967c-843b5a0ec650", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8fc54879-d22e-45cb-af9d-ca85b32fdc85", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "MeasurementValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "585d7f9e-33bd-4a22-afd5-ac2dfa1d124b", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "WellPurposeType": { "WellPurposeTypeId": "b0b7c379-4773-4b04-a050-d67625e9e3fd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dae4e944-55d5-491e-a5a1-5168de09bba5", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c3716927-5257-4c92-8e18-d69812ed0441", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-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": "ff18a070-efba-4af9-ba1f-489dc664f41f", "Asset": { "AssetId": "81dfd790-8179-4ab1-84e2-1d14d8a0afd6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c960f53d-e21b-48c2-9f7d-18e8191eccc1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "92a19873-249d-450a-8c6c-3a735e2f60b0", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d5b76d78-046a-4840-97dd-e6a127c4901a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "MeasurementValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b814ad75-309c-4cf8-ab66-9700f7f5e72d", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "7af6d765-5026-4590-a82f-1c78fe52465f", "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "StateType": { "StateTypeId": "85f7dfb1-cd79-4e37-ba17-b913e5fbea03", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c960f53d-e21b-48c2-9f7d-18e8191eccc1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "92a19873-249d-450a-8c6c-3a735e2f60b0", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "fac3b5ba-fdca-43ec-8fc1-8b4f03ea237a", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1c5de87d-e243-4df4-b744-8a3f9c81c61e", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d5ff2ba4-9f18-4a50-9458-3ecb60865535", "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "StatusType": { "StatusTypeId": "5ca1f2c5-0867-4b14-8e5c-e2a484a938f0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c960f53d-e21b-48c2-9f7d-18e8191eccc1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "92a19873-249d-450a-8c6c-3a735e2f60b0", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "38ad2d4d-ca7b-4902-99f6-7539249b8803", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "602965e1-8bc4-434b-8429-7988a143fcef", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "MeasurementValueNeededDate": "2025-05-08T11:48:46.2049219-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "21371f06-6343-4c2b-9e01-390d79354626", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-08T11:48:46.2049219-07:00", "WellPurposeType": { "WellPurposeTypeId": "1aa2cc26-e490-4f94-9dca-fc0dbd695f51", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "60f70c35-0ef6-447c-b26d-0ca718f7cd67", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "882ee45d-f620-4438-bbc7-d9d4c4bad0a3", "CreateDate": "2025-05-08T11:48:46.2049219-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T11:48:46.2049219-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }