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": "d1205b2d-22fa-4dfa-b967-b301a819d849",
"Asset": {
"AssetId": "8a9f2365-1f24-4e5a-bb2e-e4a16a885316",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "044158c4-a30f-4622-84d9-56a606a0c274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1efb95-4317-4eb9-a23e-d7da824729d1",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b98c0ce4-0239-4666-a1b1-480ef19d9b6d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fa30ad50-130a-486f-b9a2-253155e651e5",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1769d79f-ef3f-4307-8ecd-66d2a4d475f3",
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"StateType": {
"StateTypeId": "7344d946-8d93-46af-a251-bf62821b9342",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "044158c4-a30f-4622-84d9-56a606a0c274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1efb95-4317-4eb9-a23e-d7da824729d1",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3b3a4d1d-8422-47c1-8390-883c62a6c1ad",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "12810e62-3aa5-45ff-8e51-f87211f151a6",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1d56f643-107e-488e-a13c-2944c12b551a",
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"StatusType": {
"StatusTypeId": "ea0c5da3-a1d9-42cc-b032-9a4cb9adf7e0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "044158c4-a30f-4622-84d9-56a606a0c274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa1efb95-4317-4eb9-a23e-d7da824729d1",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "34746d57-aafe-4ecb-b5a9-cd7c14d6028d",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1927e620-b518-4c48-9759-f48a34add360",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1b5629d1-e925-43d8-af41-8e8a2911532f",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "66ba553d-39a9-4327-8ba0-2c35cb9ecadb",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ed83c96-5ad2-4d8d-8d2c-0bbad247e68f",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "08a391c5-67d5-4d4e-a76c-ef878305951d",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-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": "f9b08562-b3f2-4d7c-84b3-2212dac99925",
"Asset": {
"AssetId": "c8313b71-ad55-4f6b-8451-c02ad999f774",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "96570cea-fad0-4101-88b9-09e8fb994d7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b12c5a2-da6e-47a5-9847-814c86f58397",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "64a23f96-743f-4517-b90c-dc26b7168ba6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4b6e7849-7277-4c72-9d81-6f9446ffecf1",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "31a06462-5b76-4642-ab39-6c1a3794fbcf",
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"StateType": {
"StateTypeId": "0ed15ed6-ea25-4bbd-bd21-fb956de03c99",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "96570cea-fad0-4101-88b9-09e8fb994d7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b12c5a2-da6e-47a5-9847-814c86f58397",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7ba48a44-a49e-43b0-a0f9-32fa84396d24",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba7e93b0-d388-43b3-88ca-4f3cd2339e72",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7e9fd89f-c689-485b-8833-551b9c2f0597",
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"StatusType": {
"StatusTypeId": "0b5a26f6-2116-49b7-b928-960730fa143b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "96570cea-fad0-4101-88b9-09e8fb994d7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0b12c5a2-da6e-47a5-9847-814c86f58397",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8e8c9f53-a671-483d-b4d1-373f7a812b55",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fd942ec6-5852-4248-a317-f70e84536818",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:59:36.0060732-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1e11050a-2a59-4687-9a57-85181fdc9b80",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-07T15:59:36.0060732-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "bb6efa4d-3762-4169-8b58-13833ec984de",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b1dbf753-dbb1-452d-8088-46a9964a76bb",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "97aa7ac5-9c96-46f5-a645-0e8a0eb0fab9",
"CreateDate": "2026-01-07T15:59:36.0060732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:59:36.0060732-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}