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": "8d4171de-d8c7-4fc4-90eb-d8ee409f706f",
"Asset": {
"AssetId": "2cc7e330-e8d7-4b36-91a6-ada9395b8b6b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "05e387c4-75d2-498a-a94c-58e2cf2f035b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54b2dde1-317f-47b8-ba9f-b308be3b422f",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "df7b89e6-6fd7-400f-b9c6-93724af1caaf",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"MeasurementValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9f537a3d-85fd-47fd-a31f-37c0205b7bf4",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e973e56f-3e5c-4499-ac0e-53abd493e7c0",
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"StateType": {
"StateTypeId": "93f816c4-92d6-4479-a48d-580ec8efef61",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "05e387c4-75d2-498a-a94c-58e2cf2f035b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54b2dde1-317f-47b8-ba9f-b308be3b422f",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ba89f7be-e67b-41dc-8dca-47010aad57c6",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d036ac8-9ad3-4a72-8063-a18ebfaf9dfe",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9fe5780d-e463-4838-b92c-f36adb5e19a2",
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"StatusType": {
"StatusTypeId": "b7922913-d5fa-4eaa-a977-9a1d632e34d1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "05e387c4-75d2-498a-a94c-58e2cf2f035b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "54b2dde1-317f-47b8-ba9f-b308be3b422f",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "67aaf899-f854-4c60-8ce4-4843424cb4e6",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e20e134b-5a54-45a6-8bef-974eeca1558c",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"MeasurementValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "38dc5328-6dfe-4a47-8bf2-fac85680b7bd",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "9e08e939-59e4-4069-af92-7db454df261b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e18a064f-072b-4261-9b2b-c4ffe896e902",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "71c005bd-5497-4702-989d-de7221c9986c",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-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": "bb1b34ae-6797-46d3-845b-53f8dd488425",
"Asset": {
"AssetId": "40617c8a-0f18-4150-b6e0-01ef40567c02",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9cc87556-83fc-4f7d-ae9e-ff6623e2342f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "571cfdca-4f5b-4fd6-9cc8-3d63702c7a25",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "76afc664-be43-4b3c-b8d4-5f50c86856fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"MeasurementValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43e4f069-b3b8-43d5-9776-2173093da90a",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2d22951e-5b13-487b-807a-bde3a1521235",
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"StateType": {
"StateTypeId": "b2d3f0a2-5533-4c38-b1c9-a8a7065e6316",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9cc87556-83fc-4f7d-ae9e-ff6623e2342f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "571cfdca-4f5b-4fd6-9cc8-3d63702c7a25",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "949a9ff2-1717-4d32-9c4b-83de84d72c79",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a67ce246-caad-4d51-ac08-ff0ded314680",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "40c5fc5c-cd7f-4424-8d20-e306780c058a",
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"StatusType": {
"StatusTypeId": "3873f008-cd33-443b-a88d-b5187f47b91d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9cc87556-83fc-4f7d-ae9e-ff6623e2342f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "571cfdca-4f5b-4fd6-9cc8-3d63702c7a25",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "463a7078-cf07-47cc-9d35-8c32b05839e9",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "31ab19c8-eaa0-4ebb-8578-3d6fb5f986fe",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"MeasurementValueNeededDate": "2026-01-25T21:19:04.2289094-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "895e6d5f-74e1-46aa-8463-b3fc1425e41d",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-25T21:19:04.2289094-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "6bb710bd-b595-4390-91f4-86c5270631bd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0c14731f-bb3a-43dd-a6e8-8dea06e06a33",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "34f1d5b3-7ca7-4901-bb29-ac090af849c4",
"CreateDate": "2026-01-25T21:19:04.2289094-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-25T21:19:04.2289094-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}