GET States?stateId={stateId}
Retrieves a state by its Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId |
Id of the state |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the state.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | State |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"StateId": "271c8ef8-fd88-4963-83ce-c96be0337765",
"Asset": {
"AssetId": "4f298993-dade-497b-bd23-36f9d9cad612",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d1ccb6d8-1967-40c1-9ee5-a8199238f076",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fcbbdf12-d7f8-4a4c-89f1-532c8dbc318d",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7dfe6ef4-0402-44fc-bbf7-01707844645d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:29:00.9373939-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:00.9373939-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d6b6995b-e25e-455a-93bd-2797cf4edf53",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "758f0b41-4931-4556-b594-2b61f01e488b",
"EffectiveDate": "2026-08-04T17:29:00.9373939-07:00",
"StatusType": {
"StatusTypeId": "430052b5-c95e-417b-b5ca-e53511d27acf",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d1ccb6d8-1967-40c1-9ee5-a8199238f076",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fcbbdf12-d7f8-4a4c-89f1-532c8dbc318d",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "47af376a-a823-4294-addb-b3e1d0cc7ea4",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9df36971-5d12-41f4-b8d8-98d623d83c62",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e5234a10-3b9d-4dac-9c10-6540fc8a0a3c",
"EffectiveDate": "2026-08-04T17:29:00.9373939-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "41e07004-aada-45e1-9632-d1366d4d418c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "93d4f5ea-ff88-435b-9740-b7c6c5925c68",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fca60791-5cb8-4ccd-8218-8679e08a2bc9",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:29:00.9373939-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:00.9373939-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2460d409-b7a8-4f8e-bcae-bee51953377b",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-04T17:29:00.9373939-07:00",
"StateType": {
"StateTypeId": "8ca5bd80-2f52-44c4-9443-f90404caad27",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d1ccb6d8-1967-40c1-9ee5-a8199238f076",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fcbbdf12-d7f8-4a4c-89f1-532c8dbc318d",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ab61b165-23ea-48b6-b3ad-a46718d9a4b4",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ee662f30-5f52-48e5-bba1-88180d3aaa67",
"CreateDate": "2026-08-04T17:29:00.9373939-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:00.9373939-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}