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": "14033093-d197-47a9-9526-75307771ab16",
"Asset": {
"AssetId": "0fedecf8-ed09-46e0-8f82-02e7938819ba",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ba6846dc-cf2f-4cb4-865e-7ac598e1ace2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59daa006-f5c6-466c-8aad-2fb5d9d9813a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "396d2be5-69a1-41ff-b2ab-65ab22ae9215",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"MeasurementValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ebd0faff-4062-4a41-acbe-04e5dad278fa",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "c55a3187-ee87-49ba-bc7b-50b2e97e20ed",
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"StateType": {
"StateTypeId": "7987e83c-e739-43cd-bc27-0ae2d84e2d82",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ba6846dc-cf2f-4cb4-865e-7ac598e1ace2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59daa006-f5c6-466c-8aad-2fb5d9d9813a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b61c1361-9eb6-49f3-b69e-6119b5b61dda",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "664c239f-235d-49ff-8a89-e5b616ccd66c",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "bb9e6c64-aa42-4822-a925-e74ff4e54a72",
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"StatusType": {
"StatusTypeId": "2e205b1a-16ab-4596-adc3-d93fd59b0064",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ba6846dc-cf2f-4cb4-865e-7ac598e1ace2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59daa006-f5c6-466c-8aad-2fb5d9d9813a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1a634f72-c3b7-43b1-995a-2bad93bd7982",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "74d7f7a2-90d1-4377-84e6-a2263b1bcb9e",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"MeasurementValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1cbdafc6-8eff-442f-b9c8-d7fd16b3d27d",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a9f381a3-969a-4586-8e17-da02976d68dd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8f8e6357-acc6-4273-ba0d-5d51878c8172",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c8f48a2d-dcc6-4c0e-a2ab-87f2c37de9da",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-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": "5a927028-86bd-44d0-98f8-3557e48a8353",
"Asset": {
"AssetId": "256c4222-8fce-43cb-b890-64fda3f10a14",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "eec5374f-c149-4a4a-b05c-2de9ab31d693",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5cf22320-8cb9-404f-909c-aeadea83c23a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9a90767c-7491-4037-8766-22a9d1f439c9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"MeasurementValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f559cfef-001d-4b34-b2d4-f07d69e95d17",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2f3a73b3-a5f1-46da-b7fa-7ac9fc62158d",
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"StateType": {
"StateTypeId": "b46cf7da-5a30-409a-bea7-1e5070b8203f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "eec5374f-c149-4a4a-b05c-2de9ab31d693",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5cf22320-8cb9-404f-909c-aeadea83c23a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f3371f6a-b9e3-4975-96ae-4a3089fae64c",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7d5bb127-ed35-47c7-a714-ddaab5c8fc62",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "96b4d9cb-ccad-4c95-9f89-e37a84b74b69",
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"StatusType": {
"StatusTypeId": "eda5272a-124e-4968-b6f9-9b6293303441",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "eec5374f-c149-4a4a-b05c-2de9ab31d693",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5cf22320-8cb9-404f-909c-aeadea83c23a",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "60580530-5b50-43d5-a856-02126186469c",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d6655c79-c383-469c-9891-26c61db3c226",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"MeasurementValueNeededDate": "2025-12-13T00:15:05.9398958-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a59606f-a857-4e5d-b5d5-707faf48c0f7",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-13T00:15:05.9398958-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "64adf272-b799-4947-8c36-d61edaa2d1c1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2440ce6d-7c59-45c0-bc06-b996415a13fb",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6675e445-a372-4964-aac1-675c8dbef5c7",
"CreateDate": "2025-12-13T00:15:05.9398958-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-13T00:15:05.9398958-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}