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": "8687c2f8-38c6-48cd-ba3e-a38025e6ad54",
"Asset": {
"AssetId": "06968d85-4b7e-4136-abd5-4f65b2435ef2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2a37b627-bb48-4bc4-a74d-d7d7c3c04df1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c10fd34c-4a16-4b26-91e8-d153e0b07d61",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bfe03ed5-b614-4aaa-88f3-cfc15575a703",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"MeasurementValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "23fefdd4-2eb9-4ea2-bf21-255361b9f695",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "d65cd5ec-3035-4be9-b101-c4b71bc43da8",
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"StatusType": {
"StatusTypeId": "2a69f59f-2723-4463-9bb9-f0e65966c902",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2a37b627-bb48-4bc4-a74d-d7d7c3c04df1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c10fd34c-4a16-4b26-91e8-d153e0b07d61",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "225d93a5-34ed-492f-8732-e8f3636f1c32",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6cbf5ced-b2e7-420c-9cd1-1fc53b32749d",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e1f0a9dc-864f-4898-a090-ef8359d43d52",
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "47dc22d8-6a58-40d3-a6c1-3c06af62db8c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "55657658-68f0-4688-a310-58430dc73e12",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a53987aa-d15a-4214-a04b-f5de9066a5e0",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"MeasurementValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8b9eff20-6424-4f7c-9a36-e4784fbb0fec",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"StateType": {
"StateTypeId": "83bc6dd9-11aa-4574-956f-e10669ccfee0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2a37b627-bb48-4bc4-a74d-d7d7c3c04df1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c10fd34c-4a16-4b26-91e8-d153e0b07d61",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "85f892b3-a045-4fae-b366-e7ffca58d4f9",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7d9e97b1-bac5-4967-89f7-7681f1601e76",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-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": "f2c15bb2-f865-409f-bf15-e9e6b9c6670a",
"Asset": {
"AssetId": "a3eb6c06-fd23-42b1-8fd5-b1c0bd0aea1b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f32c821f-f8c3-446a-bd9c-8c648d4b7615",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "236873af-c733-4793-9112-648a70c419e4",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6888dc0d-bce0-4ce2-89a2-092c604c5d09",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"MeasurementValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2778b56f-f18f-4e7c-8bf1-f20d99563be4",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "7b32aaf7-687f-467f-8b8c-b9ff2528d70d",
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"StatusType": {
"StatusTypeId": "e3bfaec9-224b-45b7-96ee-46be2ab637a7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f32c821f-f8c3-446a-bd9c-8c648d4b7615",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "236873af-c733-4793-9112-648a70c419e4",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "56a4b380-a191-49e3-89b5-d6884bc30d0b",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5d12fad6-17ff-4196-9878-d1b5aa0497fb",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c4c765c9-b1ce-4618-89b3-044345d05be5",
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "55156604-0d73-4204-b8b1-be7714674be5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "92332546-565d-4c67-b624-fe3adb5e0a30",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "48644538-1235-4975-a0ff-705daabf955e",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"MeasurementValueNeededDate": "2026-09-21T06:15:47.8007772-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9d7cc8ee-54db-4881-8294-c9b93b7b2e09",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-21T06:15:47.8007772-07:00",
"StateType": {
"StateTypeId": "80296176-5ce5-4b43-80eb-041127182949",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f32c821f-f8c3-446a-bd9c-8c648d4b7615",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "236873af-c733-4793-9112-648a70c419e4",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5e38b4ea-6588-4226-b45c-400882955cf5",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2c3f1d21-0cec-46c6-ac58-d1564ee25f54",
"CreateDate": "2026-09-21T06:15:47.8007772-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-21T06:15:47.8007772-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}