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": "e3614ae9-d6e0-483c-adba-76d2e1da8b33",
"Asset": {
"AssetId": "c535cb67-05c1-4997-85b6-d5974b565674",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0d022c8b-6534-4961-90aa-2bead7a3ff59",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90b4ad6d-f120-4e8e-b0c2-a87442d6a5a5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7007af45-16bc-436a-9572-5ea87e571cf1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4207e9ba-d31a-4963-8b0e-a482ae394c8c",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "871ddf4a-2458-42db-9254-00a4ad5aa544",
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"StateType": {
"StateTypeId": "b8a56cf5-0c03-4cbf-b992-66724f4465d0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0d022c8b-6534-4961-90aa-2bead7a3ff59",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90b4ad6d-f120-4e8e-b0c2-a87442d6a5a5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1ede78ff-896d-484a-84fe-6181702893e1",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8a143744-d2f7-45b9-9907-a0d366840c13",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "6a61edaf-baa3-4a27-a850-6133ff29bbbf",
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"StatusType": {
"StatusTypeId": "e980329f-b3e4-4341-bab5-8a4f8df7ece4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0d022c8b-6534-4961-90aa-2bead7a3ff59",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90b4ad6d-f120-4e8e-b0c2-a87442d6a5a5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fdd0046c-6c38-4349-b658-e11282cb1e51",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4ca5a74e-4926-40ec-b873-9ebce5ca9868",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bd994fdf-1826-4d34-b0b7-3eff89e0d414",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "46f32579-dbfa-4c3e-8b35-24e0cf7e0fff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0361ed85-a986-46d9-8bbf-ce463c2183aa",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41a3cb7e-f8b9-4211-83e7-69c99ccde0c4",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-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": "605ac768-e3cd-4ada-a815-ee7dd2975f74",
"Asset": {
"AssetId": "b21e0eaa-cc97-4d0d-a1bd-2e991e4e72ec",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "980aeac2-1cca-4530-b581-fba8f85d9cc3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60530b1d-c694-435e-a83b-8ba275c575d5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5fb3bfdb-8c26-4602-a75b-658ba8d2319e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "94ef4791-cbde-4b2b-9910-5a1cc40ead22",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e5c2475e-ef0c-465a-bdc1-1bcff31c41ae",
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"StateType": {
"StateTypeId": "0d3bfa00-0713-4a87-99ac-5e872efc9a80",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "980aeac2-1cca-4530-b581-fba8f85d9cc3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60530b1d-c694-435e-a83b-8ba275c575d5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7d3d8b94-e68b-4d87-b4de-b529483d3f12",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3fa36ba2-ac46-462a-a5c3-60bcec442c54",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "02f25127-b0e9-4799-8691-11e7e90bacd0",
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"StatusType": {
"StatusTypeId": "6d905849-b189-4c5f-96c4-39f80310a784",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "980aeac2-1cca-4530-b581-fba8f85d9cc3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60530b1d-c694-435e-a83b-8ba275c575d5",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c682f31c-5975-4072-a2ea-5bcef1b1cd34",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "30dfd997-05ab-4a52-840e-0ab2005df771",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:42:00.2348479-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "50a86e8d-9013-408f-8758-42d94191600a",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-04T02:42:00.2348479-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5de00e60-befd-4f22-8648-47321a90164b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "88ffc264-3fc3-4794-9305-324d29959b12",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c917f143-c5a9-4b75-8257-ea3b36021ad8",
"CreateDate": "2026-10-04T02:42:00.2348479-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:42:00.2348479-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}