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": "e5afc3a8-7480-4f9f-b3fe-4a8be4cbe89e",
"Asset": {
"AssetId": "247bf456-cf4f-43e4-bc73-8aa36e1f3406",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9c280910-786b-47fa-ab8b-5cea76283397",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2eff7d62-12dd-4d7f-a947-426e077c9f9d",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ed5428db-f2e1-462c-8686-87d1d54f02a2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"MeasurementValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bbe50701-5ef7-4a2f-a6e5-bda57407173d",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "bd0eb197-da13-4632-b5ae-3cb2736bc866",
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"StatusType": {
"StatusTypeId": "d8313a5d-f024-4e98-94cc-b744c4df5ed2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9c280910-786b-47fa-ab8b-5cea76283397",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2eff7d62-12dd-4d7f-a947-426e077c9f9d",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "55008f36-3dd1-4925-a961-af9344c826a3",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bc346c88-966f-48e8-8bb9-00b9b9d1f9d9",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "10130934-f5f5-4ec4-bd21-7e55c00a1786",
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9795dd37-14e3-4f9f-8a93-c6f67295ec9d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cde0f60d-ecd5-4fb1-82bd-59dfa2358970",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "34ce441c-cd44-4716-9636-b6831cb9d5df",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"MeasurementValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c79fad42-4c71-4994-8768-d729d5d61793",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"StateType": {
"StateTypeId": "dc6898e1-9b44-4594-9dab-84b3b810be31",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9c280910-786b-47fa-ab8b-5cea76283397",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2eff7d62-12dd-4d7f-a947-426e077c9f9d",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "944232e2-c639-47ae-9534-42c2d525960e",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c3da7f77-6d3e-45cb-8839-36568895871e",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-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": "e62a5a2a-b5f1-4a56-97b5-87f92cc377b3",
"Asset": {
"AssetId": "e4611821-6f57-40b9-abe4-224a88d6e805",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "83f104d5-4310-4dfe-bb36-78f1b4035e25",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d4d410c-75fc-45d7-877d-ed3aa06d2a53",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6a0cb3f7-a94c-4fcc-8177-a777bffa89b6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"MeasurementValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "300980c8-6320-4a80-93d5-2db88fe79a34",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ef042374-1507-45fa-8f68-4baf7c8375f5",
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"StatusType": {
"StatusTypeId": "320ab768-ec7a-46b3-86a9-21f5e3df7b5d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "83f104d5-4310-4dfe-bb36-78f1b4035e25",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d4d410c-75fc-45d7-877d-ed3aa06d2a53",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "65217ee0-1b7b-48f8-9b4d-79c5b00ff0ed",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d6862ba6-36a2-4198-9e14-42929ec56e49",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7df00e93-75ab-4297-b8e4-63627d179473",
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "3ed53c46-6ed0-41a3-9a1a-aa9b0abb3bf7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "93b7b86f-1c36-489f-bf2f-6bddaff1886b",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41fb22a3-146a-4496-bba6-a565745b4de3",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"MeasurementValueNeededDate": "2026-05-29T15:09:37.2560645-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "78bb1ede-16f2-4028-98ae-bfd423dfd8fc",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-29T15:09:37.2560645-07:00",
"StateType": {
"StateTypeId": "97c096b4-12b6-421f-9d30-00bcb8c947e2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "83f104d5-4310-4dfe-bb36-78f1b4035e25",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7d4d410c-75fc-45d7-877d-ed3aa06d2a53",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e051b6d3-707c-4cbe-b49f-4a1fe41f198b",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "927b6a59-a97f-40ee-a6a7-0183855d4e5d",
"CreateDate": "2026-05-29T15:09:37.2560645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-29T15:09:37.2560645-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}