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": "2552be3e-16f5-4972-8c27-c36eecacd3c7",
"Asset": {
"AssetId": "21e2d4e7-b907-419f-9cf3-791b1ca338cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a71a10ab-ba4d-47e9-bc37-f8e42623138e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bd03496a-a78c-457e-8093-3f6dee513e84",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "779b8ecf-ef26-4140-9739-24749d73516d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:13:00.5195137-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:13:00.5195137-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8a368d04-08c7-48d3-8671-8e75cabcc332",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "441964ec-cd47-4dfe-b70f-08f3d24195e2",
"EffectiveDate": "2026-11-22T14:13:00.5195137-08:00",
"StatusType": {
"StatusTypeId": "657225d3-490c-40e4-8760-14c92781b377",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a71a10ab-ba4d-47e9-bc37-f8e42623138e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bd03496a-a78c-457e-8093-3f6dee513e84",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2638afdb-1651-4f73-aa63-b49b04a40675",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dd4dd2f7-7c59-4094-ad1b-980692fd8815",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9b1cdf72-9208-49a3-914d-c3d2a9c1d5b2",
"EffectiveDate": "2026-11-22T14:13:00.5195137-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a774f759-8dc4-4451-848c-e5da964135ed",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d4cd1124-4a3c-4aeb-bf0a-8b1b10b165c3",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "79aa4cd7-952e-4205-865a-c67d1adc108a",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:13:00.5195137-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:13:00.5195137-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9c3d537c-42cb-4ca3-9a5f-156f2701ad15",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:13:00.5195137-08:00",
"StateType": {
"StateTypeId": "44b015cf-9855-4ec4-a2f6-a3c3caff551b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a71a10ab-ba4d-47e9-bc37-f8e42623138e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bd03496a-a78c-457e-8093-3f6dee513e84",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5200b75d-0fc4-42c1-96b9-c9614b6e4043",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0e4e5e6b-c0c1-4186-a542-ed89ed7fc9ff",
"CreateDate": "2026-11-22T14:13:00.5195137-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:00.5195137-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}