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": "8d12e72d-d6dd-4a21-92af-9ad1260988c2",
"Asset": {
"AssetId": "db3f6490-ce27-4937-8c38-60dc4b6769df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9dcc0132-c8cc-4baf-aebe-9c50c8c82e0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "67344c08-acf1-4292-9d6b-4daf21903e78",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6f2bdd75-da24-4d7b-8f58-5893e40bfdf5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"MeasurementValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cf69fa7f-5910-49b8-8ab5-ad40093c3dc4",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "e983399d-3921-4513-8b80-455b955164e9",
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"StatusType": {
"StatusTypeId": "3399001c-28b7-46e9-8e11-313079f6a10e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9dcc0132-c8cc-4baf-aebe-9c50c8c82e0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "67344c08-acf1-4292-9d6b-4daf21903e78",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "7a1b8f8a-af38-4b26-b528-86a92262e318",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "067ffcce-36c6-4840-9ca9-9fc99ed8a4e9",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2b865528-5992-4dca-9615-e344c07f99b7",
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "80d6c64f-cdbe-466b-8d4a-c63ffbdeca05",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3148603a-77cd-4166-be5d-329175f6e4c4",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "85195719-7734-473f-b475-1a16faaa17c3",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"MeasurementValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9c725092-711c-4ab1-922e-7dfad6221498",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"StateType": {
"StateTypeId": "14616bb1-4cf2-4141-b86a-b20eecec50e0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9dcc0132-c8cc-4baf-aebe-9c50c8c82e0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "67344c08-acf1-4292-9d6b-4daf21903e78",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1cea3ae3-a45d-4d12-a7ca-b71513d9d7ac",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "613bc50e-4743-467b-8092-f1e17fc91678",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-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": "9f01b57b-a499-4e0d-bbb8-4d368a96092d",
"Asset": {
"AssetId": "fccb3914-4b0c-4ea1-95c9-0476b87a028b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d4004d2c-419d-4ea7-adf4-d8f5fb9e7716",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f24d8d-ccf6-4231-aef7-3c24d6df0150",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "cf2fb4c8-a457-4816-b45c-0cee422ddd8c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"MeasurementValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d08a594e-2e06-42d0-b0aa-ad0c59eae56b",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "c4847cab-fc8f-4d94-9694-c251e0d77360",
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"StatusType": {
"StatusTypeId": "ba33f825-66e7-4ecf-9bb3-b0bab4e9b841",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d4004d2c-419d-4ea7-adf4-d8f5fb9e7716",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f24d8d-ccf6-4231-aef7-3c24d6df0150",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e9d8ec56-96cc-40fb-9401-ccb61d9edcf9",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6be8a539-436b-41a6-9d68-5f85c07811a8",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3d14dbb1-a8e7-4e44-8730-40537579020a",
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7836f7d0-4b38-4947-b81d-9b62429cb702",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "90691564-70c5-4dd4-9756-aff8e96c6790",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e13e82a1-96e4-45e2-a377-9453d5afba26",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"MeasurementValueNeededDate": "2026-11-02T06:51:49.2563921-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6e8f955b-d51c-42a7-b8b1-31eac7bab170",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-02T06:51:49.2563921-08:00",
"StateType": {
"StateTypeId": "9c5251c1-e0cb-4b61-be46-16ac34b434bf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d4004d2c-419d-4ea7-adf4-d8f5fb9e7716",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f24d8d-ccf6-4231-aef7-3c24d6df0150",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bebaf9b2-5b77-449f-b82f-e91fb66304fe",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5bc54e8d-dd53-4adb-95f3-e5686ac3e987",
"CreateDate": "2026-11-02T06:51:49.2563921-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-02T06:51:49.2563921-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}