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": "d8633257-02c9-4575-9a37-ad47413e9526",
"Asset": {
"AssetId": "f6150aba-6060-4f87-907a-95be0bc5642c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3828551e-df5b-490b-8ff5-1635d41450ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b4f3058b-989e-47c0-ab36-dbe0788f259d",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "84034966-c143-405f-81f6-7a7155facf83",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T06:09:51.4903609-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:09:51.4903609-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4d7a7fe9-f2c6-439a-b687-3d02d482f276",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "e123c5f5-545a-4d9d-9fbf-48d090f62b03",
"EffectiveDate": "2026-02-02T06:09:51.4903609-08:00",
"StatusType": {
"StatusTypeId": "4fcff494-019f-45d3-bddd-1a4e1ce581f0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3828551e-df5b-490b-8ff5-1635d41450ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b4f3058b-989e-47c0-ab36-dbe0788f259d",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "468c0d41-0aef-4085-be71-b584801df21b",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "efdc9d65-edbd-4c88-804d-14076b9f4642",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f1add1f9-f460-464e-895f-2b2d5d90a7e8",
"EffectiveDate": "2026-02-02T06:09:51.4903609-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "4851f4ab-b1e6-4ad6-846b-4e41f3daf34d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "73b24b73-4dcb-43e9-bdad-e7596471d847",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "112a45e5-9bd8-4d3b-9c48-90f0389bab81",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T06:09:51.4903609-08:00",
"MeasurementValueNeededDate": "2026-02-02T06:09:51.4903609-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3843ac92-f73f-4fb5-abd9-406bceb15597",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-02T06:09:51.4903609-08:00",
"StateType": {
"StateTypeId": "aa12c188-db95-4dbe-9103-344adf36d3d1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3828551e-df5b-490b-8ff5-1635d41450ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b4f3058b-989e-47c0-ab36-dbe0788f259d",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5f3eac34-a7b3-4882-8aad-57efd72d9c86",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f10c1962-4595-49d8-966f-8f23e672eb32",
"CreateDate": "2026-02-02T06:09:51.4903609-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T06:09:51.4903609-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}