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": "16dd4fb3-9cda-4360-9c64-10e4f32d79bc",
"Asset": {
"AssetId": "ee896225-213d-4a0b-97ef-16e1833fa76d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7eebda7a-8099-47ce-b7e9-deecfb8bf6a0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b0930f1-1deb-4dbe-8b8a-aef442204b06",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "266ab22d-a2f8-42cf-8688-2bd49c00d916",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"MeasurementValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ae4ff058-dc05-4ae7-a2dd-3edfafe953b7",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "13cd92ea-0ba6-41e0-9207-94842022ca87",
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"StateType": {
"StateTypeId": "29edd001-8f3b-4393-9725-a8035210cf2f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7eebda7a-8099-47ce-b7e9-deecfb8bf6a0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b0930f1-1deb-4dbe-8b8a-aef442204b06",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4afc6cc7-f0f2-45b9-a045-471dcbb48bf2",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "287b5595-35c1-4975-9d97-21a3351e7c9d",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "38b486bc-7290-4a98-afac-0d14b1ff10ad",
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"StatusType": {
"StatusTypeId": "4b9ff597-c430-4013-a7fb-b53ee3b24261",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7eebda7a-8099-47ce-b7e9-deecfb8bf6a0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b0930f1-1deb-4dbe-8b8a-aef442204b06",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "23ebf070-1846-4d84-8a8a-75364f276815",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "14938e5d-eb82-4cdd-918f-61a2511b30d4",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"MeasurementValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b4a9e0b7-6d83-46b0-9d15-6c720f1567e6",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "bf0811de-eaad-497f-931d-63f9deb8e8f6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3ad093e7-c9ef-4a86-88f7-6f49a36dd108",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f693d52a-6521-4a16-a702-bb97f3658674",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-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": "a1e881ce-9e8e-4049-bd0a-b0dbabd631e5",
"Asset": {
"AssetId": "2baadf6d-8968-4d9e-8c02-880d6142cfd6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bc120792-d10a-44f0-9dc6-053ce8aa8408",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "66fafb81-d14c-43a9-bf91-42fc3f1fd942",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8ea9024c-7df3-468f-a211-8417b1744731",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"MeasurementValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "11439147-700a-4f09-8aa6-60da96017e8c",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "0bcc4914-43e8-4b4b-b7e8-a334eba7652a",
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"StateType": {
"StateTypeId": "43620ea7-1a6b-42a7-82bb-df649b611ad8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bc120792-d10a-44f0-9dc6-053ce8aa8408",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "66fafb81-d14c-43a9-bf91-42fc3f1fd942",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6296510e-6db7-4531-a76e-bf951e163387",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "74f80469-5baf-4f2f-971a-f71fa9647a39",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "93eca4cf-866e-48a8-9726-231ca3333539",
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"StatusType": {
"StatusTypeId": "6f96651a-2dd7-408c-ae79-d88c0799ff2f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bc120792-d10a-44f0-9dc6-053ce8aa8408",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "66fafb81-d14c-43a9-bf91-42fc3f1fd942",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8303a502-17aa-4110-841a-1ae040ad92c4",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b2aab6bd-7e6e-4af8-a032-4d976bf9f9c2",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"MeasurementValueNeededDate": "2026-12-06T07:52:42.3271345-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "223a4f01-a51d-4a66-8cd7-11a5b599b3af",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-12-06T07:52:42.3271345-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "68b8ab23-b896-4553-acc6-552963575712",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dba47b6e-e557-478b-b110-db623ad7492f",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "67fd2700-e616-4516-80b8-3534e6e5483d",
"CreateDate": "2026-12-06T07:52:42.3271345-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-12-06T07:52:42.3271345-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}