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": "7c318e01-865a-43fc-b216-99b75521f6c2",
"Asset": {
"AssetId": "7516c17d-5448-405d-884b-61e3a2975485",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8996bbd3-765c-488d-8dc5-b65233415057",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59b5f0f8-ce58-47b9-93d8-7b41987ab646",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7f951705-bf59-4b7f-8ee5-df82b6ac95c9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"MeasurementValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1767fc90-a83c-4906-99fb-0dc1ad95ace1",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "0dcc55cf-207c-40db-82a0-e2379bb2c8ed",
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"StatusType": {
"StatusTypeId": "2f247353-6a56-4906-a893-b27b693d037b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8996bbd3-765c-488d-8dc5-b65233415057",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59b5f0f8-ce58-47b9-93d8-7b41987ab646",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5811dd6b-8e40-4acf-9f5e-b2a9ef20e43b",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cde6fdfd-7118-4f7c-b5cb-3e968bc90670",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8efcec4e-1178-492c-9f37-25141c804164",
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "ce677727-8a31-460b-8dc1-86b5f1e24101",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a787f6d8-3b54-4c50-ae3f-938c5bb06ed1",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a73c022e-d4a6-42d6-ad8f-074038515f35",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"MeasurementValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ea76de69-42ec-4975-9636-9482d0555bff",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"StateType": {
"StateTypeId": "65e6d8fc-ab22-4205-8758-64f44c7a9ebd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8996bbd3-765c-488d-8dc5-b65233415057",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59b5f0f8-ce58-47b9-93d8-7b41987ab646",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4a4b4b11-b2aa-4b4c-992c-bd4d612c3486",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "de61a4b2-4b6e-4a14-beac-0365ff4eef11",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-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": "c94049b9-fb3b-4d1f-8f83-27f6b2a8b2dd",
"Asset": {
"AssetId": "01391734-6e47-4778-b5d1-16b1b82f008a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "73bb261c-839b-46d2-9a9c-387a332dfccb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "48483014-ff82-4d87-9e18-21be0bd29232",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d398291d-e6b8-400a-ab69-e6b605a55c32",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"MeasurementValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "49071867-4d87-4478-afdf-ef049f74fd3d",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ccf7bb83-c2af-4da1-b833-c0c2df3bf44b",
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"StatusType": {
"StatusTypeId": "86a3887f-c25c-49fd-85c6-32fdf2bc3574",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "73bb261c-839b-46d2-9a9c-387a332dfccb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "48483014-ff82-4d87-9e18-21be0bd29232",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ccc6a7c1-9bb3-4d1d-bb33-02332e307ab4",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba3bcf32-9b78-46d0-abbb-52d827c7f622",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "283a5fcc-8e42-488b-a2af-ed47afd657ba",
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e01050b3-0936-47aa-814a-1fcbb50e0edd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d21a6d1c-028b-41dc-a0bd-8ee102328f50",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e8b6185-3f6e-4b90-84e5-8ccb7a0d6bc4",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"MeasurementValueNeededDate": "2026-01-12T21:46:46.1118967-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8ab46e91-b25d-45c3-914f-2bf7ce5e18d2",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-12T21:46:46.1118967-08:00",
"StateType": {
"StateTypeId": "19e71299-72f8-4d64-92cd-19d1c2173c0d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "73bb261c-839b-46d2-9a9c-387a332dfccb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "48483014-ff82-4d87-9e18-21be0bd29232",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5ece900c-31d4-4716-9701-fb7e4cc043db",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba9b5375-dfe1-4afe-881c-79cec32d5121",
"CreateDate": "2026-01-12T21:46:46.1118967-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-12T21:46:46.1118967-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}