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": "e9d88717-d237-431b-a9fa-5e277f1e66a0",
"Asset": {
"AssetId": "67bf2fd3-ecc6-4f6d-b425-40ee8ed66771",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "41798bd3-b755-46aa-9c2b-b18235a8cacd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9054c443-ddc9-4816-a803-02b8421c4a56",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f37e6960-34e4-460c-8f50-92513a6f1d69",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"MeasurementValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a6b10817-09e5-4e90-9a27-13c87b74fc91",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "68b7dc87-634b-4a48-a727-337cad76d22b",
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"StateType": {
"StateTypeId": "e2424519-f1b9-4809-a532-5da2db93449c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "41798bd3-b755-46aa-9c2b-b18235a8cacd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9054c443-ddc9-4816-a803-02b8421c4a56",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b738190c-3ead-46bb-bcce-9f190e01da27",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6ee080e7-9c9c-4e5b-8cb3-b3ad4e9da55b",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b583c0aa-6a94-4458-93e0-a980fdb630d0",
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"StatusType": {
"StatusTypeId": "54a60ab3-1461-456e-8f7c-250a1bcd09be",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "41798bd3-b755-46aa-9c2b-b18235a8cacd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9054c443-ddc9-4816-a803-02b8421c4a56",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1897147d-2fff-4842-a96e-71de0008f4d3",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9f7e0063-15a3-4114-876f-ab8ac4f452c5",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"MeasurementValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5def396b-312b-49fc-a7bb-28a54e34e7a9",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "99a4bb00-cb89-4b27-8c2d-8dda3f77f86a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "17afd684-08df-4f5f-951e-c4c4df36b422",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e677a6a-db6a-4fdf-881a-e5afaee30c24",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-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": "82996ca1-1122-4a4a-8446-09c999e9ecae",
"Asset": {
"AssetId": "b96a0882-9e0a-42d3-a9c3-b3439c8fa94e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5e08f964-5973-48bb-ace1-d8390a265bae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fb0b42a4-1b6c-4af2-8c42-6974f45c26af",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "58fbd87b-981b-4fae-90c4-5f7c935c219d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"MeasurementValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7d799073-6b9c-40fb-ae95-97c624c5fc19",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1713ce7a-d4a4-44ad-b093-fa821afb862f",
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"StateType": {
"StateTypeId": "00d1f62f-1b2b-44c8-91b9-86b6e70772d4",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5e08f964-5973-48bb-ace1-d8390a265bae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fb0b42a4-1b6c-4af2-8c42-6974f45c26af",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ac66f43-8010-4cbb-a4cc-dab409871708",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "942bed60-90da-45bf-a70e-77ea107c4b47",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "262c6f10-0cf3-4fe6-ba09-01903902f817",
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"StatusType": {
"StatusTypeId": "84e9ca53-2528-4ac0-ad07-70b237894c56",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5e08f964-5973-48bb-ace1-d8390a265bae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fb0b42a4-1b6c-4af2-8c42-6974f45c26af",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5a12ebf5-efb9-4a92-b7ff-0e1d77e8d6ae",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3925f9e7-65b9-4778-b519-6e2f16926313",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"MeasurementValueNeededDate": "2026-01-07T14:26:00.8488874-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "465cf83b-9b29-4993-9fff-357542bee9b6",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-07T14:26:00.8488874-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "386792e4-efcd-445a-aec7-35b14ff29141",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dcba5854-59ea-47f4-9ea7-ebab5d903a91",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7e48335c-fefe-4590-b730-8832104a840c",
"CreateDate": "2026-01-07T14:26:00.8488874-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T14:26:00.8488874-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}