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": "a126c3e7-ccef-4b69-b809-308f4c57ca26",
"Asset": {
"AssetId": "9b466045-8da7-4318-9203-3708df59ad10",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fcb19706-e0e6-4d73-9cbc-3d5dd4ada96c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0ef72d48-021a-425b-812a-bc25d76f8cf9",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e7de8e79-6700-4d81-bfd2-3629d57b727b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "81a6eadc-1f40-435c-b2b7-505ac3ec1ba6",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5edd063b-29f4-4c93-931b-4f89c561a09e",
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"StateType": {
"StateTypeId": "a4fb1155-118c-437f-aa09-fcbc616cfc01",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "fcb19706-e0e6-4d73-9cbc-3d5dd4ada96c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0ef72d48-021a-425b-812a-bc25d76f8cf9",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "04ca1952-ce58-467a-a046-56269f3946a3",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f90110bb-9228-4376-9626-6871ab9b9d9e",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a3527040-9982-4748-9499-2df10746ce72",
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"StatusType": {
"StatusTypeId": "9809c099-19b1-40e7-b88e-8d2cbe954adf",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "fcb19706-e0e6-4d73-9cbc-3d5dd4ada96c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0ef72d48-021a-425b-812a-bc25d76f8cf9",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6a73b3a9-3231-4a6e-a01e-31411ffd3c1f",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "558f4ddc-3079-42c0-8d0f-b41e06e7d48f",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f5190b5c-0a66-401c-a0be-fdbdc7600e76",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e2abb062-0e05-4886-9677-ca2b206ed14c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "34b7b6c9-e697-4a63-83e3-761911c459ad",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "064df8d0-aeac-49dd-9c21-51ebc3cda348",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08: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": "5153fb02-a335-45c4-acb7-d9f0c4f7be01",
"Asset": {
"AssetId": "be2a58d0-a9bd-4b40-97e0-ef1fefe8310b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7550cd73-d10e-4604-9dae-33ece5118d70",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03cb32c7-3517-4f23-8cfe-c01a724395d6",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "633e1517-87fb-41df-bffe-b543eb29ebb4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "29936d93-086f-4d90-968a-72cd401a4352",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "b267492e-be28-45e2-b8c7-9369edb25abd",
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"StateType": {
"StateTypeId": "d0d05224-053d-4879-9463-563c055d3b71",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7550cd73-d10e-4604-9dae-33ece5118d70",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03cb32c7-3517-4f23-8cfe-c01a724395d6",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fd61710e-16f7-4427-84fa-d36c3619b120",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f3e1b130-4087-454f-a241-a65950e25141",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5c918221-c7b2-40dd-a85b-0ae5203c5b91",
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"StatusType": {
"StatusTypeId": "4771104a-c88f-4cd1-b8e2-719828db5414",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7550cd73-d10e-4604-9dae-33ece5118d70",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03cb32c7-3517-4f23-8cfe-c01a724395d6",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4351ecb7-6ad2-4931-b530-3d6ae919882b",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d13a7e66-4982-4681-9441-1d06eda15831",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:50:43.6216999-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "464fd7c0-0e43-4985-b9d3-78b679386a75",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-15T12:50:43.6216999-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e6a66f5b-cc4a-4ff0-88b1-d44392d004ee",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "000fec8a-5d2d-4a95-ac63-2c1fa4dedaad",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "87ca12d3-8a35-4472-9c48-c40e05a7fd79",
"CreateDate": "2026-02-15T12:50:43.6216999-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:50:43.6216999-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}