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": "ee1d3181-3b4d-459a-bcb7-22c6f304d036",
"Asset": {
"AssetId": "3169edfa-0f5f-49b5-b292-fee16e9b5bab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "aedfcd97-fe41-494f-a25b-867c6f20776a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4893cd8a-5785-4b78-a2ca-db6e09ddd1f5",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c5917394-4364-4d1b-8580-9ab734ac70b9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fea1b2eb-7de8-45c3-b9e8-4705489bffec",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "64f5b515-b79f-44f4-89e2-29dee5e2d19a",
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"StateType": {
"StateTypeId": "20cbf7c8-7336-462e-af2d-666d55121f05",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "aedfcd97-fe41-494f-a25b-867c6f20776a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4893cd8a-5785-4b78-a2ca-db6e09ddd1f5",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4a75b27e-8634-4f8b-9836-978ec7e2ea60",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ccde5477-038e-445d-b7ad-009d99da452e",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b8356aa5-1799-4776-a5a2-8cd605cd9a3b",
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"StatusType": {
"StatusTypeId": "1f8cde9c-fdf6-410e-8e05-1055623bef8b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "aedfcd97-fe41-494f-a25b-867c6f20776a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4893cd8a-5785-4b78-a2ca-db6e09ddd1f5",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5e70c993-deb4-497a-95d1-e66655f0043b",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f555b388-80ae-435b-8391-9c7c77f7ddb3",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c8c6f176-6a56-4bac-8215-c8d1c3097bd3",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "24ec10c5-53c7-4dcf-969f-64a3ea5466b4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ba27f26a-3871-4828-a05d-82afddc3332a",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "00f252d0-a3bd-4730-adc9-93a19f6e30a9",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-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": "3bbf8aab-5ea4-4b7b-813b-6d68a6b904fd",
"Asset": {
"AssetId": "6ab8cc29-6b0c-4a5f-b8e2-9de427c72181",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "521fca67-1058-40b8-9f81-4fc8345effd5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27a4a56e-ef8a-4893-8573-27bde8262288",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ac732a1c-aec9-485c-9be2-71477731cf90",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1a40325e-68bf-40bf-b0fc-27eb021ef8a8",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e3f66e59-f9e8-4787-9bf2-ad9566a427a6",
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"StateType": {
"StateTypeId": "917cc056-6e08-43ad-bb83-667979bac325",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "521fca67-1058-40b8-9f81-4fc8345effd5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27a4a56e-ef8a-4893-8573-27bde8262288",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b921a58d-e5d5-40c8-bc46-21cf46e1d39f",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "959009d6-b092-4a6a-b666-e32600ccb68c",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "657b613e-0c5a-4319-8b93-6a10dcc92da2",
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"StatusType": {
"StatusTypeId": "375dfc3c-c4be-4692-9174-1053ac1fb244",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "521fca67-1058-40b8-9f81-4fc8345effd5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27a4a56e-ef8a-4893-8573-27bde8262288",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c53f1d13-b002-457e-a263-e636d7419720",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a2f4f86b-7103-4bcf-9299-330e20b70e8b",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:49.7103078-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "119dee1b-324a-4292-b888-a053825d7b33",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-11T22:26:49.7103078-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d50772d7-21a5-4b32-8934-72691672dd9a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d86d86fb-1705-4c63-8abe-1e399867c171",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6025dfad-ea10-4548-92cb-0274f5802846",
"CreateDate": "2026-08-11T22:26:49.7103078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:49.7103078-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}