POST WellPurposes
Creates a new well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to be created. WellPurposeId should not be filled in.
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": "4f2fce2e-b236-498c-bbb3-714639b1243c",
"Asset": {
"AssetId": "b0dd004e-dabf-42a9-b8f2-e34d5bcd2895",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1dfe4423-1306-4ff8-b6f2-60bf545357ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c325c38e-f0e8-4df3-8136-e89c4dc6ce19",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "aa081e59-2ce9-4385-a5ee-53b6a7e5c236",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-11T02:11:29.5896051-07:00",
"MeasurementValueNeededDate": "2026-03-11T02:11:29.5896051-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "428dc417-7393-44c7-b912-a449fd747490",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1a69ac20-ccce-41b2-94f7-d3bfab84b659",
"EffectiveDate": "2026-03-11T02:11:29.5896051-07:00",
"StateType": {
"StateTypeId": "65818451-7a54-4ed1-bb62-ed9fca1e9daf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1dfe4423-1306-4ff8-b6f2-60bf545357ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c325c38e-f0e8-4df3-8136-e89c4dc6ce19",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fe6e2528-55df-4981-b039-54c3b0f42b30",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3083370c-3277-403b-9245-97613a9c1e8d",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a1c47457-d251-4ddc-97ce-b773735d6292",
"EffectiveDate": "2026-03-11T02:11:29.5896051-07:00",
"StatusType": {
"StatusTypeId": "2921335e-3216-4edd-be67-0500ef934371",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1dfe4423-1306-4ff8-b6f2-60bf545357ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c325c38e-f0e8-4df3-8136-e89c4dc6ce19",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "80e6bf92-8d5c-4761-b3e4-54b553100e5c",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8fce4258-fd1c-4de0-80ff-a3c3de20107e",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-11T02:11:29.5896051-07:00",
"MeasurementValueNeededDate": "2026-03-11T02:11:29.5896051-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6b7bc20a-b37c-457e-acbc-a245a5896dd1",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-11T02:11:29.5896051-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "66e8f652-4a6c-4aab-889a-8c30343ab997",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "61c77668-ce1c-4606-a8f4-7e45aeda16bc",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "666a4c66-15e4-4911-85db-1f95bebc0695",
"CreateDate": "2026-03-11T02:11:29.5896051-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.5896051-07:00",
"LastModifiedUser": "sample string 4"
}
Response Information
Resource Description
On success, the created 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": "29b9b4d5-ff53-45b8-88b6-e0d6f3f7232b",
"Asset": {
"AssetId": "dbf3dc9a-c268-446f-925d-bae1428aeeab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e032ffe5-8edf-42cc-ba82-d993c3403829",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "613a9568-d6d4-410d-aa65-e9f8b1b4ec4f",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a656b0e6-fdc8-427c-b474-ed361cff13b1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-11T02:11:29.6052869-07:00",
"MeasurementValueNeededDate": "2026-03-11T02:11:29.6052869-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2535f800-beca-43a4-8189-351cec264cc1",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "719cfc58-e5fc-4501-8d67-1a2860914110",
"EffectiveDate": "2026-03-11T02:11:29.6052869-07:00",
"StateType": {
"StateTypeId": "4b520abc-5c75-4515-893c-af05779e6640",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e032ffe5-8edf-42cc-ba82-d993c3403829",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "613a9568-d6d4-410d-aa65-e9f8b1b4ec4f",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e4019ba9-e514-47b6-841d-7388f5bd6791",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "79025b42-0bb8-4868-85e7-6ca8e4e1819e",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2f82a641-070b-4ad4-b8ad-eb3c2bad9889",
"EffectiveDate": "2026-03-11T02:11:29.6052869-07:00",
"StatusType": {
"StatusTypeId": "a99ae6f2-0587-42ee-9710-587021656d22",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e032ffe5-8edf-42cc-ba82-d993c3403829",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "613a9568-d6d4-410d-aa65-e9f8b1b4ec4f",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7e0a3527-2c99-4ef6-b746-095d2fd0f16f",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a50b58ad-ff21-4c62-b935-b90a02375693",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-11T02:11:29.6052869-07:00",
"MeasurementValueNeededDate": "2026-03-11T02:11:29.6052869-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "30122417-c30f-427d-97c2-2a9301d0b170",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-11T02:11:29.6052869-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6b488596-192d-4ab8-a737-c4ce3db7b000",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fe1519f3-9641-4e5b-bb78-9545464ae194",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0d8c56ed-57d6-4207-867e-deb37fe0cc10",
"CreateDate": "2026-03-11T02:11:29.6052869-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-11T02:11:29.6052869-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}