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": "8ad917ee-1efa-42d9-805e-2fd8171359e5",
"Asset": {
"AssetId": "24924840-e283-4a72-8178-de50ffaa99b6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fc84da09-3f28-4ec1-8d2d-b6c9942618fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c5635ea-8b92-4241-b276-a5bf6941a1a6",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "fcc41e05-008d-4ea7-855e-0eb5bba21d8f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"MeasurementValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b22a62f1-74d2-4929-83d2-f817f65094eb",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b3709351-267e-41c5-b2b7-17a1c5369f8f",
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"StatusType": {
"StatusTypeId": "c7fc2f9f-389e-49be-913b-186ad9b52831",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "fc84da09-3f28-4ec1-8d2d-b6c9942618fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c5635ea-8b92-4241-b276-a5bf6941a1a6",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a7e4f21c-3494-4f11-b188-c77855ec5e5f",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "33154c5c-6ace-474a-b68e-542df1d1f57d",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "799b313d-2f7a-4378-98f3-b1cee15c159c",
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "73e527f7-cc38-43af-b4fd-f86d02c810e7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fa0dea0d-83fc-4edf-9099-9c0b0668894a",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d01fec02-a43b-4754-9aae-5e9ab8063175",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"MeasurementValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3d70d90e-da9a-4572-a6d3-57baf750a417",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"StateType": {
"StateTypeId": "70635e4b-1133-420e-a8dc-90fa3a0859a6",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "fc84da09-3f28-4ec1-8d2d-b6c9942618fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7c5635ea-8b92-4241-b276-a5bf6941a1a6",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9f043e4c-a5f9-4e17-9e67-485489855efd",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ecd8c4b8-1ebe-429a-8f15-cc3547783127",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-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": "912fb90a-4c3e-4701-b606-aa3fcb5b2d63",
"Asset": {
"AssetId": "8970a7c4-dace-43a3-b6ad-9eb1819e2359",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "68875256-90c8-43ad-98f1-1fed80eb7c76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "17b9c785-10d7-4379-951c-f8a8e9f8d2b7",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3b02c046-40b5-47e9-b0b4-aed0aa2b550a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"MeasurementValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a078bbba-db64-4cb1-976d-16500ba593e7",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "cac7ffbe-e1b4-40d3-ae16-20447a895e26",
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"StatusType": {
"StatusTypeId": "0db30fba-fe5a-4845-9efb-db686227f902",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "68875256-90c8-43ad-98f1-1fed80eb7c76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "17b9c785-10d7-4379-951c-f8a8e9f8d2b7",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6aece16c-a188-4464-a8e9-c53fc1d2fec7",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "02628223-1a68-4bf3-86f0-01a6572f0bd8",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "756aa49d-8cd4-47a7-bfe6-96ea55fcb56a",
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "23fed6cf-9177-4703-b8a4-630f0eebfdc3",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "606be7d7-a0f0-492f-b282-8faacac7dc9b",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c983b023-c310-4274-9310-12a7ef4e97bc",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"MeasurementValueNeededDate": "2026-06-29T00:15:34.9345653-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "472558b7-3492-4300-83ed-18ed0e2a3969",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-29T00:15:34.9345653-07:00",
"StateType": {
"StateTypeId": "e19e98b6-6e13-43da-b49f-9a8402c5520f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "68875256-90c8-43ad-98f1-1fed80eb7c76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "17b9c785-10d7-4379-951c-f8a8e9f8d2b7",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6eb3b464-3d48-4da0-b4ae-4698bd6f7f4c",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b9d0c899-a9b0-4f86-add4-5f9354323ee3",
"CreateDate": "2026-06-29T00:15:34.9345653-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-29T00:15:34.9345653-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}