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": "935227f2-61a1-413f-8023-dd438a99ca1c",
"Asset": {
"AssetId": "bd274ff3-bb1e-4bc9-a9bc-8713826368f1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3463d400-9a61-45a5-b7a9-220e2ba614da",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "38d7f8fb-9e26-4b96-b870-0e453734ac36",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3af30be3-8598-4188-b713-e3a2286081ae",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"MeasurementValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "027df2dd-fc26-4d6e-a85e-7c6524b7df50",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4c99fdd0-90cd-4d3f-a1f4-05ebbfe0d9f9",
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"StateType": {
"StateTypeId": "978b24ad-fb4b-4c74-bbd6-7e4d95c001f3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3463d400-9a61-45a5-b7a9-220e2ba614da",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "38d7f8fb-9e26-4b96-b870-0e453734ac36",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1a858652-de9f-4727-b144-27d881afb06d",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5f2fef53-deff-4033-958d-0da8462a074d",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5462669a-17fb-4894-bdd8-da29ad492535",
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"StatusType": {
"StatusTypeId": "d8c851f8-2b49-4e2c-b7be-3ba15bdcb25d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3463d400-9a61-45a5-b7a9-220e2ba614da",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "38d7f8fb-9e26-4b96-b870-0e453734ac36",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "bcbb455f-e704-4820-b333-6188f8bfd17c",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ec0b032a-e70b-48df-a594-6916d86c4d9c",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"MeasurementValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "da6e3a51-da7e-46fb-837c-93c711f3be3c",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0ef88a2b-9e95-49c2-a095-afd278e4781a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f926c8cd-ad7f-4cb2-9057-c045d5f7c292",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d57833f3-3e1d-45f0-9e09-c8b97efa1155",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-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": "93a3081c-e740-47ba-926f-3f1580347bc7",
"Asset": {
"AssetId": "a01389f3-d842-4b2b-8d94-18e5df82db80",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3dd1b34d-3d42-4195-9eca-b44bd0106f0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f238bdce-fec7-41b5-9b66-f5f862f964d2",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d0b33522-1e53-4137-9989-e01113fbbf66",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"MeasurementValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bb366b1-0e2d-4c4f-a9e7-c76a5ff98d98",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "85cb252b-17bf-444f-953f-f7856baeb31c",
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"StateType": {
"StateTypeId": "07c135d1-de9c-4658-801b-0417efe1f1f7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3dd1b34d-3d42-4195-9eca-b44bd0106f0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f238bdce-fec7-41b5-9b66-f5f862f964d2",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "de027cc3-2eb7-4fe0-a498-a69ad7d5b541",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "64aa967c-223d-4e61-8df9-074b14afd965",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d42e5975-ec5a-4eaf-bad5-c64de3c1328c",
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"StatusType": {
"StatusTypeId": "8db20370-31cb-4138-9a5d-fe64b411de43",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3dd1b34d-3d42-4195-9eca-b44bd0106f0b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f238bdce-fec7-41b5-9b66-f5f862f964d2",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2f5683ed-1292-427a-97a0-196898cf52b2",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7da96170-b47a-4300-8d39-16da2c377672",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"MeasurementValueNeededDate": "2026-10-07T09:22:44.3196246-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "92e18625-3a14-4adb-8c39-f103cf1e484a",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-10-07T09:22:44.3196246-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ff3d321c-e33f-4a78-9861-6341f3b4d246",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "34fa958c-66bb-4fa3-993e-ea84ed7185c1",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e2cf5d13-4738-487e-a066-136c95d949c4",
"CreateDate": "2026-10-07T09:22:44.3196246-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-07T09:22:44.3196246-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}