PUT WellPurposes
Updates the given well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to be updated
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": "4f31580b-2eac-4a20-a03c-9d89e48fbced", "Asset": { "AssetId": "2c2639e6-b515-4bb1-8639-e562fae3465d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f06a371d-8ce6-46f4-9dc8-f3fb22168c75", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc7d2dda-4231-4ba0-8919-1986b0f00d4f", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c31ea779-a0d0-4e7b-be3f-2aee65a581e7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "MeasurementValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "SourceSystemId": "sample string 3", "CompanyId": "93791470-20c5-400e-8f90-22d9e7883705", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a5085399-b903-4c6b-88da-d0806ee6206b", "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "StateType": { "StateTypeId": "d31d8836-f1ae-4b2a-9641-7bc0f0bab706", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f06a371d-8ce6-46f4-9dc8-f3fb22168c75", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc7d2dda-4231-4ba0-8919-1986b0f00d4f", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d97b43e0-574d-4eed-a91f-6cab33a19b31", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b6c24137-d1f9-4f7b-bd0b-f78c0942c451", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "1a45486a-d8ca-4528-9b14-ffade2410377", "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "StatusType": { "StatusTypeId": "af351be5-5043-48ea-b43b-6face4c631d0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f06a371d-8ce6-46f4-9dc8-f3fb22168c75", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc7d2dda-4231-4ba0-8919-1986b0f00d4f", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c7d0804e-56b1-4078-9934-e012c9f1bf2b", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0504bd8e-7617-4972-88aa-449a1ff62a53", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "MeasurementValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4a110c76-4d7b-4a22-b1ca-09e081bceae7", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "WellPurposeType": { "WellPurposeTypeId": "3525b635-e4e7-4fa7-993a-df5a2ae29a52", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4cbd8db4-3e78-4c6c-a14f-e956ccace398", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8e37fa82-4609-4c31-b0b5-bcb5c6a92c99", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }
Response Information
Resource Description
On success, the updated 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": "92f4e3da-c1a3-45ef-a198-55d12ca7160b", "Asset": { "AssetId": "e21c0ca5-5c2d-45c4-9132-9646762adfaf", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f0ccad65-5db2-4d26-bcea-1e0eb5a5f015", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c5e91850-fe11-4160-ba30-a07c93ed3d45", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e4c70e60-cba1-4e7b-9689-c2ec2687f406", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "MeasurementValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "SourceSystemId": "sample string 3", "CompanyId": "80489645-e8ee-4466-ae97-482d731be4f3", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2b6de6ef-3d06-49c1-bc11-333275915cff", "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "StateType": { "StateTypeId": "8f24489a-245d-4458-ab61-510f0ee3fe70", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f0ccad65-5db2-4d26-bcea-1e0eb5a5f015", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c5e91850-fe11-4160-ba30-a07c93ed3d45", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "01414328-ca1a-4d2e-8ffb-685bba7edfca", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e0ca15a5-ad6a-4272-9083-a941ebfaf99c", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a3eaa066-b977-43dd-8240-ef32189a9bc4", "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "StatusType": { "StatusTypeId": "60582e1f-64d7-4213-a9f2-db1830c59033", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f0ccad65-5db2-4d26-bcea-1e0eb5a5f015", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c5e91850-fe11-4160-ba30-a07c93ed3d45", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1f3f784d-f0b2-4bee-99a4-1d5a643fe1c1", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "826dbb32-69fd-4fed-a27b-e39d0839551d", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "MeasurementValueNeededDate": "2024-11-22T21:28:59.0271685-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ef1d848b-a445-42f3-a286-1044b0c98bb2", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-22T21:28:59.0271685-08:00", "WellPurposeType": { "WellPurposeTypeId": "72d70f54-8600-4195-b63e-b765646669b9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "180e1152-b627-46a1-98ce-15b97af8dc26", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9aa22258-78ce-45b2-a29c-c718ce832311", "CreateDate": "2024-11-22T21:28:59.0271685-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:28:59.0271685-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }