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": "07604503-742f-405e-9ca1-46d7c4ec3537",
"Asset": {
"AssetId": "5c488618-93a3-40f6-8226-66c24c31ede8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c288587c-e1b0-44be-bb50-b29a1a81becd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3ae189d3-d781-4807-9025-64b2493270c3",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ec5afd76-04b2-409b-a1d8-03783abdfeb5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"MeasurementValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9decc7c6-3c05-4d79-ad15-b18d4a45863d",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "3565409c-4083-4fa8-a303-a90e25fb8777",
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"StatusType": {
"StatusTypeId": "06443628-190e-4f7c-9270-5cfc64c5640f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c288587c-e1b0-44be-bb50-b29a1a81becd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3ae189d3-d781-4807-9025-64b2493270c3",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c2dc02ce-346f-473f-8638-ff397e0d037f",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "29786faf-1457-4a54-8a1e-445decd3058b",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c8f2f51e-fc8a-4e7c-bbce-d433dc7c78a8",
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "93f3c481-153c-4771-a707-ec3e65ac1d68",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8fa95920-099c-48f0-930a-c53584c5c4d4",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2f2cd7d6-1814-4ea8-98fc-93fdb4bb7780",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"MeasurementValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cffe4254-eecf-4264-b6de-1e322c16bc74",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"StateType": {
"StateTypeId": "db97bad0-f902-4dd1-b3a2-730d41a0e3dd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c288587c-e1b0-44be-bb50-b29a1a81becd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3ae189d3-d781-4807-9025-64b2493270c3",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "24e4a8b0-2c4d-40a2-990f-81d15a193a3e",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "983cd844-c836-4379-b64e-f79d5e0b0007",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-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": "b2fb4ecc-ee63-408f-b271-b5c5d041c300",
"Asset": {
"AssetId": "e2b7d3e2-7aa4-4674-ac90-d202a6b69670",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "36fe9006-7731-46f9-ade5-81af3e55099d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe8f4206-3c37-4313-9bb8-37f70f2f5481",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "26d4ba70-fbf0-4991-975f-63d4f727e9a1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"MeasurementValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5fbdef51-47e9-4ddc-903a-8d3685b4c3fc",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ebf985ae-2632-4689-8ca0-6a2e89d99174",
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"StatusType": {
"StatusTypeId": "0580feb4-50a8-4cc5-a0d1-1ed33ba52ffc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "36fe9006-7731-46f9-ade5-81af3e55099d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe8f4206-3c37-4313-9bb8-37f70f2f5481",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "815080b3-887c-4478-a177-c1a29c9e985f",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2a7a0535-f539-4908-99d7-93f239697ad2",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "56abb292-7ec6-49be-b477-cd46d374960d",
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "1fa6ec04-1c8d-466b-a85f-58efd634089c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9d97e4ba-8918-4c41-b979-e9bb818e5269",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2c0a798b-bff1-423f-80d6-9347f4c27c09",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"MeasurementValueNeededDate": "2026-05-13T09:42:51.163638-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3851e0e9-bd5b-46dd-83ff-f65105d21066",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-13T09:42:51.163638-07:00",
"StateType": {
"StateTypeId": "ef4b142a-d8d9-4b73-b47f-3e007ec457c3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "36fe9006-7731-46f9-ade5-81af3e55099d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe8f4206-3c37-4313-9bb8-37f70f2f5481",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "39a7619d-cc65-49b8-ae83-0cf3212ee577",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "05a9ac48-9768-4e5d-8b94-c10ba2ccafbb",
"CreateDate": "2026-05-13T09:42:51.163638-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T09:42:51.163638-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}