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": "97069127-0a9b-47cd-974b-bd3cdbaca185",
"Asset": {
"AssetId": "7b3abbab-3565-496e-a3d0-bc488b1b75db",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "661159ad-6219-4d85-97c1-786184884baf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0eb1c662-e4eb-4ead-b6a4-7ed1b601c805",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "93b92d66-6dbe-4ee8-a32b-c3f456053ef8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:39:58.4103035-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:58.4103035-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f9865db5-8c23-451c-99af-586f78ee1392",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "da20ae69-be93-4398-a48f-b741a0d6d92f",
"EffectiveDate": "2026-09-13T23:39:58.4103035-07:00",
"StatusType": {
"StatusTypeId": "82cbbdf7-f712-4d7b-8b64-f4075812ed09",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "661159ad-6219-4d85-97c1-786184884baf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0eb1c662-e4eb-4ead-b6a4-7ed1b601c805",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b6d330b9-0fb8-4683-adcd-08d37716f33e",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cbc5a79c-6651-4304-82f2-fb0b9f7959df",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9e5df886-f00b-473b-b028-60471777fa4e",
"EffectiveDate": "2026-09-13T23:39:58.4103035-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d8a34d5d-6292-4405-8e83-08231c9a06c7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "88fdc858-f1fe-41eb-8c3a-0b6076ed1cf8",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7332c96c-ac9c-4e52-9850-1167e9fb6f0a",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:39:58.4103035-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:39:58.4103035-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f45327d9-42db-41c9-b26f-cd330a9fd63d",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-13T23:39:58.4103035-07:00",
"StateType": {
"StateTypeId": "3efe4d47-78d2-4499-9334-1502f54bcb69",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "661159ad-6219-4d85-97c1-786184884baf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0eb1c662-e4eb-4ead-b6a4-7ed1b601c805",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c2be2dd4-3f6f-41e1-8cf3-f5c964ed6d50",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5946f782-c533-4c06-97c3-0f7af91012e5",
"CreateDate": "2026-09-13T23:39:58.4103035-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:39:58.4103035-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}