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": "392ab488-82cc-406d-9399-bbe124413c56",
"Asset": {
"AssetId": "2329c89f-3e3d-4233-8553-6b1d5d3b5cff",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bd59a5b1-55ca-4fe5-891b-5c7f00fbc1bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "273df2b3-d93f-4446-ae70-dd21502fe418",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "20031d74-c35e-4723-9a19-1efe44c99840",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2e8fd76-1940-4b40-a048-d23466b0ef0b",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2e7d6161-af46-4a08-98c1-4cfa554767a1",
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"StateType": {
"StateTypeId": "e141b741-b93e-4adf-be2e-5d28dd07f3b8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bd59a5b1-55ca-4fe5-891b-5c7f00fbc1bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "273df2b3-d93f-4446-ae70-dd21502fe418",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4680dd35-6cf5-4076-a22a-a187d4c7f38e",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "897b1e57-ab35-4e73-9e8a-a30ca0103634",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e315ed0b-1a21-4d2e-ad34-f54da499d439",
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"StatusType": {
"StatusTypeId": "b359d60c-82ff-4a96-b8dc-7ff63712ebe4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bd59a5b1-55ca-4fe5-891b-5c7f00fbc1bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "273df2b3-d93f-4446-ae70-dd21502fe418",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b8e6c4ac-e916-4c01-a6b5-d4bb0ce59e85",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b437f0eb-b277-4fbe-90d6-c4803e85ddc4",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "811eec55-c90b-47d7-a83b-93b1c0a13d52",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "746560bf-a19e-4c5f-8ec7-5abae190057b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0045dc01-ecf9-4f24-b46c-8a095373aa75",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f8a9ed58-dbb0-4d4f-878e-716a1e876086",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-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": "85206ab0-5e52-4681-b329-35402ed01629",
"Asset": {
"AssetId": "efaccd51-0b24-4f8f-ac8f-b77412dff6fa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "cf100b75-0a4b-4bdc-9728-777fe72ce92e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "84ada4b5-0af9-4496-84e3-39775ac959d2",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "35a4ae8e-93fc-4d20-b0a8-246ee41b36b5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "17e73ec5-5b86-45d6-ad0f-3b0d52eaf532",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "c65653ee-cb33-4670-a1e9-5fde3644f505",
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"StateType": {
"StateTypeId": "c9e5b10c-9df2-43a9-8d46-f796aa8cd917",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "cf100b75-0a4b-4bdc-9728-777fe72ce92e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "84ada4b5-0af9-4496-84e3-39775ac959d2",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d218b453-62b6-4230-b9ff-318fe3b9f6bf",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5589ac62-4217-432b-b7d6-1a9c3386f23c",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5a94f289-eb60-4b32-b93b-e4ba51303bbc",
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"StatusType": {
"StatusTypeId": "9c1ef4a7-e6d1-4936-b27e-2821cd6576e8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "cf100b75-0a4b-4bdc-9728-777fe72ce92e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "84ada4b5-0af9-4496-84e3-39775ac959d2",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fe4db98b-c2ea-454c-9acc-85b586f38832",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5792a845-4a93-4480-bc76-56c3c5d58036",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:50.6382815-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "da83a14d-8c30-472d-a2d6-41cd3c0e6437",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T16:51:50.6382815-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "57eff1ec-d9c6-4b08-9eb0-7033e1c5a2f4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c054aa99-c72d-4e9b-8d0f-c7186ddc7141",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8c6f9ce3-cdb9-4326-8835-e6f8b2e93cf6",
"CreateDate": "2026-03-30T16:51:50.6382815-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:50.6382815-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}