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": "d4960ef2-309d-4e18-b501-a99cc737bc20",
"Asset": {
"AssetId": "2e6d52a2-cb8b-4e00-b36e-bee5350c9c2e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b74c321d-02af-49cb-accc-664d2324e3ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46b0af15-fda0-4373-8ec3-c81d5a00f986",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "876e8379-9e54-424d-af66-df5a90f526ad",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"MeasurementValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "133423a3-5ebe-4d09-bb99-3a341a98cbac",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "3c513a80-abf6-4808-a4db-82baa6fa3d29",
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"StatusType": {
"StatusTypeId": "f7ac7f77-2837-4462-b9cf-0b6b110f092c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b74c321d-02af-49cb-accc-664d2324e3ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46b0af15-fda0-4373-8ec3-c81d5a00f986",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "dae5a716-4d66-419b-af48-5ed659742b00",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0f6a92c4-0e60-4212-8272-7a31d77ee007",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "4c1099ab-faa2-4175-b5fa-231459aaa894",
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "261829cd-7c6e-49ee-90fa-05dd7785071e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7f38a5ea-9832-4fa9-8118-291697dbb3a8",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "14507d33-4b38-40bc-a851-507dd2b89f2e",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"MeasurementValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cd3998bf-c7f9-414b-a397-514951810b70",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"StateType": {
"StateTypeId": "53f7189b-2a21-4a52-b1d3-20f1bbfa9f4e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b74c321d-02af-49cb-accc-664d2324e3ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46b0af15-fda0-4373-8ec3-c81d5a00f986",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1fb4f7c5-ef5f-4a30-be3a-a4d5c81ae5f3",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3eb65f80-c819-436e-a711-69c0ef5c2f14",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-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": "568a12f5-fd7f-4999-8ad8-ee88eae7e62c",
"Asset": {
"AssetId": "4c95599b-7676-4bd9-b6af-15ece4cb99a6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "21c9a858-f59a-4322-96f5-0628d9f37f11",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "995020a0-884d-477f-92d8-a4efbe625d71",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1774af8c-7ca7-4d5d-84f8-4094ce7ebd15",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"MeasurementValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5acb0102-c816-4521-8d7d-b56b1d11c1db",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "9b5d6003-4681-438a-9950-c3849be2a536",
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"StatusType": {
"StatusTypeId": "02bd9430-a389-4533-b794-4358fb73716d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "21c9a858-f59a-4322-96f5-0628d9f37f11",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "995020a0-884d-477f-92d8-a4efbe625d71",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0526c0e5-4f83-40a0-bd4d-195b8fd53bd2",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f86adea2-5390-4b32-9457-26e8de6b94e7",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "17e92ced-2baf-44af-9ef4-2d9b72942eb0",
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "4f36c6a9-a0ee-401e-b96a-28bc6a74390d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1f605f81-58ab-4dc3-b92b-f12094340372",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9b50dd1c-860f-4d15-a3d7-458a957ae49b",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"MeasurementValueNeededDate": "2026-04-12T21:47:26.8824357-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "23e87c7f-ba8c-4cdd-8315-c76229c82e10",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-12T21:47:26.8824357-07:00",
"StateType": {
"StateTypeId": "799768db-3a5d-45d0-9778-b597def77e23",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "21c9a858-f59a-4322-96f5-0628d9f37f11",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "995020a0-884d-477f-92d8-a4efbe625d71",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5ec5b7fa-d918-4ba0-8a9b-9d9c8fbc1324",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a9dc5621-25cc-4481-b54a-3832092123f3",
"CreateDate": "2026-04-12T21:47:26.8824357-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-12T21:47:26.8824357-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}