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": "dca242c2-4460-42fe-8b71-aa28b9ce1cfe",
"Asset": {
"AssetId": "81ec23e6-d9e3-4069-8ae7-530c86371f43",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3785fabc-6b16-4c0d-bdca-90f49e8417c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9d9d17a6-cfae-476a-8ffc-a00ff30b0444",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "290e26fa-fd8d-4cbf-a89e-18dd6cd6023f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "92ee0610-1ca7-49a2-855b-54a0ac9da9bf",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1bb6163d-453a-482f-abb7-07e894a9f1f8",
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"StateType": {
"StateTypeId": "1d73fc9f-a926-47a3-8663-77197a20ddef",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3785fabc-6b16-4c0d-bdca-90f49e8417c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9d9d17a6-cfae-476a-8ffc-a00ff30b0444",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7af10993-5a45-4249-a4ba-f148c4fd895c",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bef40132-5fd1-4a40-ba46-393ccb4af8a4",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "65a028f8-e424-49e1-b042-121ead3b8655",
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"StatusType": {
"StatusTypeId": "16e0a85a-c1ac-4c31-bebc-a0e402080291",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3785fabc-6b16-4c0d-bdca-90f49e8417c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9d9d17a6-cfae-476a-8ffc-a00ff30b0444",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1054028c-3cb2-4df9-87a1-2a2d16b66489",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "332d547e-643f-4ec2-8012-3585ee97e8dd",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9dec87b5-fd17-4bd2-9a4d-ab1f18d9d0c0",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "741e3169-e78c-4ba8-adaf-4872e6756423",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c351a4bd-c764-4ad6-9b12-73881949f326",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b6372e66-a09a-4568-aa3c-869980d4237f",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-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": "a0a5a909-50cf-4dd7-89cf-a95dd14fcc42",
"Asset": {
"AssetId": "a7017c10-4555-4dca-8419-5e8690df99da",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fdc626b8-22bf-45d8-8959-57219a2ca728",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01c9f719-5724-4f7d-b29e-ccb62ab36997",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7e3520cd-287d-4d50-80d7-5a950d46ef0e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0d14010f-bd4f-44ce-a488-33de0c33d59d",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "754ad031-bfe0-4446-92ae-8c29053ec092",
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"StateType": {
"StateTypeId": "48e2761e-4500-4eee-a1dd-02d8ba3cb2ad",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "fdc626b8-22bf-45d8-8959-57219a2ca728",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01c9f719-5724-4f7d-b29e-ccb62ab36997",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ffede63-5bfe-4f42-b751-d395e87e6b28",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1acb6161-c20f-427b-b421-12ff2d7de9a5",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3410fdc9-15ed-4114-883d-226cfd834682",
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"StatusType": {
"StatusTypeId": "b1de3034-3acf-4285-bb0f-86e0f09f27d0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "fdc626b8-22bf-45d8-8959-57219a2ca728",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01c9f719-5724-4f7d-b29e-ccb62ab36997",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cb4222e2-1011-4cc4-a2ec-125d0f2f48f6",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "432abb4d-b7ec-422a-b63d-c2dc434c0112",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:59.1038673-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "73ea196f-b1cb-468e-8c6e-a677f05be63a",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-01T08:56:59.1038673-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e8013407-9ff8-4b3e-8ce8-a2fe004d3e55",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "10154f4e-4765-45fd-8e17-ded96ef0692d",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "97da62c1-65ad-408c-8dd8-b92359f1a380",
"CreateDate": "2026-11-01T08:56:59.1038673-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:59.1038673-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}