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": "ccb84cfe-34ab-478b-8f48-562fd57b1c1b",
"Asset": {
"AssetId": "ee065769-e68f-4073-ae9a-f43185c3502d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "416f4c71-1644-4c95-bce2-70894e8b2617",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27e424de-578f-44de-8742-ee8a28ce8067",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "41c5fd4c-a262-462b-b497-a71c05b22b5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cbfc71e2-7162-47db-b99b-40a7bd8a467f",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b9d514c7-fa8f-4422-89dd-8702fdd4f03e",
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"StatusType": {
"StatusTypeId": "cac2c7ee-272b-4350-912c-1d9e4588b384",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "416f4c71-1644-4c95-bce2-70894e8b2617",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27e424de-578f-44de-8742-ee8a28ce8067",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "93e7808d-381b-4d32-b7d5-51262168b27e",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "df429fa9-8847-4cf1-871d-2914531d792e",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8281134a-9246-4351-892e-b648ab985e64",
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "9f0d6b3d-c283-49ad-8d01-0829d4092504",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "97955c98-fa83-4619-9abd-2bf8c271779a",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9d9ccf22-6588-4a54-86e6-dce4a2fed226",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e4b04853-2036-4e97-91ca-c626ffab4e03",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"StateType": {
"StateTypeId": "26680b98-aef0-4a1d-8138-35ab62ebe98b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "416f4c71-1644-4c95-bce2-70894e8b2617",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "27e424de-578f-44de-8742-ee8a28ce8067",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1a89aa8d-3629-4bfb-b87d-f849df6baf7f",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fb960ae7-ce41-4566-8af4-e6e024947559",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-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": "06621fae-8707-4ef9-9179-bcd5137b0781",
"Asset": {
"AssetId": "01ab81bd-c53d-4783-85fb-940eb1f4e61c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "aa6efc55-e359-4f0e-9d18-01138b565c3b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8320ea86-8337-424e-a09e-61784dc6c505",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ae447609-1647-4b77-b383-6883156fdaf9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1300350c-5f6d-4049-94c1-e23186334432",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d4b88b37-215a-47d7-a8fa-82c19ee1719a",
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"StatusType": {
"StatusTypeId": "399025b5-7267-4355-8c3b-f9a359102fbe",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "aa6efc55-e359-4f0e-9d18-01138b565c3b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8320ea86-8337-424e-a09e-61784dc6c505",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "dd475780-7cb9-4503-9c0f-0825731f996a",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "34d71ec1-a4bc-4074-a21f-9245cb4af66d",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "280dc690-0df5-4c0c-bc6a-b302478429ce",
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "8723b39e-15ff-46b9-a800-14b25721bc88",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6acda6a3-7a4b-49a1-ad13-8b300d9473be",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0367215f-b809-4767-b54c-1cf80167ecbb",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:12:59.0663189-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "155c35c5-f9c4-4cb4-bb8c-d4dd2f75a465",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:12:59.0663189-08:00",
"StateType": {
"StateTypeId": "489e3448-4c11-4810-a3ba-b50ea78ea590",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "aa6efc55-e359-4f0e-9d18-01138b565c3b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8320ea86-8337-424e-a09e-61784dc6c505",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e7c8e4fc-6d3f-4ec4-8868-90026f5c79c4",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "37b0820d-3cee-42a7-a0ec-685deb73b65f",
"CreateDate": "2026-11-22T14:12:59.0663189-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:12:59.0663189-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}