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": "56a820f8-2e49-45a7-82bb-ef10c72d0ddd",
"Asset": {
"AssetId": "1c694f87-e232-4ef3-bed0-5e5233ec76ed",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "64b450c9-553e-4636-b5ba-6f6f4ec446ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e7219d79-3d96-4669-a274-258c01f5f6b1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "79e3138d-488b-47ac-8553-2a0878f68ab5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"MeasurementValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "29e37ee1-59e9-4fa5-b020-78a8c7a9614f",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f1cb08ad-945d-4cbe-af29-821063f4fdf6",
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"StatusType": {
"StatusTypeId": "b4a85bb6-c2b7-4f89-88eb-9ed1ca7fe1a2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "64b450c9-553e-4636-b5ba-6f6f4ec446ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e7219d79-3d96-4669-a274-258c01f5f6b1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "80fda74f-045a-4156-824e-fcbe6c1b18ab",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "10e9b15b-baa0-4183-85d8-db890bc717f6",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9557bca1-1874-4991-9a78-6995605882f3",
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "37473db7-049e-4fa5-a1bd-063e2ced8602",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5c7b2e8c-aa66-45f5-9a5c-127addea49e9",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6d24051d-5e59-4cbe-a476-55807de8e1e5",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"MeasurementValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9b89d074-6287-4b33-998d-413d0138750f",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"StateType": {
"StateTypeId": "eb85de0f-c7e9-4bae-a63f-a82927c77264",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "64b450c9-553e-4636-b5ba-6f6f4ec446ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e7219d79-3d96-4669-a274-258c01f5f6b1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "58b79f5a-ed80-4b17-99a0-2bfa8d5fd10d",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6f632385-1168-4fb3-b7da-5d63a1ad8f6d",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-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": "e3b7d2e8-f568-4d4c-bb4e-13f2a82db963",
"Asset": {
"AssetId": "d110a3c2-f24f-4ab8-a76d-96b79f5669d3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e906c354-1b2f-488b-9ae5-424fbb780946",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37064767-9b49-4c5e-9166-2118363090c1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "01a36f58-abc4-47d2-b00a-1bb027536c94",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"MeasurementValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d0876535-9ad4-41c5-be13-a4c5e230db31",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "41b9253d-89ab-40cc-aa8f-665e813f14ad",
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"StatusType": {
"StatusTypeId": "d2e9faf4-a20f-4c16-80a7-dd702cf911c1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e906c354-1b2f-488b-9ae5-424fbb780946",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37064767-9b49-4c5e-9166-2118363090c1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "20f22150-33a4-45ce-9cd0-e98a71a60030",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "21061bc6-37c9-4ade-8e02-ea3068b4dc87",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "04763140-88fa-4408-90a8-0bfcad0fd63a",
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "7a3c84d6-0eaa-4ebb-86e0-e44c2ed8adf0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "11ec00dd-17d4-4ca6-aa55-b026fe080236",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cdbf9495-7f54-40a6-8da0-bb9debbe75af",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"MeasurementValueNeededDate": "2026-03-19T21:25:36.2078825-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b9edd2a4-2a4f-48e4-9ac6-c2b5f4eb8ceb",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-19T21:25:36.2078825-07:00",
"StateType": {
"StateTypeId": "ab228c41-f0ee-420e-adf7-2a6bb855306b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e906c354-1b2f-488b-9ae5-424fbb780946",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37064767-9b49-4c5e-9166-2118363090c1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e53b260f-13ec-4f6f-9b4d-a89851e0f629",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "631c5aa3-6784-43bb-b582-dc127123bfb1",
"CreateDate": "2026-03-19T21:25:36.2078825-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-19T21:25:36.2078825-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}