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": "796d8178-8cc9-40e5-88fd-9307514f31ae",
"Asset": {
"AssetId": "63502f81-2bb0-4e63-b01c-8334853ea951",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "44bda042-73fb-4c90-ad88-57db3caeb207",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33757cbe-3ec6-4d3a-80fb-27c62523e3c3",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "17625577-7eb9-4e91-9cb0-c6e4edcb2369",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"MeasurementValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e579a669-3052-4c5b-bcaa-a712e158232a",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "2ec0f417-6465-4526-b8ca-25eea2312512",
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"StatusType": {
"StatusTypeId": "61bd4e5c-090a-4dd7-acaf-671fa1372cc2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "44bda042-73fb-4c90-ad88-57db3caeb207",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33757cbe-3ec6-4d3a-80fb-27c62523e3c3",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fa7af048-590b-42bb-832f-00c26ec2665b",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "40b2921f-e313-4412-81f4-8fd985a01913",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d70c4cbe-4a7c-447c-a921-39dc07cc56f5",
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5aa72bb0-a5b7-433c-b9b2-f73d4f551097",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bdafe9cf-5db5-47be-ad2a-e364802cff2c",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7b27c333-9f17-43ba-a712-c25cd7c1e74a",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"MeasurementValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0133a196-d89c-4191-94bb-c6bc7c53e200",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"StateType": {
"StateTypeId": "1c7ceb7d-825f-4220-bf24-1e74d17153be",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "44bda042-73fb-4c90-ad88-57db3caeb207",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33757cbe-3ec6-4d3a-80fb-27c62523e3c3",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2f3466d0-b7b7-4c1d-bfa1-4d62931d024a",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "97ed994a-75f9-4d70-aedb-426d916b4890",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07: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": "ba573247-2be1-412b-a844-425ce7676fe2",
"Asset": {
"AssetId": "640729fe-ae64-425d-9c10-1e6b5e045ecf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "204294a0-2904-42c4-9e7c-6c1988265309",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1265e75a-9f17-4f2f-b6ec-34e6552d659c",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d16eb0d1-7cd9-4d12-a945-97566846aac8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"MeasurementValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4de0048b-685f-40a7-957b-7d2a4ad308e0",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "daa1f155-98c1-45a0-a7b9-492d111cf1be",
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"StatusType": {
"StatusTypeId": "74e35a78-df3b-4e10-961f-3e4c98d46d30",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "204294a0-2904-42c4-9e7c-6c1988265309",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1265e75a-9f17-4f2f-b6ec-34e6552d659c",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1ec81d16-99e3-41ea-b333-e169289c3359",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "684b7a8b-b65d-40a9-b530-9c6abd2f7f03",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "30aeb9ae-bedd-41e4-9936-9976515b214a",
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b394a05e-de61-4a4e-93fb-456d57658533",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7954e31f-435f-4b88-83b1-f4aea383edf1",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "eb53d1c2-6916-4ee3-b9a5-9930e58b8f73",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"MeasurementValueNeededDate": "2026-05-17T15:45:09.2661378-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "10e97d11-4ede-4c4b-a500-be26c4445230",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-17T15:45:09.2661378-07:00",
"StateType": {
"StateTypeId": "fd3e6106-4f82-4514-a49e-250979e27391",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "204294a0-2904-42c4-9e7c-6c1988265309",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1265e75a-9f17-4f2f-b6ec-34e6552d659c",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "41f64e25-9bef-4be1-8e74-e3dfdeefcf85",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "593f2c81-c9f9-47d3-a5a1-21912ccae0c8",
"CreateDate": "2026-05-17T15:45:09.2661378-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-17T15:45:09.2661378-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}