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": "a557874b-fb9c-49f5-912a-53743fcda438",
"Asset": {
"AssetId": "2dcc64ac-96d8-4f9c-95c2-6bdf416d2019",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b6f92358-97ad-4268-ade9-5ee81aceb8eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9a3cc719-6e34-4c53-a147-4d9efec925ec",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6994cf98-aef5-4dee-a8e6-4b0396608976",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"MeasurementValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b69aaf0f-c92d-4dd2-9310-13ad0f55b093",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "70db66f6-50bb-4b9e-8753-5708c5c8f623",
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"StateType": {
"StateTypeId": "0b0589c5-bfd1-4654-ad22-65c5cee4cb68",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b6f92358-97ad-4268-ade9-5ee81aceb8eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9a3cc719-6e34-4c53-a147-4d9efec925ec",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e1da6f80-551f-4df1-b288-09abe7ed3221",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5c167072-cd1b-48b8-a0fc-2e4c44c2f184",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "30849b4b-2d64-4bef-84dc-b30b4f8e1e13",
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"StatusType": {
"StatusTypeId": "36bf022a-6f04-48a8-8396-59e83628d062",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b6f92358-97ad-4268-ade9-5ee81aceb8eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9a3cc719-6e34-4c53-a147-4d9efec925ec",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "bac45cc4-a898-421a-83d5-0f796c9cb763",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bfe1e135-8446-4265-a77e-1dd0d393d977",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"MeasurementValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4f48bb33-b466-4104-b612-6fdf330dfb0f",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "bd4f9f35-dc4e-43dc-b750-1026ee79e724",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8e5853ec-008b-487b-ad88-5c4098ef78d9",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "65b651b9-66ed-488b-bb53-f145c30cdcfc",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-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": "b2e165c6-f0ff-43b5-b426-bcc27c4f9b97",
"Asset": {
"AssetId": "cd1dea42-1607-4846-86f5-e5c935172039",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7912daab-b581-496c-bb2d-1c92055bc73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "872ed02c-b780-436a-a7ef-348366545604",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "975ab3f6-72a5-43d6-b09c-a53d9223f1a8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"MeasurementValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "dca09be2-f951-456f-b120-5d0a7511eca2",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4420f10e-01e2-46ab-adaf-b3ffab31054a",
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"StateType": {
"StateTypeId": "1a8eafbf-f9ea-4b0a-a767-3308e7680df2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7912daab-b581-496c-bb2d-1c92055bc73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "872ed02c-b780-436a-a7ef-348366545604",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "77179026-b0b3-45e4-9aa6-8cb92b432c46",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d8aef326-3b21-43a8-892e-0ce1975da9ba",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9007b400-c4e7-4cb3-b738-d6f44e398250",
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"StatusType": {
"StatusTypeId": "d2ef6be2-a773-439f-b5cc-000d9da6dd08",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7912daab-b581-496c-bb2d-1c92055bc73b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "872ed02c-b780-436a-a7ef-348366545604",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c1760425-a2bf-4fcb-a9e7-7a14410e40e2",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d89002cf-69bd-4199-aea3-b14192a6b13e",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"MeasurementValueNeededDate": "2026-03-30T15:56:40.875167-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5f131a70-a9e1-4868-ba80-2fac1961646c",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T15:56:40.875167-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "4b56ab74-fc23-4ebc-a904-736cb6990bd8",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "59ddbea8-646a-4c79-af7d-3712bb29b93f",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9ad45a01-0c90-413c-ac1b-5f23e6bbd604",
"CreateDate": "2026-03-30T15:56:40.875167-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T15:56:40.875167-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}