PUT States
Updates the given state.
Request Information
URI Parameters
None.
Body Parameters
The state to update
State| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | globally unique identifier |
None. |
|
| Asset | Asset |
None. |
|
| EffectiveDate | date |
None. |
|
| StateType | StateType |
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:
{
"StateId": "18565fd5-d8f8-469d-91cd-f42ee776d0a6",
"Asset": {
"AssetId": "e5244ec5-877c-419b-b439-9f39c9a99508",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8dd82d5c-d554-4735-a2ff-3ace6f39f479",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "44aadc42-92c1-4e3b-a8b1-2625bb118b4a",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "726ce153-3579-47fa-8547-4b7b4c9e10b6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"MeasurementValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a3802f25-f104-4e60-9282-5fc51ddc825a",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b935dcdb-dca8-4385-9dda-0fcdb42ffe80",
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"StatusType": {
"StatusTypeId": "64a19d8c-05de-40b8-9387-212763bb2b8d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8dd82d5c-d554-4735-a2ff-3ace6f39f479",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "44aadc42-92c1-4e3b-a8b1-2625bb118b4a",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a1e9ff52-165c-4501-8b5b-3849ada93861",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fcb8e201-d6a0-4079-93a5-38cf2b290e4b",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5650533b-6058-4a10-a0d9-53fbbee2198b",
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "4c372a49-2ca6-47b2-bd70-b911012d21ce",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3864b19d-1dd5-4dd5-820e-93f254d86eaf",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "494b0acb-958f-46a1-a8f9-13688d60c839",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"MeasurementValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "abd24435-06c2-483d-937a-fadf9b5f51b0",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"StateType": {
"StateTypeId": "dc912fa5-d745-4019-a055-dc1e25f9945b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8dd82d5c-d554-4735-a2ff-3ace6f39f479",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "44aadc42-92c1-4e3b-a8b1-2625bb118b4a",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ef010ec7-94a0-4de8-8f8c-89beb6f3f2ab",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "60f751ee-2385-430d-adf5-5b8c90b837ce",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
}
Response Information
Resource Description
On success, the updated state.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | State |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"StateId": "4e4fba2a-2744-4806-b0ee-23a12791644c",
"Asset": {
"AssetId": "4a5c5954-d06d-4dd9-a9b7-dcf948148cd6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "71cf3dd0-9d5d-4fe2-a4ef-5e61d4f749e2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e7ecd94-fbd5-40f1-a4f9-f2d86885602f",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "657fb2fc-9575-40b9-890b-76a3b0bbf750",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"MeasurementValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "34bc14ac-9e9e-4a96-a3c8-d849c57ed878",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d4a29aa2-9ca8-48c5-8d12-30f98a944caf",
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"StatusType": {
"StatusTypeId": "38bbc7d8-b272-44e3-a431-16d9e15adb62",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "71cf3dd0-9d5d-4fe2-a4ef-5e61d4f749e2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e7ecd94-fbd5-40f1-a4f9-f2d86885602f",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ce38cd1f-79c5-49e8-ad65-715857d4db8b",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a4e5e054-5837-47d8-af9c-d37851308aad",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ab45e837-3049-4e06-8a4d-718fecca6cf0",
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "93b45ecb-8b11-495f-8a0b-65f2e619e5ec",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8b6cbbf8-24f4-45f1-8fc2-b38f26cc3eea",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ad2a38e4-5dda-4761-95e6-4d54781c6462",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"MeasurementValueNeededDate": "2026-11-16T07:51:35.9270106-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fedd5d14-8638-4f3a-8353-e682225f8986",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-16T07:51:35.9270106-08:00",
"StateType": {
"StateTypeId": "1e05572c-302d-434b-8dec-5629b1a25539",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "71cf3dd0-9d5d-4fe2-a4ef-5e61d4f749e2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e7ecd94-fbd5-40f1-a4f9-f2d86885602f",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "23c07e20-43c7-4c43-a6e7-7ba994b269cd",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8a82d640-78d0-42e9-8d3a-5923fa69b569",
"CreateDate": "2026-11-16T07:51:35.9270106-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-16T07:51:35.9270106-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}