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.
WellPurposeName | 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": "d26801be-8729-4597-a0b9-825011d4b6db", "Asset": { "AssetId": "8b345e0b-a9bf-4d87-9491-470514370776", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f4368997-295e-4210-8682-fcaeea629d14", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d946f691-e2bd-4942-8b0d-7cbad2685c63", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "bd1a6617-18ac-456f-9375-c150272ab9c2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "SourceSystemId": "sample string 3", "CompanyId": "66d8f73f-b54e-4cab-8958-3f12824e0929", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "c4c5c6fd-0eb5-4405-93a2-5032f7beea4d", "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "StateType": { "StateTypeId": "5b8399c6-a4a8-41b3-836a-9b1bfe5539f0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f4368997-295e-4210-8682-fcaeea629d14", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d946f691-e2bd-4942-8b0d-7cbad2685c63", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "71260b3a-3052-4c83-99a6-de6f2b47c071", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3da2e6d7-777f-4e4b-af08-bfdae9bac705", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f55c2dfe-4f05-45d3-b911-8c0227a76be9", "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "StatusType": { "StatusTypeId": "9897e404-b996-4b6b-ab78-2a4c150c847c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f4368997-295e-4210-8682-fcaeea629d14", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d946f691-e2bd-4942-8b0d-7cbad2685c63", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2a2cccc3-e47a-4724-a1da-5f8ff0e26a0f", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e4c6ccef-b167-4969-8648-c84d71d657b8", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6c3aac15-94ef-4f8e-9487-29d7055be5f5", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "WellPurposeType": { "WellPurposeTypeId": "60a34a8d-9089-4efe-a053-004b29983113", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "331cbfea-fbcc-47d4-8147-927ab2092576", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b4224dd5-3e5a-4a8d-a392-12a27c195346", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-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": "dbdd67d5-a155-48ea-84ab-564e71cf38b8", "Asset": { "AssetId": "0c5bc343-b1e5-4d71-9979-91dae50c61ee", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "eb47f6e8-cde8-4adf-90d0-e27669bd195e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3a2ecc83-5934-4a25-b677-5610b34401a9", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0b43a8eb-cbf9-488d-bc5c-1cd4b7fcf88b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "SourceSystemId": "sample string 3", "CompanyId": "481918b9-ba3c-4719-b818-2ea0d3075cab", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "56d706d8-5236-4e69-b60d-6d39ff9171f1", "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "StateType": { "StateTypeId": "a9a7fa60-89c2-47af-88ac-6005647c08cb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "eb47f6e8-cde8-4adf-90d0-e27669bd195e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3a2ecc83-5934-4a25-b677-5610b34401a9", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "df7bbc68-553b-46bc-bcf4-8ebe21689625", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a5ed90aa-3890-4c35-996f-489e07333ce5", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3e194034-4939-4fad-aa47-4512a8aad139", "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "StatusType": { "StatusTypeId": "cda45aa7-21b5-4086-98b6-2641388f32a1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "eb47f6e8-cde8-4adf-90d0-e27669bd195e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3a2ecc83-5934-4a25-b677-5610b34401a9", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5fd37648-8bfd-461a-b764-cc37506533c9", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "23d78b12-9b83-4f1c-af6f-bb1fb1892867", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "MeasurementValueNeededDate": "2025-09-13T11:13:12.6547997-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d2bd26e0-a9ca-4969-bd6a-989bb9d69152", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-09-13T11:13:12.6547997-07:00", "WellPurposeType": { "WellPurposeTypeId": "54aa6b57-7f5d-4988-9cb3-61e6a06b5066", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e0a02e33-a084-4574-927e-a33c3cb7a940", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4f8d2141-a9b1-480f-a342-f39333575cda", "CreateDate": "2025-09-13T11:13:12.6547997-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:13:12.6547997-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }