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": "b359e506-0edc-45d2-bf57-79f4fbabc074",
"Asset": {
"AssetId": "a8054079-4883-44d7-97db-686c1442db4d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "43f63850-e960-46b5-bb60-905834bb94fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "15d5b822-babc-452c-9054-8216d37dca1e",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9ed504d3-b535-40fd-9ce5-9d387a06470d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"MeasurementValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "68f6d85d-1ee5-40cd-8598-a2bd575887ae",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "4f96fd3e-62ec-4c1f-a908-f8b7a3215027",
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"StatusType": {
"StatusTypeId": "b1e81b1b-44e4-4eb4-8f9d-367556e8ca3f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "43f63850-e960-46b5-bb60-905834bb94fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "15d5b822-babc-452c-9054-8216d37dca1e",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3c6d69a3-d3f1-4f97-9d0a-41abbd54f5d3",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "925847b3-fc16-4758-b7b6-2294c63b581b",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1664109f-0029-40cf-b747-5fe94637bf70",
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "958e4cbd-1495-4cdb-b0ca-0d0ad3cf6a92",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f6448315-708e-4b88-ad0d-ff5c31105405",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4c408894-80fd-46d8-8fc1-35f804930b03",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"MeasurementValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "28dff91f-2c83-4f41-90cf-b0af0abc90fb",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"StateType": {
"StateTypeId": "f375d8a3-d382-44c0-8aba-1a4700a4a191",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "43f63850-e960-46b5-bb60-905834bb94fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "15d5b822-babc-452c-9054-8216d37dca1e",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3e7c4053-ff29-4bd0-9896-a341429e62f7",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1386bde2-c2e3-45ae-8b46-b07a3a0956c0",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-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": "4a3dafca-df57-4259-a7c4-2d9781e04bc6",
"Asset": {
"AssetId": "22bf895b-ae8b-499e-906c-3dff5b05999e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "84273c54-64fa-491c-9fe6-4d7708be93fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "983c7dec-68fd-4f2c-83fb-78999cb79a87",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1c81fab3-2e80-4183-bbe8-53ee6f3334a0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"MeasurementValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "dae86d54-c47a-4768-a039-cf95558be190",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f334d052-d769-4d40-982d-28e4a73bc7b2",
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"StatusType": {
"StatusTypeId": "44a9e9e7-0b32-4e36-a161-070e8b0144a3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "84273c54-64fa-491c-9fe6-4d7708be93fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "983c7dec-68fd-4f2c-83fb-78999cb79a87",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8be8290f-6599-4c19-bb6c-2f4876c52bca",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c72c3c53-171a-4632-8a08-60abf9bb08ef",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "01b756b9-3d37-408a-9897-63bd1684d6c1",
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "6e22a032-86e2-4933-9da1-f41fd1fc27e7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "448b5ad9-5f51-458b-9dbe-2a54135e2c6a",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5c0d7318-1c01-4b4d-980c-3f7f7cfbdd2a",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"MeasurementValueNeededDate": "2026-11-30T04:35:26.0241861-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "548e701c-c42b-43ea-84ed-4687eeb96545",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-30T04:35:26.0241861-08:00",
"StateType": {
"StateTypeId": "0e12582d-94b1-489f-9294-e9c60c3f870b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "84273c54-64fa-491c-9fe6-4d7708be93fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "983c7dec-68fd-4f2c-83fb-78999cb79a87",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "35865e6d-8a2f-4b9e-95c1-412b329aa9e6",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6eece8fd-e5be-49b1-b94b-3f82fa4ae227",
"CreateDate": "2026-11-30T04:35:26.0241861-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T04:35:26.0241861-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}