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": "bae15cc5-0b73-44ba-9713-6a171a14e281",
"Asset": {
"AssetId": "b3c593e9-f77a-47b9-9882-a0a502216e23",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f85acdc3-7cfe-44a6-a86b-69d31fafe9bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c899358b-119b-4f12-ae84-db4dcf37cae7",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3f24d9c2-c273-4fda-bf5c-dc849624e612",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"MeasurementValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "dff74e7c-1825-4828-9be0-79dcbf66ef59",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9d709480-ce9a-4341-9d40-0b858ec807d1",
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"StateType": {
"StateTypeId": "af1b48ae-804f-4cc8-9674-5ab76c6906fe",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f85acdc3-7cfe-44a6-a86b-69d31fafe9bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c899358b-119b-4f12-ae84-db4dcf37cae7",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f9ff28c8-44d4-42a4-98f4-6ecd48b5ab5b",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8fbddb27-52a3-4184-a767-fb72927190f6",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2b924046-35de-430c-babf-b73cd169555b",
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"StatusType": {
"StatusTypeId": "591b0a88-242f-4a85-8d8f-2f5254b5817e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f85acdc3-7cfe-44a6-a86b-69d31fafe9bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c899358b-119b-4f12-ae84-db4dcf37cae7",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "aa505b43-26dc-4483-9c48-6bae4461e383",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "24300567-a062-4dcc-9184-7c595a7f806f",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"MeasurementValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "becf25e9-1d9b-4168-bf17-b2988709a9d8",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "fae92908-f95e-4069-9cec-ce187b4e29e7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "79920b7a-6bfd-4327-92b2-e392cb9a6ea9",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b82dd71f-cb9f-497f-87cd-d729b7004829",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-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": "807b8f66-e801-4ea2-945d-138e641f78a8",
"Asset": {
"AssetId": "e44a80b8-896f-4a29-87e3-478b82f8ef1f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "46875103-6e02-44fd-a36f-18cc3cb6365d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fd97e366-9714-4d8a-96a4-6c9283f6a777",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3fe052b4-e450-4ed1-9b47-5cbca0814248",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"MeasurementValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "83354c9a-79de-4d89-b47a-6f04100973b0",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "32d37eba-0ee4-4108-9852-0efbcc9d2b2f",
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"StateType": {
"StateTypeId": "9e5f1070-5bcd-4886-8656-957e1b58c5cc",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "46875103-6e02-44fd-a36f-18cc3cb6365d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fd97e366-9714-4d8a-96a4-6c9283f6a777",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "015572ce-0df1-48e6-9962-5ca732918e39",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2aa7cfca-aa18-4832-809b-4e5e2e8b7081",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "190bd893-5ed2-4163-8755-d816c443839c",
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"StatusType": {
"StatusTypeId": "dc5c3ea8-fb8d-4170-8546-77a007a657b9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "46875103-6e02-44fd-a36f-18cc3cb6365d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fd97e366-9714-4d8a-96a4-6c9283f6a777",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f0ef16f4-c01c-45e9-8bd0-0ab7e74153be",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a33f6a74-7c84-4e36-9884-179374e73679",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"MeasurementValueNeededDate": "2025-11-27T22:02:22.367638-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2c78d11a-35b0-4a24-a53e-b129cc205046",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-27T22:02:22.367638-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "48560c53-668d-4c73-878b-f4d8604185d2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5c06433a-81e0-41cc-9bf3-c15c67006c41",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "90258429-5f7f-48f5-b81c-38270a55fbd7",
"CreateDate": "2025-11-27T22:02:22.367638-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-27T22:02:22.367638-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}