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": "d3a568c7-0f59-42d0-87c6-f97613493b04",
"Asset": {
"AssetId": "55bdc929-b2bb-41cc-b8c2-ec8b5972d7c2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a389a473-4dbc-4cb7-8e5f-6d0fcfa7857e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2d7a83bb-b31f-4294-9589-1330b4019758",
"CreateDate": "2026-03-07T03:13:01.0542422-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.0542422-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d91d8c3f-b5e5-477f-af74-3f97bbc1667e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-07T03:13:01.0542422-08:00",
"MeasurementValueNeededDate": "2026-03-07T03:13:01.0542422-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "656f99ce-a292-4962-87e6-adb7d2f19369",
"CreateDate": "2026-03-07T03:13:01.0542422-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T03:13:01.0542422-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "32c872c5-4972-48fc-8d5e-b402243e18e5",
"EffectiveDate": "2026-03-07T03:13:01.0699065-08:00",
"StatusType": {
"StatusTypeId": "d35b60a2-d0d3-4716-bf1c-c1327b89cde3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a389a473-4dbc-4cb7-8e5f-6d0fcfa7857e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2d7a83bb-b31f-4294-9589-1330b4019758",
"CreateDate": "2026-03-07T03:13:01.0542422-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.0542422-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "56e1848a-7c3f-4f0b-bc4f-2ece9f0ee38d",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1df201ec-f998-419b-89f5-9c7428fa9c60",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9a67416e-6e7c-4531-b24b-fbfe7a91073e",
"EffectiveDate": "2026-03-07T03:13:01.0699065-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "52afe457-b413-48c2-b708-e8d28beab765",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "54cd2673-5c03-46c6-8086-4306ed8edd25",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "aa671bb6-83e5-40f8-9217-313df2c774de",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-07T03:13:01.0699065-08:00",
"MeasurementValueNeededDate": "2026-03-07T03:13:01.0699065-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e8fa671f-bd86-4f50-b710-77544619aef0",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-07T03:13:01.0699065-08:00",
"StateType": {
"StateTypeId": "bd6df751-e343-437a-b5bd-e7998488385e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a389a473-4dbc-4cb7-8e5f-6d0fcfa7857e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2d7a83bb-b31f-4294-9589-1330b4019758",
"CreateDate": "2026-03-07T03:13:01.0542422-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.0542422-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "734254c1-c6ac-4cde-ab28-77f446e89de5",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c1cd8f6b-8d27-4c44-9d03-dabcb3af4a0b",
"CreateDate": "2026-03-07T03:13:01.0699065-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.0699065-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": "4c0ee296-bdcd-43ab-9c23-242db5fe5784",
"Asset": {
"AssetId": "b3693d9f-679e-40a6-a830-c5b2452eae72",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "07368809-893e-4678-947d-d64cbec234dc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37129253-4d08-40ac-807d-99ae5518b943",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d8d95389-c0b1-4f19-a18b-a82f47817ef1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-07T03:13:01.2104955-08:00",
"MeasurementValueNeededDate": "2026-03-07T03:13:01.2104955-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "65863792-188b-4075-b177-5d2b03a262c4",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "9152a98a-48d0-4045-a67b-d5eecabadb20",
"EffectiveDate": "2026-03-07T03:13:01.2104955-08:00",
"StatusType": {
"StatusTypeId": "3d1fe41b-ccf8-465e-970b-57e68d083bb8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "07368809-893e-4678-947d-d64cbec234dc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37129253-4d08-40ac-807d-99ae5518b943",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "87a3fd14-4ffb-403e-ad05-4b8ec18ae248",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0863903c-42e7-48d5-bfa3-14aebff9625e",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "91b0a055-ae4b-4c28-bd07-6d26068afbf5",
"EffectiveDate": "2026-03-07T03:13:01.2104955-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "df06bb6d-c339-45c8-9181-466d7b32a57b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e590cbb5-9ce8-4584-9c71-40e7c60add54",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d861486d-13ff-433c-8173-45726372b2db",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-07T03:13:01.2104955-08:00",
"MeasurementValueNeededDate": "2026-03-07T03:13:01.2104955-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6d79065b-ccd6-4a97-a3c0-67a4376d16d9",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-07T03:13:01.2104955-08:00",
"StateType": {
"StateTypeId": "66df6aef-9a57-4e19-8bb5-14a44271079e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "07368809-893e-4678-947d-d64cbec234dc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "37129253-4d08-40ac-807d-99ae5518b943",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e47c3422-936d-4dff-8b9a-ac88baa1eb72",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4e0c2ac7-9a83-4a6f-aa15-6cab3129d395",
"CreateDate": "2026-03-07T03:13:01.2104955-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-07T03:13:01.2104955-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}