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": "bbc4084c-fc28-41e5-b7c7-d5a2a0880e1c",
"Asset": {
"AssetId": "118aae42-5e7b-45b0-953a-ca2c3b6aecb6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f266ed36-5b3f-4246-8bd2-ba4aae0cec36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e4baeca1-55ad-4f68-b2ce-a4b3237fdfcf",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "30e3e281-5458-43e3-bc77-6f0624d83d38",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:57:00.0782147-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:57:00.0782147-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bf3c12d1-5418-4ae2-83c0-3ca93351ad06",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "67580556-df87-4328-8aee-ef73694a16d5",
"EffectiveDate": "2026-01-07T15:57:00.0782147-08:00",
"StatusType": {
"StatusTypeId": "ec66edea-5b71-40f8-a05e-190a3705e0ed",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f266ed36-5b3f-4246-8bd2-ba4aae0cec36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e4baeca1-55ad-4f68-b2ce-a4b3237fdfcf",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "41191b89-8bb1-4212-b2a4-d341cddbc5ba",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8f0d5bb8-0287-45e0-b621-ac596f7671f2",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e5d9b83c-ea3e-4b8f-94db-4d0754066583",
"EffectiveDate": "2026-01-07T15:57:00.0782147-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "934b255c-9b2e-441e-be20-4266bad4622d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cb26ce48-58fe-4e3f-aa9e-4c55d638cab8",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "395d59c0-f857-47f6-bf6b-e90eedd96c74",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:57:00.0782147-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:57:00.0782147-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "610155b5-ddfd-42ce-a318-2a7b9330c0e3",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-07T15:57:00.0782147-08:00",
"StateType": {
"StateTypeId": "da283f83-ea89-473f-b7ac-bb26784df8c9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f266ed36-5b3f-4246-8bd2-ba4aae0cec36",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e4baeca1-55ad-4f68-b2ce-a4b3237fdfcf",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8f7a4ffa-bfe6-4900-913b-bd54fe534012",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cd9b7175-dfcf-4d2a-9a01-9152da239174",
"CreateDate": "2026-01-07T15:57:00.0782147-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:57:00.0782147-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}