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": "a31caa18-32f7-4a21-86b4-15b4c5ceafaa",
"Asset": {
"AssetId": "d1814350-a192-40b5-8732-c46525b64594",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7cbdda11-1971-461b-9fce-1d5bcc0181ed",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "57a984bc-cc4f-4a53-8527-8742b0e9ef4a",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7e92bc0a-0861-4b79-9a1d-9e823112a63e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"MeasurementValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1058cdc6-006a-4d48-a154-85f54c48aa19",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "0c6e4735-71a1-42e9-a543-0160ca0dab68",
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"StatusType": {
"StatusTypeId": "4f70a467-a8c1-4601-b008-b5b7727df945",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7cbdda11-1971-461b-9fce-1d5bcc0181ed",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "57a984bc-cc4f-4a53-8527-8742b0e9ef4a",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fec7503c-d42b-4c10-ac25-a8500181d26a",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e35113f-0a33-40ba-b76b-460a5e05831f",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a76e88c2-c91d-4ee0-a935-a13d873010b8",
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "dcdef94e-6f22-4ef6-b212-32eccfa5ae31",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aa2d6e10-85f4-4a7e-ade8-a72ea8801b5d",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "df01c00b-2230-4045-b363-e6b5dd36e0b5",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"MeasurementValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6a324263-8e06-4bf3-9298-778da555eb6c",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"StateType": {
"StateTypeId": "d7b9259d-0f19-4250-a67e-0b1a4dddcfff",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7cbdda11-1971-461b-9fce-1d5bcc0181ed",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "57a984bc-cc4f-4a53-8527-8742b0e9ef4a",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1959b534-7a02-49e5-acc1-23703401ca20",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4a849a9c-0fa9-4734-bafe-01da47d299a3",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-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": "80008d66-4184-4857-8651-bf3eed43e8d1",
"Asset": {
"AssetId": "22cc698d-4fee-45a3-bf73-c7262fbfe6fc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c18ec11a-deb2-410b-8b7b-0f5ea1915bbb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3e4d0323-de8f-489f-8925-fdeca79c6c15",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5477a349-f385-4c88-a188-9c4584f6c10d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"MeasurementValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1f0cda89-f151-4ae5-9511-0df9d6046f09",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "1f36ab40-3295-4f0e-8d74-8f1acb42ef00",
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"StatusType": {
"StatusTypeId": "14e4f078-6c46-468d-9e6d-5dc7b46068a1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c18ec11a-deb2-410b-8b7b-0f5ea1915bbb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3e4d0323-de8f-489f-8925-fdeca79c6c15",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9676b61c-e640-4e42-be7e-4cc20248ccca",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6745b4fa-55bf-4129-aa5d-be60d00416ac",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6b8be7ec-e2b0-4216-9a8c-381dd38da220",
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d0b0dc39-7e21-4b39-bead-0907c00ef245",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "416122c3-32c2-4fa4-8a92-ce0ce24dace5",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7270de43-469f-4be0-9c95-33b6bbfc7a09",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"MeasurementValueNeededDate": "2026-08-24T05:00:29.3283886-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3119240b-082e-454f-8df5-e26ce1f70428",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-24T05:00:29.3283886-07:00",
"StateType": {
"StateTypeId": "47ac8f01-83fe-43fb-a258-d6d1542555da",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c18ec11a-deb2-410b-8b7b-0f5ea1915bbb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3e4d0323-de8f-489f-8925-fdeca79c6c15",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b87a168a-3a03-4480-83c6-ecbdc8bcf675",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6e54400d-fd09-4df3-96a6-13f6367c442a",
"CreateDate": "2026-08-24T05:00:29.3283886-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T05:00:29.3283886-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}