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": "ad1bca33-a53a-4222-9e4e-b1902bced43e",
"Asset": {
"AssetId": "e68feee5-1ec5-464e-b450-bd1f81b5f369",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dcbe5c93-7c4d-44a4-bd6c-2e794d3bd654",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b95e13f9-19b5-48e7-9f9f-52be95ee90d4",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "2bb7bc64-684d-4b64-abb7-ba0d8fd8cea5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"MeasurementValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "41ca2134-909d-4e59-a9e1-dae6f299481a",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "6d42b06f-adcd-4434-bba6-8ff90b33bb35",
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"StatusType": {
"StatusTypeId": "6b284beb-f8a4-440d-bf2a-b1542598ff82",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "dcbe5c93-7c4d-44a4-bd6c-2e794d3bd654",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b95e13f9-19b5-48e7-9f9f-52be95ee90d4",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1a4b6389-475a-4742-b421-a45a1657baae",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bae306de-34c8-42e9-bb32-7f9bfd7f3be4",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1a10a1d2-c19c-4e50-88ff-e843647c6205",
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "58f46611-c1a5-4095-b5b9-432c290ebf56",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7c624a0a-5d26-467b-b1b4-b5a2dcb7b1b5",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b92aca77-0775-4e97-9492-7bcaad65ed1f",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"MeasurementValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "18c6ae97-88d4-4ab9-9c34-186ac030cf2b",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"StateType": {
"StateTypeId": "2b39f61a-8fc7-420f-95dc-dc1004683028",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "dcbe5c93-7c4d-44a4-bd6c-2e794d3bd654",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b95e13f9-19b5-48e7-9f9f-52be95ee90d4",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0e760cd0-3448-447a-b6a5-72b2909b16ef",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8264980c-b69b-40fa-825b-c9e7344a5e23",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-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": "f5f24778-6a8b-464c-b32c-eec91fdac15b",
"Asset": {
"AssetId": "c4c0becf-d05a-4a5a-b35c-6eeba621f5c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "36a54967-af6d-4a51-aeb6-a5789c6d544b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "735ccdac-00d7-4406-a4d0-e242a953601e",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5026b014-ee51-4eef-8caf-a03ff5768e2c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"MeasurementValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "affd09ed-c5e4-4ee8-a8a1-6d8314cc64c7",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "252ee531-7fae-4ef5-b949-03b7e3b25b10",
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"StatusType": {
"StatusTypeId": "b381770c-f1e8-435b-b4d5-68db296dd203",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "36a54967-af6d-4a51-aeb6-a5789c6d544b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "735ccdac-00d7-4406-a4d0-e242a953601e",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a055bcee-cafa-47d8-9c66-fb7dbb8b5aae",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fc0aaef4-11f8-4954-9cd6-0b749fc08831",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "911355da-2a87-410a-8d9d-768ce884c16d",
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "226ad664-4613-4cc3-8ce4-8441ac3856ff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0dbef732-bff9-419e-9af5-370fd3bacb3f",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "37965892-5289-456d-9ee4-6b3c48640eda",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"MeasurementValueNeededDate": "2026-01-06T16:37:05.7310826-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "82b691e9-6430-4f1a-b4a0-f5ca403e5dea",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-06T16:37:05.7310826-08:00",
"StateType": {
"StateTypeId": "e167f60f-f87a-4d54-89fa-bae687ff848e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "36a54967-af6d-4a51-aeb6-a5789c6d544b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "735ccdac-00d7-4406-a4d0-e242a953601e",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e80ae519-3cdf-46a1-9221-6179df9ad79f",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fa94451d-ab73-4f55-b11a-f826a89d556a",
"CreateDate": "2026-01-06T16:37:05.7310826-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-06T16:37:05.7310826-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}