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": "36f6436c-aeef-45f8-a59a-10af4e1d8a06", "Asset": { "AssetId": "498acd7c-717a-4f93-9d99-33f085c9803d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f401e2f9-449b-4d3b-877a-c07cc1848f0d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e9085515-5dfa-4342-92b1-fd43b4264abd", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f743f501-1c6a-4edd-ba4b-3bfd864ec665", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "MeasurementValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "SourceSystemId": "sample string 3", "CompanyId": "eb84a4cc-652b-4cab-ae55-d64160cf4436", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d4c075b2-b051-4e52-b76d-d2492ef74001", "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "StateType": { "StateTypeId": "2e228a9a-b27d-4957-96a2-748d56cf3d29", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f401e2f9-449b-4d3b-877a-c07cc1848f0d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e9085515-5dfa-4342-92b1-fd43b4264abd", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "bd7f1ff5-609c-40d8-aa28-8a900701bd8e", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "307bafec-5f11-4600-8027-9b4479ac995a", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "898792a6-08fc-4710-9881-dceb3692d7f8", "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "StatusType": { "StatusTypeId": "a59d60a5-d027-4220-bcfd-1fdc72c231fd", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f401e2f9-449b-4d3b-877a-c07cc1848f0d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e9085515-5dfa-4342-92b1-fd43b4264abd", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "17311ccd-6e67-44b7-99ac-a246438f8912", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "678a2ce2-ad32-4d84-af9b-3a10800ff7f9", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "MeasurementValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e3a51cf1-0c6a-4e79-a42a-85bf7ea7b090", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "WellPurposeType": { "WellPurposeTypeId": "630fe045-1cfb-439e-9100-0fd89c4db8c9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0253da60-942f-4cae-9334-f5ba59c64644", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "46910959-12cf-4112-8c20-23e9435ef4c3", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08: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": "c3b8b2c3-c3dc-4a81-be4d-6005d7e8f098", "Asset": { "AssetId": "d49109a2-f7b1-4438-bcc6-ae8ff49e0bed", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "300c8d99-2987-41d9-93bf-dec79b97189f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a96a78d2-a936-416e-a2d6-b9f4490deeb9", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "de433cbd-b922-4c55-a572-b1e189f6537a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "MeasurementValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "SourceSystemId": "sample string 3", "CompanyId": "33e51c84-2062-4ad8-9fe1-d3bdb9fc7278", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1bd0dfbd-3ecf-45c7-8be9-561544107e05", "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "StateType": { "StateTypeId": "6949e51d-7b7d-406d-b595-3a1effb5b829", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "300c8d99-2987-41d9-93bf-dec79b97189f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a96a78d2-a936-416e-a2d6-b9f4490deeb9", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "703cbef8-c52b-4ab1-8732-db510b8655f6", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "edb10213-e4d1-4d12-8d01-68574e2a0bfe", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "34f4f561-8c50-4d16-81a3-8ed2c543ca6d", "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "StatusType": { "StatusTypeId": "54567774-8f33-4799-9f7d-f4de8e7268ab", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "300c8d99-2987-41d9-93bf-dec79b97189f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a96a78d2-a936-416e-a2d6-b9f4490deeb9", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ab880357-138c-4776-b502-157a311239f6", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ecd76e6-a363-47bb-9d9c-cbc1a61da0f0", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "MeasurementValueNeededDate": "2024-11-21T05:14:57.9529552-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "269e83ca-ee37-4403-b564-77595506556a", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T05:14:57.9529552-08:00", "WellPurposeType": { "WellPurposeTypeId": "4731fa51-7881-43dd-ad08-8dfad8e8d5ea", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "173faee1-560b-4038-9b8c-42555cc7bff2", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5578525a-3f28-4d54-af6a-26ac2ce54161", "CreateDate": "2024-11-21T05:14:57.9529552-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:14:57.9529552-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }