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": "7a00b65e-0a97-4d7f-803a-59ee1da5bb8e",
"Asset": {
"AssetId": "d727f67a-b688-43c5-9adb-cea811ced28d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "143487e4-af9f-4620-b2b7-a4d07c7f2ddb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "be4a8977-d43c-42a5-bb7c-d0f09a0b5859",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3fcf61d2-c817-4e5f-bf7e-d919b1b5efc7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"MeasurementValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f9ad14a8-af6f-48b9-99e2-98375d35e4ab",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "03ed6587-481f-4521-ad03-5eea8a987a2a",
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"StateType": {
"StateTypeId": "18969842-1d60-4599-b159-ac94026d1c8d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "143487e4-af9f-4620-b2b7-a4d07c7f2ddb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "be4a8977-d43c-42a5-bb7c-d0f09a0b5859",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2297ae3c-a646-41aa-9a03-610316c8faf7",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7a732914-4605-4056-8d7b-e3becbedbe86",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3b6e4077-db7a-4b4c-9092-22d284123814",
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"StatusType": {
"StatusTypeId": "3ce8066f-cf10-4189-8dc2-a6be3f9e03af",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "143487e4-af9f-4620-b2b7-a4d07c7f2ddb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "be4a8977-d43c-42a5-bb7c-d0f09a0b5859",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ca2b21f3-70a3-4087-b4c0-642985d1cc23",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ece6e25d-9b10-468d-99c2-e1ea8649bc19",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"MeasurementValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "11ed05c0-0f7c-4e9c-b092-53d1f8bac2a3",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7e531a10-34fd-4dbd-a9e1-5423929b2bab",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "40e491ed-2453-4821-9c19-0bc42f9678e9",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "035cbdac-8eb4-41e7-803d-ef34decbc29b",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-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": "eabeaaf1-5db7-4de6-b320-be29e031250e",
"Asset": {
"AssetId": "3b5f287b-5fd8-4aaa-962b-60226d37ec26",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a8a64355-5b05-4138-b75e-8ecac74f4404",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fa8e21f8-784b-4a73-a999-e832574403aa",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f22e698c-02dd-46fb-8f28-995877b33d6f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"MeasurementValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "684a191f-e5b2-44f9-89a4-7e83d4d0d018",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "159584b3-3b95-4fad-af13-cec188aa79a0",
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"StateType": {
"StateTypeId": "fed2bf3b-5385-4b77-bf8c-d1b3ac5b332e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a8a64355-5b05-4138-b75e-8ecac74f4404",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fa8e21f8-784b-4a73-a999-e832574403aa",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "83a282cb-3350-40da-948e-ead7206955e1",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2edce0c4-10d9-4015-b6bd-252dab959e5c",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a16aed05-1ada-48f0-a464-8d9921b6602c",
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"StatusType": {
"StatusTypeId": "a1d9c488-c9b6-4f22-ba89-b47dc6cc43c5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a8a64355-5b05-4138-b75e-8ecac74f4404",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fa8e21f8-784b-4a73-a999-e832574403aa",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "83db962e-d2bd-4493-8d71-31c7ef2aa1f8",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6fa6c36e-48c7-4143-b876-f644a62f9cc5",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"MeasurementValueNeededDate": "2025-11-04T14:49:35.2974827-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "501a06fb-d512-49bf-bb18-8db29c40d951",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-04T14:49:35.2974827-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "944310aa-8981-4ad6-ab03-c76aef14c1d7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d1e3606f-09cc-4fe2-a08f-04869f5763c5",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3feb00a8-4e5b-4949-8b14-81947baadfb4",
"CreateDate": "2025-11-04T14:49:35.2974827-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T14:49:35.2974827-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}