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": "8c78e3cb-0edf-4df5-8b4e-26f2e7c28828",
"Asset": {
"AssetId": "3cd4e34d-b744-4e63-99df-5e60ab9a8d0f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "544d75f2-9db0-4fc2-a0f4-2a52f97f7140",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2fd7930e-489d-4274-8901-bd3951ee79c2",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "aec7b5e5-d6e9-462f-ab5a-e58ae6e40ab4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"MeasurementValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4020e77c-3d37-440c-a312-306bd8c10a70",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "27bc4d67-cc09-4f83-a2b0-2142beee8b7b",
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"StateType": {
"StateTypeId": "c8cd7f73-17ae-47c5-9aa4-4ce4d3a0130c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "544d75f2-9db0-4fc2-a0f4-2a52f97f7140",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2fd7930e-489d-4274-8901-bd3951ee79c2",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "94591d7f-6681-45cb-b332-bbddaa962ac7",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1ef2bad9-eb2a-4fc8-b37a-25e04a806ea6",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c01a60c5-1538-4832-8c5a-2b8fc5f8569f",
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"StatusType": {
"StatusTypeId": "7b343d91-6c0d-45fe-a2d0-3882f0a903e2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "544d75f2-9db0-4fc2-a0f4-2a52f97f7140",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2fd7930e-489d-4274-8901-bd3951ee79c2",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "12d859ff-3b14-4b11-9434-d9f2e85e4024",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9ed8dbb8-540b-45ae-bd0d-6ed45de3df71",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"MeasurementValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "784562cb-8085-4559-8638-ee8ea82be450",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e032065d-3e96-43b8-afd9-11eaa3276198",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f03fe74e-a530-48a0-bbfe-e40d642c4b33",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fd333e23-a60d-4fb5-88fb-c375b2025b23",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07: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": "08a79d96-d7c8-47ee-af31-1b1be30e8511",
"Asset": {
"AssetId": "dfcab6af-c5e1-4f39-90ed-5b68bd1714a5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "af36e4aa-8edb-481b-a458-2021322ee58d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fc17e616-2cf0-49ed-8eed-911fea492d81",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "fac1fe4b-7775-43a3-8470-0898060cb6ea",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"MeasurementValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "191224a8-8412-4bf4-9912-2854b8ed70b4",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6849917a-82de-4400-bf17-4269cf9a9e14",
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"StateType": {
"StateTypeId": "bc2d3967-ee23-40d6-ab81-8443bd063329",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "af36e4aa-8edb-481b-a458-2021322ee58d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fc17e616-2cf0-49ed-8eed-911fea492d81",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fc4eb052-ca9d-4ee9-93af-3596448355e9",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ea6ee290-dcf7-472c-b66f-7ff3c99b9c87",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "745dd246-8553-4820-ab31-95e7bba98723",
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"StatusType": {
"StatusTypeId": "83a0ede1-65e3-436d-8838-77ecf74bbfbb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "af36e4aa-8edb-481b-a458-2021322ee58d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fc17e616-2cf0-49ed-8eed-911fea492d81",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "efdae93e-dfff-4460-8c78-e801476e674f",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d779d6ef-b1e6-468e-8a54-08519f07439c",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"MeasurementValueNeededDate": "2026-07-20T14:38:15.8181969-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3d87f44f-b90d-4f75-89f4-ae2be9015225",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-07-20T14:38:15.8181969-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "a30c3c2a-15ac-48e8-b43c-e6760ae2fc4f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3363e2b-4bd3-455a-9d96-6c164dcf1060",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2c255536-16e0-49d1-b27d-066cae47ce64",
"CreateDate": "2026-07-20T14:38:15.8181969-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-20T14:38:15.8181969-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}