PUT WellPurposes
Updates the given well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to be updated
WellPurpose| Name | 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": "e830aed5-98e0-4e4a-bb4a-78128c67fd11",
"Asset": {
"AssetId": "c0aa6788-af48-4527-92a5-466a50cda129",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "04256d3b-5e93-402d-a634-ee228beca439",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2f018dab-b766-4902-9d1b-1a84384a05af",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5241bfe0-70ba-444b-a407-8c6e6174fa2a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "409d6612-4a10-496d-b590-59123d63bc97",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "de6cac76-503b-4722-bf01-cda93ca861e9",
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"StateType": {
"StateTypeId": "5c4dc4ab-71cc-4e25-9f05-5379e961d571",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "04256d3b-5e93-402d-a634-ee228beca439",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2f018dab-b766-4902-9d1b-1a84384a05af",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f637e7e0-d132-4a12-ae69-02196a72468a",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f871e948-6fc3-4218-8dde-7a5ff59af555",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ab613f56-fa0d-489e-9fb8-2446c953ae7b",
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"StatusType": {
"StatusTypeId": "a85de586-ca6b-41e3-adb8-160b03f460c9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "04256d3b-5e93-402d-a634-ee228beca439",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2f018dab-b766-4902-9d1b-1a84384a05af",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "060605aa-fc04-4d7c-99b4-4776c89c5200",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "df6ee947-0cc4-41c8-b803-8f55023ec42f",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "24f4a7d2-7f06-498c-b36c-d9727d76fd62",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "2cb71c04-4246-429b-9993-aaa2ff8c56eb",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4b1b1041-7fbe-4253-ae51-236f95bd62c9",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "75a1dedc-3b67-42f9-aeb9-9c3d6944b969",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-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": "9b13d7d5-4756-4614-a81a-e74ba51d4a1b",
"Asset": {
"AssetId": "22ca6b26-530a-4d9d-a0af-cff8d40b47c4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7f4dec38-873f-4548-aa1c-a37898954476",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c911c248-45d9-4c63-9cff-4c70d0c06502",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "33a06b1d-b9f3-4a76-ad76-06036fbf473e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "08cfda03-c935-4ef6-a7c4-bb1519dbbd8d",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "13bac8eb-e1da-40a8-b38c-3619d2945f0d",
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"StateType": {
"StateTypeId": "f79b25ea-55de-4abb-8ac5-fcc3cb6e0473",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7f4dec38-873f-4548-aa1c-a37898954476",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c911c248-45d9-4c63-9cff-4c70d0c06502",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b9a27981-a399-42e6-8042-84af0227a0ca",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "281d60c7-71e4-46c2-99b4-519684e054f0",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0faee81b-7425-46d1-89f5-0ef459404b67",
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"StatusType": {
"StatusTypeId": "3f7e4d45-e94e-41aa-bdd6-76c9a6135fa8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7f4dec38-873f-4548-aa1c-a37898954476",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c911c248-45d9-4c63-9cff-4c70d0c06502",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "398ff791-e791-4e07-bb05-93ce9fc6a531",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "725e6f64-1a96-4cc3-8203-c87315e73fbd",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:37:36.2841768-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "47107771-0777-427c-b0ad-2c321ddb705c",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-24T21:37:36.2841768-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f9b1f79c-5cc1-4aa9-abcd-da5596c46b90",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e80c79c4-d86a-431f-b96a-2a9ca3716ec8",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "726a7688-fa28-4930-bb9c-e1a44e8433f3",
"CreateDate": "2026-08-24T21:37:36.2841768-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:37:36.2841768-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}