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": "62e0cef2-7fe5-419b-9d0e-29751ddbb97b",
"Asset": {
"AssetId": "988e84aa-3183-40bb-9ea6-80437460789b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4d266ce4-59a2-4738-a807-2936fe7ff7c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e792400b-bb3f-4728-a73c-7e256847381e",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7d5776e0-b811-4d6b-bc5c-c5a1c2f4e37f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3096d933-eb45-4e3c-8ade-f17603fae29b",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a47e4b66-86cc-4a00-b3c5-72edd83363bc",
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"StateType": {
"StateTypeId": "70c8b566-acf0-4ad7-a6a4-39cae07e598f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4d266ce4-59a2-4738-a807-2936fe7ff7c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e792400b-bb3f-4728-a73c-7e256847381e",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3cea0012-b6c6-4753-8556-9c6ed8278ea3",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5985c30e-6ad8-4cd9-a045-7618680380e3",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "429ff869-9346-4a33-b48e-32a5aa1caef2",
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"StatusType": {
"StatusTypeId": "95a852c4-4b4c-4474-a2f8-45657219d08b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4d266ce4-59a2-4738-a807-2936fe7ff7c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e792400b-bb3f-4728-a73c-7e256847381e",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ca1f44b8-5cda-4b97-a745-718e2506395b",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "af384a25-6879-41e0-b009-490335d10ceb",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9f79d3b5-7de4-42ca-bcdb-e128af594dcd",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c8dd35de-ac75-4a60-8eb9-587001ce3a36",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cfe00c05-8971-415f-b94f-e059568d6935",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6fb79fde-8d09-45ea-98e4-90f42756ba72",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-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": "b82bd172-9142-4504-87cc-259be9daa65d",
"Asset": {
"AssetId": "eddd4bc4-12d1-4963-8ccf-ae4138c0deee",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3a023d06-0e37-49cd-ab35-051e1d2c6cec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "800412fd-823c-4143-911e-4b5c7ccb32c3",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "51d801a8-5066-4632-acc1-ff8e23a9acc0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bf24cb1f-b1a5-4c53-8ea9-8eead035b58b",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "c6b6044b-14e8-4023-b342-c5221e460ac0",
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"StateType": {
"StateTypeId": "877c57a3-d196-42e0-a2af-445305a6a387",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3a023d06-0e37-49cd-ab35-051e1d2c6cec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "800412fd-823c-4143-911e-4b5c7ccb32c3",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f50afa74-41cf-4e3b-871b-158130bec425",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "073dc571-ce8c-4f91-b618-d30098294ade",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2f42212d-0836-49d4-a08d-bbb452d2fd26",
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"StatusType": {
"StatusTypeId": "d941ccdb-ef7d-4c3c-98e3-ed2142c6ef64",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3a023d06-0e37-49cd-ab35-051e1d2c6cec",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "800412fd-823c-4143-911e-4b5c7ccb32c3",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "81568847-6162-4559-8735-80df4ba6d14f",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f9bcdb11-c3b6-4546-963b-99450596a23a",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:36.8415526-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f5f03f05-ca8c-4b7e-a61a-6069cd5201cc",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-13T23:39:36.8415526-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c7e27704-82ef-4874-aedc-b61316e65961",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "89dd485d-9e6a-453c-a6cd-05e28f52518d",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "72ba6c72-9d10-47d9-8514-8c9b516ac5fb",
"CreateDate": "2026-09-13T23:39:36.8415526-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:36.8415526-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}