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": "978f4039-bd18-4ed5-a697-2ad0a8489d1e", "Asset": { "AssetId": "3419d53a-fe42-49d0-8d41-cec5a0efe14f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d9b55751-f148-46f5-9ec7-a0b8f66e6535", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "583e7897-9281-4023-b02d-ff5c433d8488", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c47b38a0-c251-408b-88ac-7b1cd981c75d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "SourceSystemId": "sample string 3", "CompanyId": "7f2effe4-147f-4f5f-bb70-a463d0e7e4fa", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "c6a991ad-c0ac-4b9d-9379-72274c68ab36", "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "StateType": { "StateTypeId": "a9e9c7a8-99c4-47fe-a7ac-f4fb1f84c115", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d9b55751-f148-46f5-9ec7-a0b8f66e6535", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "583e7897-9281-4023-b02d-ff5c433d8488", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6b700e97-45c7-420e-b291-adeee5d256d4", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3a59a25a-d3e1-45ba-9d53-bab1f8776963", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7dc60f6f-3592-4b7b-8b05-5d423d8bde6b", "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "StatusType": { "StatusTypeId": "27fa848b-f42a-40c6-9189-558dedc8d27d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d9b55751-f148-46f5-9ec7-a0b8f66e6535", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "583e7897-9281-4023-b02d-ff5c433d8488", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3178210a-bf4b-4f2d-a0b7-6309d4cba050", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ddb274df-fa6b-4980-b4c6-a1687507f373", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8572da53-7576-4d81-8449-73436a7b1b7b", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "WellPurposeType": { "WellPurposeTypeId": "4e1fbacc-7ee3-4846-a83f-950da57f16b8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1fbfe582-3d34-45e7-8ddb-a83321a0ce0a", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3b793191-83a4-4ebc-a84f-4175cf7c71ef", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07: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": "a2f39509-e10b-47fc-842a-2617b67984a3", "Asset": { "AssetId": "8c963b34-ec80-427d-9952-7cfedae962c8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "aaef9646-48c8-4380-9c4f-625cabed4f7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66b3368a-7e61-4a1d-bf1e-5e54956507ec", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c0277eee-76cf-422a-9f6c-cde7e06fbe0f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4ae1083b-c892-427b-a692-17ad24b87986", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f25c8ee1-50dc-492d-8543-8eac7129f98d", "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "StateType": { "StateTypeId": "e6cd83c0-9c5a-48a4-9d1e-a348f7730c60", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "aaef9646-48c8-4380-9c4f-625cabed4f7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66b3368a-7e61-4a1d-bf1e-5e54956507ec", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a8162999-fca4-490f-997b-cb6ae6c08838", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "4744c3d8-a973-4b0b-a55c-0e5296639c0d", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a3c45c6d-361c-4d07-994b-7615fa643036", "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "StatusType": { "StatusTypeId": "93c844db-3908-484e-bdd4-65ef0ece4c7e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "aaef9646-48c8-4380-9c4f-625cabed4f7a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66b3368a-7e61-4a1d-bf1e-5e54956507ec", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "40af8929-a3a5-479c-a69e-1bf5078ace59", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f5fed4bb-8958-4a2f-a167-b351f7922167", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:29.5771537-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c6e451e1-aaf6-4f89-a9c3-0adfe76a8751", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-10-13T15:26:29.5771537-07:00", "WellPurposeType": { "WellPurposeTypeId": "19b935e3-2c46-4253-bff2-07fc103a8e30", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "27161b1c-295e-4725-a4b4-6070a2a2e512", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7b4a2059-dd77-4e2c-999a-4f9a935445ff", "CreateDate": "2025-10-13T15:26:29.5771537-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:29.5771537-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }