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": "eee43541-7ca1-4218-9141-6256767ee131",
"Asset": {
"AssetId": "61c206bf-66d3-4212-9b75-78b1f26a126a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "31c50f40-80a9-4654-a36e-f389d6c81627",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c26816e-edf5-4fe6-997c-dee774cbd581",
"CreateDate": "2026-06-22T01:48:39.2399551-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2399551-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "26a21700-b33a-4221-9e21-8903497b6f98",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T01:48:39.2399551-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:48:39.2399551-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9b7e37a3-380e-4218-a413-02ac04ead038",
"CreateDate": "2026-06-22T01:48:39.2399551-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:48:39.2399551-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "ed5e3eaf-cd22-472f-9a07-17f127c3e1e7",
"EffectiveDate": "2026-06-22T01:48:39.2399551-07:00",
"StateType": {
"StateTypeId": "9daf2a9e-2e57-4fe6-af22-aaac49fe40c0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "31c50f40-80a9-4654-a36e-f389d6c81627",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c26816e-edf5-4fe6-997c-dee774cbd581",
"CreateDate": "2026-06-22T01:48:39.2399551-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2399551-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "31e163dd-6492-459d-90cf-8d0cafc4b081",
"CreateDate": "2026-06-22T01:48:39.2399551-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:48:39.2399551-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "46d27405-8b22-4923-bc8e-6f3245ed9904",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "907c665b-bc94-47c9-bc3c-b61db74b86f4",
"EffectiveDate": "2026-06-22T01:48:39.2556255-07:00",
"StatusType": {
"StatusTypeId": "acbc37e0-8914-4e66-9506-10e949bf98c9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "31c50f40-80a9-4654-a36e-f389d6c81627",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1c26816e-edf5-4fe6-997c-dee774cbd581",
"CreateDate": "2026-06-22T01:48:39.2399551-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2399551-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a9759112-81e4-4258-882e-798125c534df",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c3d70abb-2c64-47d8-aaae-e64244179701",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c3950eb8-7c88-44ce-ace3-1679797cef9c",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-22T01:48:39.2556255-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "3064d6c8-3411-48b9-91f3-ea710e0aefff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "78aec5df-812d-4452-a791-0d5a60a2c297",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d4de7cb-8f6d-4d42-b6e8-c66e40fee88a",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-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": "7fcc1bf2-fdd3-49a7-a579-9960df50cf76",
"Asset": {
"AssetId": "e3100cdb-ab29-4b60-ab9e-f64dfdf52eca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2d1e0aae-9348-4e0b-93fd-5a2912aff257",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6337d914-21db-4b47-bedd-4623349d2560",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9dfb9b20-2944-43db-b0a8-7d79565fe05a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6209dba3-c927-4fd5-be2f-a506761a6ffd",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "91f90e75-644d-41b7-bd05-7cfd4a535461",
"EffectiveDate": "2026-06-22T01:48:39.2556255-07:00",
"StateType": {
"StateTypeId": "25138670-0110-42af-88fc-89285082a938",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2d1e0aae-9348-4e0b-93fd-5a2912aff257",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6337d914-21db-4b47-bedd-4623349d2560",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4c28bd71-4851-4fc8-85e3-57c2396031ac",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "efd252a6-8e17-4455-b2a5-8872ae198649",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b62f083e-2e5c-45c7-bb10-8bb30a550e60",
"EffectiveDate": "2026-06-22T01:48:39.2556255-07:00",
"StatusType": {
"StatusTypeId": "f2e18a83-14dd-431c-9133-67da5a280768",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2d1e0aae-9348-4e0b-93fd-5a2912aff257",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6337d914-21db-4b47-bedd-4623349d2560",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b94cbb30-624d-4c73-99af-7cd15985863e",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "12fa243c-8ae3-477c-a920-c02244747467",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:48:39.2556255-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "aed4c887-5536-4943-b54a-de361dcb641e",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-22T01:48:39.2556255-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "39a8dffa-385e-4339-8491-db26132037c2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5247f4bf-32a8-4819-b255-300176ad98c1",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2fc5a4fe-fb6c-4ee9-ba85-4fbba42d4617",
"CreateDate": "2026-06-22T01:48:39.2556255-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:48:39.2556255-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}