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": "cda766c4-598b-4e41-9845-de7dc5506a1e", "Asset": { "AssetId": "671964b9-804c-4073-a421-1b2cf014230a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9e5c8e82-37d8-43de-8c93-f063c82e1133", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6b2f00d8-c689-48f3-a61d-1353fa0c81bb", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "60ceb76f-5352-40c6-a653-ef2f456391f9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "MeasurementValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ac29b977-c744-485d-819e-d60e26c27bd5", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "62489d92-22a1-4056-9c09-4e3dfaf3e137", "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "StateType": { "StateTypeId": "1adcc457-c2da-4472-92b7-0cd511b179f8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9e5c8e82-37d8-43de-8c93-f063c82e1133", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6b2f00d8-c689-48f3-a61d-1353fa0c81bb", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "01c17b1b-4eb1-4ab9-9313-e59c9e24e011", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "efd0f54f-eb63-4acf-86b1-2bf979d18f0c", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ac88f107-b05f-491e-84d4-bb64bad684c6", "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "StatusType": { "StatusTypeId": "6abdfabd-e6fc-4e42-a810-8b8cbed973b5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9e5c8e82-37d8-43de-8c93-f063c82e1133", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6b2f00d8-c689-48f3-a61d-1353fa0c81bb", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "cb4fc416-20ed-4a96-9305-4fd3fdb23adc", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "115d0b02-7e73-4198-b6ea-b45a881c6f6c", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "MeasurementValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "72627554-066b-419e-a79d-cc728c0c4bbe", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "WellPurposeType": { "WellPurposeTypeId": "fb2ff0ed-2c2e-451b-96fc-4467da79b041", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "69783f84-ff6b-4f27-8b5c-78257c1d0ae6", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "23c06e9e-9b58-4027-b4e5-f310dd83d406", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-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": "ddad80dc-f3fc-4f4f-82df-ee1a88f851b8", "Asset": { "AssetId": "be55fc6e-a36a-42bf-b6c0-e8e8e95fbe60", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dec7e26d-ada8-4d39-ba86-289b8a168e71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "57b513c5-5bff-4f2d-b05b-b74883b7fc36", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "68e81d40-d835-4c99-a197-c746b4db97a4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "MeasurementValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "SourceSystemId": "sample string 3", "CompanyId": "47c6f185-1c2b-4024-b55a-5074d12bb92f", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4481b9f5-01a2-4fb3-b550-2e5c40144b1f", "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "StateType": { "StateTypeId": "4d510f98-a9bd-4ce6-98f1-0be56f7bd5ea", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "dec7e26d-ada8-4d39-ba86-289b8a168e71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "57b513c5-5bff-4f2d-b05b-b74883b7fc36", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d7e0326a-6cb7-42b3-8d91-1b6cfb251ca4", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "519f794e-b01e-4f65-ab05-88f46377630a", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "8f2c1889-d640-4a3f-9e21-343552484838", "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "StatusType": { "StatusTypeId": "78bab0b9-0b62-4f72-bcb9-c5187272b1c9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "dec7e26d-ada8-4d39-ba86-289b8a168e71", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "57b513c5-5bff-4f2d-b05b-b74883b7fc36", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "797053dd-6a3b-4429-ad8a-bb0c19d473c1", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e6dbeb78-f29a-4248-bf59-4fb29ce3c97c", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "MeasurementValueNeededDate": "2025-04-17T04:34:51.4949739-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "57c6cf75-8306-45ee-9fde-9ae30170025e", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-04-17T04:34:51.4949739-07:00", "WellPurposeType": { "WellPurposeTypeId": "a5e62267-8dd2-4bc3-bafc-30c75245755c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "60d92d88-e3b6-4107-a434-81e85221a0e0", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b6b6838d-de28-481d-aea7-8c7eb2dc7bed", "CreateDate": "2025-04-17T04:34:51.4949739-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:34:51.4949739-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }