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": "83e79171-13f0-4992-927b-c8ea7df2ce12",
"Asset": {
"AssetId": "e50e70af-ecfe-4a3e-a0bc-827b744a17df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3f6048ea-87cd-4617-a1e3-3bbc6d23f2b7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e9a139ab-e2a7-4a1d-ae40-707787143c6c",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "cc8e8b82-a9d2-452e-be06-79d1f2371b6f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "971dc25f-de61-4b11-97ef-bfd24d5dc98e",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3fe6fc22-406f-4592-9753-f92df2068ad7",
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"StateType": {
"StateTypeId": "0056de56-7930-4331-888e-652e68e47943",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3f6048ea-87cd-4617-a1e3-3bbc6d23f2b7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e9a139ab-e2a7-4a1d-ae40-707787143c6c",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e5074efc-f179-4362-aed7-9f430745e86a",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "67322a8a-e745-4280-a86d-c7b7d92a6f82",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0fdf1ee5-97f9-4308-b8b5-c4135cd120cc",
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"StatusType": {
"StatusTypeId": "22186a57-668f-49a2-b848-15fb4a5746ca",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3f6048ea-87cd-4617-a1e3-3bbc6d23f2b7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e9a139ab-e2a7-4a1d-ae40-707787143c6c",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f89b324e-3ae5-4ecf-b8e3-bce82d77522f",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fc8f3ac8-df09-4f0d-9907-8cf9b5f9a7f1",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5e24c26f-eed3-473c-8dee-f8d8e32343c2",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5cb0c220-6fbd-4035-bcaf-33da9ffd6db1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e0644ac4-504c-4ecd-9de5-bf29d02ca586",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "db11d9e3-ef16-4bbc-aa74-0ab38736af67",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08: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": "cfbc72cf-89f6-4c66-9533-94df5e06cf8f",
"Asset": {
"AssetId": "8d79ce38-7f08-4e55-a369-70896245eab9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9faeba7a-bb54-48a9-9571-12b2b2c13ea3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cf36cad0-863e-4e27-acc0-5670324c6ea9",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b43d92f0-cf7c-4893-8c59-e8fc5b234dc2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e52a2fc1-6211-44b2-b29a-cdd54eb9b6fb",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "33b4f019-bf7d-49ed-8fae-6171e8767f0e",
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"StateType": {
"StateTypeId": "60f9c910-e9c7-4363-b21f-13a6b85bfa5c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9faeba7a-bb54-48a9-9571-12b2b2c13ea3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cf36cad0-863e-4e27-acc0-5670324c6ea9",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bf80c222-9252-40da-a052-9e52cf4dc5f6",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "16519eac-0349-483b-8224-ddf74d718780",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7c065951-1a55-4a05-a9e5-5c5da86c058d",
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"StatusType": {
"StatusTypeId": "1a18663b-cda6-4f09-ac95-ac5419168332",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9faeba7a-bb54-48a9-9571-12b2b2c13ea3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cf36cad0-863e-4e27-acc0-5670324c6ea9",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "93918f3d-014c-4544-bc2a-c7595d1a818f",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6ed3ab17-b8f2-4933-a61b-e60f26771c79",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:01:45.1516285-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "186816cd-2b0f-489f-a32e-28fbc3624663",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-02T06:01:45.1516285-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b732040d-fd42-4a14-a1e2-8c6d45083b6e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "20a7c833-468c-4bac-a137-b2635f4e5a60",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c19eb17d-6e72-4d41-ac28-88e8015543ef",
"CreateDate": "2026-02-02T06:01:45.1516285-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:01:45.1516285-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}