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": "1ff00822-58a1-4d74-b5d4-0c37dc517c7c",
"Asset": {
"AssetId": "2d5f1b9f-2eac-441d-aaa7-4658dfcbc943",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a9fc621a-fa18-45b8-9d5f-92ab8b3e3de7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee824e25-6f17-4878-bc1d-0d25164123f1",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "efa5a18d-4b30-4724-98dd-e5467bfd148a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"MeasurementValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "727f4495-884c-4557-8b97-0315c0190c08",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "27a2ee5d-5d5a-45d5-a0ba-ab887fdfecb8",
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"StateType": {
"StateTypeId": "f41f524d-72ce-4b7d-8f6f-29cc7a70a237",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a9fc621a-fa18-45b8-9d5f-92ab8b3e3de7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee824e25-6f17-4878-bc1d-0d25164123f1",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a4067d94-a147-43a6-9ebf-30c786740aa0",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0045a869-ab9a-47e1-b46d-20db368692d7",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0c635b39-2059-490b-8f77-f5992fdf3da1",
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"StatusType": {
"StatusTypeId": "3a5fa3db-9e84-43ee-b6bd-12a37e7e2512",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a9fc621a-fa18-45b8-9d5f-92ab8b3e3de7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee824e25-6f17-4878-bc1d-0d25164123f1",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "865587e0-d799-444e-b177-1fd1ed0dad0f",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7cc5b3c4-1644-45ae-bb02-0ffe630ad72c",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"MeasurementValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b2d8791a-a0ab-4f15-873d-4a8bad4ffee7",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6a16e1db-ac29-4407-80df-7a67ea110959",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1e580c1c-e90a-48a6-9bb0-f96dd424081e",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ca925e81-3d6d-4b1e-afb3-4e8cece2e9f2",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-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": "1a920c73-a046-40b7-a4c2-4bc64534ff3e",
"Asset": {
"AssetId": "7f8cab67-fd5e-45ac-b3ba-4467cbbf9a59",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f98d8126-eec7-4bda-b806-8d61d7983edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95a5b8a5-766a-4c09-a57b-68ecf114a57f",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4e22a865-24de-4952-871a-740881ee0cf9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"MeasurementValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c65b1ca0-bc68-4932-be3e-90fba9e19310",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d928b16d-fe83-42b1-a46c-f4378f1846f8",
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"StateType": {
"StateTypeId": "1700cf86-4249-469c-bfae-cf8a32a088cb",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f98d8126-eec7-4bda-b806-8d61d7983edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95a5b8a5-766a-4c09-a57b-68ecf114a57f",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "403931d6-0b96-419f-bd35-feacf5b776fb",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "713925aa-479d-4b2f-9673-97b742c3c405",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "bdfa2abb-c413-4339-b1f5-5da5d547f9f3",
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"StatusType": {
"StatusTypeId": "3e5a1a5e-6067-4c1e-a493-1ee9688c69f3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f98d8126-eec7-4bda-b806-8d61d7983edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95a5b8a5-766a-4c09-a57b-68ecf114a57f",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e1dd85eb-8271-44f9-a7a9-e62038dfa053",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f3d4e577-f05e-4813-8c2c-66145ff7504b",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"MeasurementValueNeededDate": "2026-05-13T11:32:27.6809279-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d51a1866-0b71-4a4a-811d-9e3f366e6a20",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-13T11:32:27.6809279-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f415d4cd-bb40-4b74-841e-4d16eda808f4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4a9d8f94-2570-45b6-a039-669642c01d31",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "19001370-cc74-42bd-a020-504c29d29cfd",
"CreateDate": "2026-05-13T11:32:27.6809279-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T11:32:27.6809279-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}