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": "cd6cb6b2-a0b2-4f88-8d97-5b74a962a811",
"Asset": {
"AssetId": "c9f261c4-f174-4202-8abd-c930b46ddfa8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2e51c501-0b57-497c-a930-e3e6e43711a2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6a6085a1-4443-40ef-a95f-a55ee6d4c092",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4bc9c95a-bfbe-4458-9bfc-cd0e8c0814ea",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"MeasurementValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "60e7cfaa-9dfa-4c48-a614-e8adbe0cf15f",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "923e0bc1-1630-4327-8a5b-243ba4d095b7",
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"StatusType": {
"StatusTypeId": "8f8ca092-cf4a-4337-94ae-821a018b162f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2e51c501-0b57-497c-a930-e3e6e43711a2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6a6085a1-4443-40ef-a95f-a55ee6d4c092",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8d181cce-0554-4af1-8547-cf5a271b0d98",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "913ddb53-77e3-430e-ad1e-3dc347c529c9",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3405bc7e-990f-43c1-94b3-c8cbc7839458",
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "159edef6-5687-464f-a7f9-52ad52eec5a5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2aebc0c7-c2df-482c-8f6a-755155ac3d31",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f3f90abd-8294-43a4-b3f7-616a7d5b938e",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"MeasurementValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "900a317f-c3bd-4fbd-9b6b-9fff22765a51",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"StateType": {
"StateTypeId": "71720fa5-c35b-44b0-8bf2-e9e5781f38b9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2e51c501-0b57-497c-a930-e3e6e43711a2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6a6085a1-4443-40ef-a95f-a55ee6d4c092",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c4c28464-bc46-45c5-8114-43ec23e6e6e3",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8d975934-106c-4cba-adb4-01f9ca215e4b",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-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": "5b13d890-efac-4319-99cb-6ad6f7caa64f",
"Asset": {
"AssetId": "841498b2-f3cd-4b4a-b190-c2d2102f06d1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "562bb654-f730-4f63-9883-ed9fd7a30e8e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce977fac-66dc-4586-80f9-03bc0aeb9b93",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "78450feb-f204-42a1-9b18-b6744cf53348",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"MeasurementValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "063d1e72-f084-46c2-a3c4-3fa789980317",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "21e1c142-92fe-499b-a51b-897da8147fcc",
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"StatusType": {
"StatusTypeId": "fe954c49-971e-42b4-b537-88e6d7fc8ca7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "562bb654-f730-4f63-9883-ed9fd7a30e8e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce977fac-66dc-4586-80f9-03bc0aeb9b93",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "385fbcdb-f534-4e56-8e71-65fe36012a60",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "57e3494d-a677-4b72-894d-354454a41bd2",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6df2fff0-0f9d-4ee8-a8a2-b1ef9b38e1fd",
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "2bcf9425-60f4-44d1-acc7-877135064570",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a17c7a9b-871f-4d65-8ac5-921cb26f2b28",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3616512b-5f99-4ccb-9677-a9cb3eb8da64",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"MeasurementValueNeededDate": "2026-04-26T22:04:29.1856304-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a726e4a-354a-4b9f-8ffa-bb572afd99c0",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-26T22:04:29.1856304-07:00",
"StateType": {
"StateTypeId": "8bcfaf41-127a-4160-a4f9-e1949ae375e7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "562bb654-f730-4f63-9883-ed9fd7a30e8e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce977fac-66dc-4586-80f9-03bc0aeb9b93",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b24afeb3-56a5-465a-8318-271bab8a2fba",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2032d1b6-878a-4e74-83ba-26ba61f0efbb",
"CreateDate": "2026-04-26T22:04:29.1856304-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-26T22:04:29.1856304-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}