PUT WellPurposes
Updates the given well purpose.
Request Information
URI Parameters
None.
Body Parameters
Well purpose to be updated
WellPurpose| Name | 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": "9873888d-f64a-49de-9494-4f10b4ac810e",
"Asset": {
"AssetId": "a995ebe4-c84d-4c9d-97cb-370eaf79fdc8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "68283a5a-7309-4a6b-8a51-2f3a0cf6ef2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a3d3f1b1-3704-4b5b-bc07-a5cad3d831ce",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3d999936-2c07-4749-8823-79348b463350",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4c3fabf4-ccef-430a-957f-470a2ace2f93",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "096bbc23-cacc-46a9-82d5-fbde29c26817",
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"StateType": {
"StateTypeId": "54f9bb8a-0740-4885-929a-31541bb98f7e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "68283a5a-7309-4a6b-8a51-2f3a0cf6ef2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a3d3f1b1-3704-4b5b-bc07-a5cad3d831ce",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "88686d23-618c-4534-9233-4ae59c390196",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "55cfd841-7f97-4007-b775-63a1f7c1bf9e",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e33e88a0-166c-45d6-8ed6-e594c7fe38c5",
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"StatusType": {
"StatusTypeId": "71764e12-4c42-426f-8416-693e95a0a7fe",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "68283a5a-7309-4a6b-8a51-2f3a0cf6ef2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a3d3f1b1-3704-4b5b-bc07-a5cad3d831ce",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2b50636e-a9c3-429a-9048-9f432d97b382",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "eafbf21a-bd71-4efc-bd2b-f26cb49219fd",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dcf1ff2b-c64b-49a4-8ec0-51ebaae0ab6e",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "4ba4bcad-0b62-43f3-9fa5-e6317c709f42",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e366dc35-b411-4cfc-9015-44ff5013f3d5",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "87c6b7c4-42c1-473e-9067-95889631dfa6",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-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": "7a7d7ce7-fd2f-4c56-905a-26330a8773ee",
"Asset": {
"AssetId": "9741e2f3-8172-4e82-b721-1cd43fe322c3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bee9b5f7-322d-404e-9e62-d42c28da31b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60589335-823a-4d7b-899e-2ecf93308fc2",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "86557d4b-08e5-48c0-bda9-6d8682481d99",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d860694b-0c0e-4a1c-aac4-bb72e6f036f4",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "029a1e01-ac63-4bc9-aa9e-00dcdd4d94e7",
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"StateType": {
"StateTypeId": "2cac94bf-e2ad-44e1-bb15-0163a6fb724b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bee9b5f7-322d-404e-9e62-d42c28da31b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60589335-823a-4d7b-899e-2ecf93308fc2",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "236c68cb-abd4-4b87-a65f-065f566b656b",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cbc33e7a-814b-4124-9386-2d0543ddf012",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "776f5e75-37b3-42d4-83a5-2add8f2af021",
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"StatusType": {
"StatusTypeId": "334f0bc0-7dba-4673-92b9-c0cc8033fb6d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bee9b5f7-322d-404e-9e62-d42c28da31b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "60589335-823a-4d7b-899e-2ecf93308fc2",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "99fda5f4-410b-4908-9448-a5c7e80a4b5c",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7949ebe8-360a-43c5-ad1d-5264c7cc92cc",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:34:50.5512329-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "419901a3-af33-4438-8170-f3cfec93077a",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-04T16:34:50.5512329-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "82b247cf-3b15-422c-a6d6-7548b9ecde14",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bfdf21e9-8da7-4f48-837d-fe4cdafa3275",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3792299c-f0bd-4206-b5fb-363f7bbd24ac",
"CreateDate": "2025-11-04T16:34:50.5512329-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:34:50.5512329-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}