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": "e487b3bc-e3d7-473e-a293-42e1b6a6cfe6", "Asset": { "AssetId": "a525365a-fc02-4ae4-913a-a0de3abaaf8a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "58ab039f-b1d3-49d4-9660-6eb86d589aa1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c2191a7-5bc0-4a2a-ac2b-2342c47366fe", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "15bc7896-5ce7-4b80-abfa-3ab48040fb6f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "MeasurementValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ab89bf2e-f736-4546-89b6-51aa26bd2df8", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "47b10312-fcd1-4018-89d7-6ea147a15242", "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "StateType": { "StateTypeId": "c899b1ef-271d-492c-a557-f6e2ae4b0da8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "58ab039f-b1d3-49d4-9660-6eb86d589aa1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c2191a7-5bc0-4a2a-ac2b-2342c47366fe", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cde56d2e-9873-4974-95d8-d5cb2a02e7e9", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "47aac868-0e5d-494b-b70a-e12b04106d25", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2c0ee587-5789-41cf-a109-9870f9e7adf1", "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "StatusType": { "StatusTypeId": "d8c71c86-fbc5-4b87-b33a-1e0f819b13d4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "58ab039f-b1d3-49d4-9660-6eb86d589aa1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c2191a7-5bc0-4a2a-ac2b-2342c47366fe", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8e4222b3-1337-4245-893e-35e717d6d0e0", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7719c459-1168-4440-b328-f8edc3f7c139", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "MeasurementValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "48a800fb-27d9-4a2e-a89b-f573bbe18433", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "WellPurposeType": { "WellPurposeTypeId": "a12f85c4-8c0d-4c79-9485-56d698009a8a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d89ea284-b3bd-4550-ab7b-bca223a9a71c", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "38f7a0ce-3470-403c-a98e-d03956ba6555", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-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": "728f3b04-6666-46b4-8adf-33633c27effe", "Asset": { "AssetId": "86e3e350-1c12-42fd-8381-c6094c03be58", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "db215ef6-3655-4a84-99f4-804129201cb9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "995faeb3-7e58-4632-92c7-63e9b3bd4fcc", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0aa35e8a-ba94-45e2-9adb-92435872f4ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "MeasurementValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c13e91de-4c6d-4927-b09f-ce3a6bb851a0", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4a2d4cc2-3f5b-4c49-b5e1-cac0f1fc6b8b", "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "StateType": { "StateTypeId": "e8f38c21-b8e8-4c8a-b952-d6cce516be53", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "db215ef6-3655-4a84-99f4-804129201cb9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "995faeb3-7e58-4632-92c7-63e9b3bd4fcc", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cdd71a50-97c5-4b91-8c11-e10d81419321", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "25edc48d-1010-4f92-90dd-81a4028e6761", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6a077beb-1c9a-470c-bbfd-df74cbe376c4", "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "StatusType": { "StatusTypeId": "aed1a87b-8099-4d62-abb3-d8279ba44eeb", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db215ef6-3655-4a84-99f4-804129201cb9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "995faeb3-7e58-4632-92c7-63e9b3bd4fcc", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "82275597-119d-4bea-be31-435953c69c46", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "55b2694b-1532-40d9-98da-3c00cea2203f", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "MeasurementValueNeededDate": "2025-01-02T11:03:57.6832801-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3b37003d-2ddb-4cff-af2b-a7627e330983", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-02T11:03:57.6832801-08:00", "WellPurposeType": { "WellPurposeTypeId": "fc9ed187-c08c-4648-9b71-e4b204c84621", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4f4ec57b-c5fa-46c4-96a0-2f0057fbb085", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3cc38cae-c3d3-492a-ad40-3c185ae46355", "CreateDate": "2025-01-02T11:03:57.6832801-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:03:57.6832801-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }