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": "d3d02ff9-51cf-4aa7-9f2c-6b10a3806e16",
"Asset": {
"AssetId": "16a89ff5-ce5c-4286-8cf3-00074eff8854",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "92c6e59c-438a-467c-8a62-cf8f5e98cf6f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c89a3ee9-3c2a-4cc7-80a1-6bc13e7859ee",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "eefaa993-9f37-453f-8ac4-a40433f936b5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6a646353-0717-43d6-9373-15cb95eace15",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "89be5523-20a9-4498-8f84-c9b0ab09597e",
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"StatusType": {
"StatusTypeId": "cb87480d-8d09-4362-aaf8-88bcd6e47292",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "92c6e59c-438a-467c-8a62-cf8f5e98cf6f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c89a3ee9-3c2a-4cc7-80a1-6bc13e7859ee",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "135ac770-1b81-42f5-9d2f-d046ab8362f4",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8798cf4b-2d8b-493b-bafe-1d4273a200e9",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "231d7d6d-3b00-4132-ad8d-666121a69575",
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "75d96c78-f9d4-47e6-8f89-3266e6c1dad5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "744f12ac-0a30-4fff-b7d7-67cf9e57a278",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "11e8215e-df37-4353-a9ba-0aebc4163793",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1f7b04ee-62c1-4566-9e4c-f0046d342f1a",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"StateType": {
"StateTypeId": "249100a2-1723-4057-b1f5-586361c15248",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "92c6e59c-438a-467c-8a62-cf8f5e98cf6f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c89a3ee9-3c2a-4cc7-80a1-6bc13e7859ee",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5759bc58-d6f3-499d-88ed-fd1cd130c0a7",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f39f233c-9af2-45ca-a97b-2c5117236880",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-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": "69ae6e4a-bcc3-4081-b52c-d3f9649df431",
"Asset": {
"AssetId": "324790f7-c1e9-4c3d-bc0c-b82d69091500",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b2488722-d526-4f7c-b22f-62f923e44596",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ccc31912-d51e-4cf3-b2d7-0fd73061156a",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e1a9c662-d6d0-43b3-9e40-35331d481fe0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "81b1571d-1213-4890-834e-205004bc09a2",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f1abfac3-4dec-421a-adc8-e29fffe099bd",
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"StatusType": {
"StatusTypeId": "13f334cf-db48-4b5d-8964-762133dd0d28",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b2488722-d526-4f7c-b22f-62f923e44596",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ccc31912-d51e-4cf3-b2d7-0fd73061156a",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f350df1e-8100-4e46-8c49-d4a45dd3182c",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d5b3d6d4-1db4-407f-b08a-b4c0f05dfc47",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "4652e598-8fb6-4fe3-9459-abc2d78e2359",
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "32913953-da02-455f-ac34-6dbf523b0cc9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "889020fa-1eef-46c9-9a4b-b92bca967fb6",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0103bfa9-4e34-402d-8cc9-5b420d407b0d",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:51:52.1382327-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "914e7a4a-aa08-4bb6-919b-178650196878",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T16:51:52.1382327-07:00",
"StateType": {
"StateTypeId": "cce1d756-91a3-4033-9357-dee0094ca504",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b2488722-d526-4f7c-b22f-62f923e44596",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ccc31912-d51e-4cf3-b2d7-0fd73061156a",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "579c27d2-61ac-4950-b14d-0f514d3a2342",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dd864ed4-6eb1-47bc-aaf2-b05252db80ba",
"CreateDate": "2026-03-30T16:51:52.1382327-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:51:52.1382327-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}