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": "7678f98a-2f71-45d0-9d6e-8631d717d2df",
"Asset": {
"AssetId": "f08303b1-1674-4439-9cbc-b7d685625b0b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e2e28b70-d72c-433f-a18c-a74c3145a30b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "deb05220-1ec7-404b-ac1d-cd913d5a718c",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d52d2148-d740-4c03-b322-0c8995624d20",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T10:48:23.1438076-07:00",
"MeasurementValueNeededDate": "2026-08-01T10:48:23.1438076-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "836b7edf-57b3-46b6-a2da-478e3a1aa6b2",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7c9fc3d9-a55c-45be-abe9-a1ca2c142b41",
"EffectiveDate": "2026-08-01T10:48:23.1438076-07:00",
"StateType": {
"StateTypeId": "ab594e0d-54a1-4f57-8baa-10b8cae7b78b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e2e28b70-d72c-433f-a18c-a74c3145a30b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "deb05220-1ec7-404b-ac1d-cd913d5a718c",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a66c183c-a29f-4f5f-b188-37a039f4879b",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c5f0318b-654a-49bd-91d3-2dce185d74a8",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "064e329e-7bd7-4ff0-9a33-9d4fb596f652",
"EffectiveDate": "2026-08-01T10:48:23.1438076-07:00",
"StatusType": {
"StatusTypeId": "8d19de15-67b4-4bc8-9096-9345acb9f729",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e2e28b70-d72c-433f-a18c-a74c3145a30b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "deb05220-1ec7-404b-ac1d-cd913d5a718c",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "59d0df8f-6cd4-4824-ae2f-22f1146d288e",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ab1b8b55-c121-4ed9-a68c-6d286f317bba",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-01T10:48:23.1438076-07:00",
"MeasurementValueNeededDate": "2026-08-01T10:48:23.1438076-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1aa0762f-245d-4810-8e41-ef1ce02a25fb",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-01T10:48:23.1438076-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "88f09e35-a126-4c26-a8d4-c48cdb39647c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ba7407a-59e5-4f4d-99b9-9dd6b25f4691",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9bfb1396-7183-4f0e-8a00-13038b90ec7a",
"CreateDate": "2026-08-01T10:48:23.1438076-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1438076-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": "d6ed699a-7bad-4783-9313-b685d321bf11",
"Asset": {
"AssetId": "69a6a15b-b7f0-4301-b157-f3ddf6b39534",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "77c26add-b908-4b07-92a4-c3d6cdbdd0a4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d016e0-bffc-45f8-aa22-7d58928de0b1",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "238f075f-74f8-48c8-b56c-45dd9200042b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T10:48:23.1594269-07:00",
"MeasurementValueNeededDate": "2026-08-01T10:48:23.1594269-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ba94ff9c-9dba-4aa1-ac1e-97b0a6539654",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f6abef7a-bc21-47e3-894b-b62972eb9492",
"EffectiveDate": "2026-08-01T10:48:23.1594269-07:00",
"StateType": {
"StateTypeId": "3f261a26-98de-4407-8cd5-5c14b50605a4",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "77c26add-b908-4b07-92a4-c3d6cdbdd0a4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d016e0-bffc-45f8-aa22-7d58928de0b1",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fafae5a9-547d-4a1e-ad29-07210f5dee36",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "236545b0-2991-4147-b645-406ed73a60eb",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "21abbf4f-007b-469f-baa3-b34f8b9346e4",
"EffectiveDate": "2026-08-01T10:48:23.1594269-07:00",
"StatusType": {
"StatusTypeId": "d22f0541-ac8a-454f-a8de-12e444f22ebd",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "77c26add-b908-4b07-92a4-c3d6cdbdd0a4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d016e0-bffc-45f8-aa22-7d58928de0b1",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "84afd7a7-4ee2-4c48-83d7-86c268ceafbd",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6a2c19c7-827b-4b24-be6a-c261942e531d",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-01T10:48:23.1594269-07:00",
"MeasurementValueNeededDate": "2026-08-01T10:48:23.1594269-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2db1d025-510b-4eca-be6c-69c524dfccb5",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-01T10:48:23.1594269-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "42230ccb-d4cf-4245-8fa1-b8aba4df9be4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "865a9960-74bc-4a6d-a62e-d0cb3af30d3d",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c3bbf945-07be-4322-8035-95da15b29239",
"CreateDate": "2026-08-01T10:48:23.1594269-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-01T10:48:23.1594269-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}