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": "78c86b80-c1a5-4bf3-a2c9-93bdd5e1b22f",
"Asset": {
"AssetId": "ef75a3d7-816c-4fc1-b33b-a60203c3455b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a29b6307-c04f-4d35-bdf7-50d04631d6cb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e60c86d2-998c-4e38-91b2-c52106222f91",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6035c5ca-8156-4d81-8d21-c7447d035d8e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"MeasurementValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "93f624c7-2ed1-465f-8ba5-a151a7c654a7",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d1908fcc-8878-42ae-a16b-34cc8a266093",
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"StatusType": {
"StatusTypeId": "e2ed3a3c-d081-4e59-936b-b83159f216a4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a29b6307-c04f-4d35-bdf7-50d04631d6cb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e60c86d2-998c-4e38-91b2-c52106222f91",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f6283416-bc15-42ee-b987-80e43ed0bac1",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d7bdf500-7bf3-442f-acfa-b82189b917d4",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fe56d53d-f332-4062-8181-17222ea13aa6",
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e8e95add-36e0-4d12-870f-a22a07cfd386",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ab8ee3f8-2234-4909-ac67-984a36131496",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ca3638e9-eb11-48b1-b557-9729a6d421b4",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"MeasurementValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "44bace7c-70e9-4bb3-a5ef-8de282471548",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"StateType": {
"StateTypeId": "467c827f-c076-4d35-bfd5-d61145173d6e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a29b6307-c04f-4d35-bdf7-50d04631d6cb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e60c86d2-998c-4e38-91b2-c52106222f91",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c3979664-8432-4385-b68b-13656f03fa1a",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7e111fc5-a71b-4da0-8ab0-96037e7faf0e",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-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": "ac33ba32-e629-4b54-ab86-fcefab2de195",
"Asset": {
"AssetId": "ba38bec3-52d4-47d7-9b18-b59f50b81446",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d3d76f8e-d07c-4059-bf7d-3c79eca7c757",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d5a1aa62-ffc0-4586-8788-54675ccacd78",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5a1658a2-17bd-4088-9ca0-bc31dc5085a8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"MeasurementValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "84c894c4-812c-4319-af10-494f7ef8d2b2",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b9fbb9da-5bd2-4ea9-87f6-b2720f83fa9f",
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"StatusType": {
"StatusTypeId": "7aed5171-8914-4e48-8e75-f3cc0c9534d9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d3d76f8e-d07c-4059-bf7d-3c79eca7c757",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d5a1aa62-ffc0-4586-8788-54675ccacd78",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4c6b2e62-f875-49e4-b651-2fdbdfee6c91",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fde942e9-583c-483c-a0f1-02c2e3a9d4b3",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "99885df2-4cf3-4b8d-b4f9-dfa1c4ac2ef3",
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "edbff71b-56e6-4238-83d0-14d4470affc2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "89a77d83-2a8a-4186-a3b0-d160e38d9be0",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7b56e6b1-46f5-4023-b539-d868116001db",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"MeasurementValueNeededDate": "2025-12-31T15:30:09.8146714-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "83859fe6-fe06-4896-9af8-25d7464039fa",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-31T15:30:09.8146714-08:00",
"StateType": {
"StateTypeId": "670de50d-1129-4072-bbfc-12487e181803",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d3d76f8e-d07c-4059-bf7d-3c79eca7c757",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d5a1aa62-ffc0-4586-8788-54675ccacd78",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6e59c047-b1cc-414d-b565-c3f9bf319121",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7b264db5-f6ea-458c-90bd-ae02d028dc7a",
"CreateDate": "2025-12-31T15:30:09.8146714-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-31T15:30:09.8146714-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}