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": "f88faa31-d79c-464b-93a2-27dc54671ba2",
"Asset": {
"AssetId": "1b3f90c5-d269-477d-a8a4-edcec9284649",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "21016990-327d-46bb-aa22-4a3d59888cd7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13a4f119-af85-4452-bd45-4f4174c2634d",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1fde9db6-1abf-4e9f-a03d-379d7c34dbdb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-02T09:49:53.5190173-08:00",
"MeasurementValueNeededDate": "2025-12-02T09:49:53.5190173-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "01c7b28c-1b18-4c36-9b49-0dd02c0eb443",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "7d0776d8-8b82-4e31-a8e7-6aa7762a0b00",
"EffectiveDate": "2025-12-02T09:49:53.5190173-08:00",
"StatusType": {
"StatusTypeId": "dde98f1e-9dcd-45d4-843d-9dc0191fcb20",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "21016990-327d-46bb-aa22-4a3d59888cd7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13a4f119-af85-4452-bd45-4f4174c2634d",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6d1b5323-e5f2-4d4d-917f-5a039fa4c00b",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5823f391-53f1-41bf-b8eb-0fcc00b6c487",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e0e914c3-c595-436b-a326-00c365e1d9fd",
"EffectiveDate": "2025-12-02T09:49:53.5190173-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "85ea4b0a-2102-4ffb-831b-b3e1d3d79384",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dd7555bf-16ff-46d6-8a55-a354a7e882e7",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ac34b7d7-072c-4a9c-8e22-ccc75e0a0bb8",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-02T09:49:53.5190173-08:00",
"MeasurementValueNeededDate": "2025-12-02T09:49:53.5190173-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f2ec12dd-4a13-4197-9cec-abbec20aa2cd",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-02T09:49:53.5190173-08:00",
"StateType": {
"StateTypeId": "86dc3d7b-0c51-427f-bd11-dcc10537e5ad",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "21016990-327d-46bb-aa22-4a3d59888cd7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "13a4f119-af85-4452-bd45-4f4174c2634d",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f566a503-910c-4b43-9fe8-39401ce517eb",
"CreateDate": "2025-12-02T09:49:53.5190173-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T09:49:53.5190173-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b1a4ea30-ae51-4d3f-a4fd-4d348ba561d7",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-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": "a01c167e-82c1-4c83-82b8-1dd71384c2cf",
"Asset": {
"AssetId": "5d8e7be9-cf2b-40cd-b4b6-c9a0ff8ee9d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a9967a6f-7f6d-4db7-a9e7-d9d995a59dcb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e43c7c81-dc9a-4ed1-b9ca-430176fe0a4f",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d0d543f9-1154-416f-b820-92a0a6a91b6b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-02T09:49:53.5346354-08:00",
"MeasurementValueNeededDate": "2025-12-02T09:49:53.5346354-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e530cc40-02d5-4b51-be35-12b05a98947e",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "f62a7c9d-16d7-4b7e-b8b4-cc0d4c89ba24",
"EffectiveDate": "2025-12-02T09:49:53.5346354-08:00",
"StatusType": {
"StatusTypeId": "3d9883cd-df45-443b-8345-979b0aa1793c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a9967a6f-7f6d-4db7-a9e7-d9d995a59dcb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e43c7c81-dc9a-4ed1-b9ca-430176fe0a4f",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b8c5cd80-4b02-4f58-972d-c90151387604",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cc3df2af-8e5f-461d-bb6b-f435669a072f",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "59e94522-ab86-4992-ab94-67c742cf0f0f",
"EffectiveDate": "2025-12-02T09:49:53.5346354-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "318f9f45-a4ab-4a83-b781-b29dfe1d96e3",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5ff7bd0c-179d-4f7b-9a24-30155ad0afb0",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3a91d918-3a45-49f0-9d7a-4a6177fe31c8",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-02T09:49:53.5346354-08:00",
"MeasurementValueNeededDate": "2025-12-02T09:49:53.5346354-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3182039e-1684-4353-851d-e5ec071156ae",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-02T09:49:53.5346354-08:00",
"StateType": {
"StateTypeId": "153dee99-5a12-40cb-a3e7-95fce95b67db",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a9967a6f-7f6d-4db7-a9e7-d9d995a59dcb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e43c7c81-dc9a-4ed1-b9ca-430176fe0a4f",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7922f4c9-8bdd-4338-a9a4-87e4909adec7",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "054f0635-7c8d-4057-af23-0061b7c79178",
"CreateDate": "2025-12-02T09:49:53.5346354-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-02T09:49:53.5346354-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}