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": "05d7abd6-fec1-4294-8850-e3bc91ee694b",
"Asset": {
"AssetId": "3e6ee715-e7e1-41dd-a3a4-d0cb7dc7662b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1cbb6b71-5bce-4443-ad2a-8236888e8501",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "63295824-8c7b-44d1-8845-4947c46dd8cd",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5c6a4491-85be-4e42-976f-b6de618a5440",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"MeasurementValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "381f9164-92e0-446d-9dec-71c0e0abe3d1",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "abbcbe51-abc5-4e5c-bbb5-553f08de2fbc",
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"StateType": {
"StateTypeId": "0a8a0602-1d52-482b-be25-469bc9c4d836",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1cbb6b71-5bce-4443-ad2a-8236888e8501",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "63295824-8c7b-44d1-8845-4947c46dd8cd",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4d5286df-a6a4-4b3c-887b-6a986280d86c",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "856c1a0c-a145-42ad-bd59-4ecc649dd4bf",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8bc5acf4-98f1-4817-b4fc-7f47f4d7c543",
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"StatusType": {
"StatusTypeId": "316308dc-0d16-43bd-9fdc-7033842b9f94",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1cbb6b71-5bce-4443-ad2a-8236888e8501",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "63295824-8c7b-44d1-8845-4947c46dd8cd",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5f9c3423-ee71-4764-b1b9-205ec8eaa010",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2876e1cd-eea3-4440-aa01-b50148ce8d38",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"MeasurementValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "de8c94d4-54f9-4c0d-9f60-4f432d19f95a",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "75c4202d-8a3c-4c33-9d68-8fcc1709917c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "81526991-d2dd-4910-90ba-10dd202fb637",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "88ff8a7c-5a56-49f4-9c24-2a68f8b00457",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-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": "995ab6c6-2609-4fba-81de-da01205398d1",
"Asset": {
"AssetId": "e1c18c18-d934-4a7f-892b-a934e09dffb0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4e6e92ef-21d1-44fa-9110-6ab816f94391",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e186412-3ed9-47d2-85d6-668d8a7e400f",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "eac4a3d6-d1ff-465b-99e1-00dd5b566d3d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"MeasurementValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e4fe4703-dcff-4f08-8df3-11464ca8aaa6",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e48115d6-ffe5-4fd1-8f40-9f0bbcb57a8f",
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"StateType": {
"StateTypeId": "9b9f109b-1372-4279-99e0-4a0e0d591b77",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4e6e92ef-21d1-44fa-9110-6ab816f94391",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e186412-3ed9-47d2-85d6-668d8a7e400f",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "74dd9ce4-cb04-476d-9c17-f20e6f08ee7b",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bf6c35d0-0972-4a39-b793-6a39598a7ef3",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "07c327ef-11e4-4acc-8fe7-3f4f38cfb2c9",
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"StatusType": {
"StatusTypeId": "af3f7aea-f78a-4b39-a178-b44d93897035",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4e6e92ef-21d1-44fa-9110-6ab816f94391",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e186412-3ed9-47d2-85d6-668d8a7e400f",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5d27959a-7cee-4fc6-8da6-604285c83903",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0c9febf9-6069-458e-bdd5-9659739b6c5e",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"MeasurementValueNeededDate": "2026-04-18T05:00:04.6571179-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2251b036-b80b-42e6-9acc-9a9b56583405",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-18T05:00:04.6571179-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "2fdafb20-61df-43e8-b21d-ed91306cab46",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "79050076-30f5-4b4d-8215-51cc78298950",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4df09e60-4993-4b8c-9926-579d29d1ec6e",
"CreateDate": "2026-04-18T05:00:04.6571179-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T05:00:04.6571179-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}