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": "1fc3681f-0a06-417b-a2b4-93742cf539b8",
"Asset": {
"AssetId": "a04df2a2-e0b6-42bd-b104-3630644fb3f4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "82173210-9d82-4263-b0dc-12855495e573",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "befab1a6-4859-4fbb-b1c6-16297faf86f7",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "43db573f-033f-4b27-8954-b74c139641db",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:22:44.4517078-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:22:44.4517078-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "35e30b92-e4fe-43c3-ab72-f8eedf1c1fb6",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ea04c255-a528-44ec-ab03-4e2a7fca7a8e",
"EffectiveDate": "2026-07-15T13:22:44.4517078-07:00",
"StatusType": {
"StatusTypeId": "38a19218-91bb-477a-bab7-2f54948e1ee2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "82173210-9d82-4263-b0dc-12855495e573",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "befab1a6-4859-4fbb-b1c6-16297faf86f7",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "99bed512-0170-4f2b-827d-ff34c1630f91",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f43a5bc2-ad10-4f6e-9d0d-7dc55dd77fea",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1488021d-d413-41a5-b937-07d02930bd7d",
"EffectiveDate": "2026-07-15T13:22:44.4517078-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "fa1131b5-d0f6-4c23-97ca-5c5bb152e4c7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b7dab300-967f-4c48-a33a-57cb1f8ac18b",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fb29cff5-4861-4232-9f81-c5b8126a7f37",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:22:44.4517078-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:22:44.4517078-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "be7bd58c-4cef-4069-98d1-3af27235b887",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-07-15T13:22:44.4517078-07:00",
"StateType": {
"StateTypeId": "9b3fa1e4-cae9-4e32-a246-0ef60a3fa2d0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "82173210-9d82-4263-b0dc-12855495e573",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "befab1a6-4859-4fbb-b1c6-16297faf86f7",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "98874a51-7f5e-4eb8-a73a-c440518ccabd",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2f86d9bd-29c5-4ca4-b384-78464814fc47",
"CreateDate": "2026-07-15T13:22:44.4517078-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:22:44.4517078-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}