DELETE WellPurposes
Deletes the given well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to delete
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": "c78698fb-7ae7-43c7-9dd5-8353ee57c863",
"Asset": {
"AssetId": "d59d2c14-49b1-449f-86ee-27a7437f9127",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "26d9d902-1fab-4af2-931d-30642c58a15a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0fc46c02-df1f-4b0d-a231-c8a640c74cc9",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "015292df-e7cf-4371-acdc-f19ae3a06d4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T23:36:40.9093318-07:00",
"MeasurementValueNeededDate": "2026-06-01T23:36:40.9093318-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "578b56f3-aa24-4e1f-a62f-ef37c5c7e177",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6f38c483-52fd-475f-9c87-27588d1a848e",
"EffectiveDate": "2026-06-01T23:36:40.9093318-07:00",
"StateType": {
"StateTypeId": "88611698-2565-49d8-8e06-6ff22407f850",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "26d9d902-1fab-4af2-931d-30642c58a15a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0fc46c02-df1f-4b0d-a231-c8a640c74cc9",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "170a62ea-e44f-4570-8568-afc7c5ad5d60",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b3f607a1-cd29-4dc3-ad4b-8981510f1919",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ca74674f-c429-4523-9d48-97e9d329ac7a",
"EffectiveDate": "2026-06-01T23:36:40.9093318-07:00",
"StatusType": {
"StatusTypeId": "ba72dbb3-a4a2-470d-8add-c2dd95f9d814",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "26d9d902-1fab-4af2-931d-30642c58a15a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0fc46c02-df1f-4b0d-a231-c8a640c74cc9",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fa19e9da-7345-4d51-9d3d-ed6eb0c8593e",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9f0e2c53-8183-43cf-9199-2f524b14d44a",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T23:36:40.9093318-07:00",
"MeasurementValueNeededDate": "2026-06-01T23:36:40.9093318-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fee505f8-9ab3-4b3c-a06c-89a568fe4fed",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-01T23:36:40.9093318-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "a4d57e65-1503-49e1-8ab3-a39861b544cd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0c195ad5-5313-4e0f-acaa-4cb6b00ef4fb",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "508229c5-2a31-48cf-a460-48f98a8022e6",
"CreateDate": "2026-06-01T23:36:40.9093318-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T23:36:40.9093318-07:00",
"LastModifiedUser": "sample string 4"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"Total": 1,
"Message": "sample string 2"
}