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": "1de6f480-52e0-40ad-ac13-a821601e9308",
"Asset": {
"AssetId": "6df77433-f512-4537-8990-a444168e8667",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5a726659-0e7f-4f9b-a321-8cba915029fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d6a326b-e464-4779-be19-45a6410e84f1",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c4874156-9726-44ee-ba75-a4ac5991b3e1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:30:18.8476539-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:18.8476539-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f2a395d8-4480-4288-bf89-e02ae7acd661",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f6085bde-e35a-432e-b6bf-1e9e5e32dd95",
"EffectiveDate": "2026-06-17T17:30:18.8476539-07:00",
"StateType": {
"StateTypeId": "d57b933e-497a-4a1b-8747-7db8431e4d80",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5a726659-0e7f-4f9b-a321-8cba915029fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d6a326b-e464-4779-be19-45a6410e84f1",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "42d013bb-a7a9-4217-a93b-3a254d888a06",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cb18189e-1e4b-488c-a74e-fd74df6481eb",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0f50d63c-3946-424a-bcbb-367efa7b6d1b",
"EffectiveDate": "2026-06-17T17:30:18.8476539-07:00",
"StatusType": {
"StatusTypeId": "a2ef3a6d-cd5d-4cda-a4da-6bce2ff4c032",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5a726659-0e7f-4f9b-a321-8cba915029fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d6a326b-e464-4779-be19-45a6410e84f1",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "beca9234-76e0-480f-8e5b-cd253fbd9994",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "993b6d01-0123-4860-8d31-514e811e140c",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:30:18.8476539-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:18.8476539-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f676baea-11f2-42d0-b0f7-00c7965bcbbc",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-17T17:30:18.8476539-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5ed87450-f502-42a8-9982-1e981d3a6cc4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "124a390b-4672-4735-8736-cb307e30d2ea",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b0826acb-5473-4eb0-ac58-8b10f76aa42e",
"CreateDate": "2026-06-17T17:30:18.8476539-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.8476539-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": "7eca9f4a-941f-4793-b64b-05c18934189e",
"Asset": {
"AssetId": "279ac488-7342-4220-a10b-df3728aa85dc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a53e2bee-256d-48da-ba23-340fef237f65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b095bef9-bc0e-4aac-bfdf-b0b8aa0c747f",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ee82576d-0176-4575-accb-756410fb222a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:30:18.863335-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:18.863335-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6614633e-6f5b-4f6c-bd93-a1a115b0a6ea",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "8a5ebd26-933d-43a1-a331-c05a6f0c7d19",
"EffectiveDate": "2026-06-17T17:30:18.863335-07:00",
"StateType": {
"StateTypeId": "7f700a4e-fbdb-470a-8f50-ee338e6b324a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a53e2bee-256d-48da-ba23-340fef237f65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b095bef9-bc0e-4aac-bfdf-b0b8aa0c747f",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6cc33dd9-0871-4d83-a997-32c2fc254457",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6f5eca68-a28b-4b53-9338-f2ed46b95144",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ace4049e-f900-4fea-a93d-0bfe8df7bf51",
"EffectiveDate": "2026-06-17T17:30:18.863335-07:00",
"StatusType": {
"StatusTypeId": "9b7e56ae-69eb-4161-be28-fe8375a7b278",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a53e2bee-256d-48da-ba23-340fef237f65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b095bef9-bc0e-4aac-bfdf-b0b8aa0c747f",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6808d8a5-978e-41ab-8cf6-f02e0fce20d2",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0a077013-03e7-433e-b222-3a8afc5c5532",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:30:18.863335-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:30:18.863335-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7f2d7b3f-1f01-4dbb-9183-e87bde7eebab",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-17T17:30:18.863335-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c4911c37-dcab-490e-bd52-8000291fde97",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cf15c5fa-4b17-4fd6-84b8-11eaa016234d",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bd18f394-09d8-4421-9327-ce97305bc9c6",
"CreateDate": "2026-06-17T17:30:18.863335-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:30:18.863335-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}