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": "295831ca-a7a4-4b42-bb39-b31f944ac05c",
"Asset": {
"AssetId": "fa548ca9-53bc-4890-83a1-7d8c5a62170d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bc57931b-49b5-432b-aec6-f2219dafb7d5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bf4b09dc-8f6b-42b8-9495-d3eb7a705d4a",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "eb183d5d-3558-48c4-9c5e-dc4c43e60749",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:56:49.9924103-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:49.9924103-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b5709fc4-f741-4603-b724-7eaf6df8d9bc",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "fe39862b-e768-495e-852c-8d3bdf2e81bc",
"EffectiveDate": "2026-11-01T08:56:49.9924103-08:00",
"StatusType": {
"StatusTypeId": "fc6acda2-c812-4164-9f94-72201401a319",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bc57931b-49b5-432b-aec6-f2219dafb7d5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bf4b09dc-8f6b-42b8-9495-d3eb7a705d4a",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6713dbb9-8f0f-4aa1-b887-b73c683191b5",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "176020f5-48cd-499b-af33-00b70eb95ace",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1bf66b25-2279-4f65-8003-a3b86cce0d5d",
"EffectiveDate": "2026-11-01T08:56:49.9924103-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "45ca56b0-b4c8-4407-af34-ec6194fdedb8",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2d07af56-3e57-41c4-a049-8319350da4d3",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b15583f8-7c76-4877-a9b2-ccadcc0f8939",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:56:49.9924103-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:56:49.9924103-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e0295ef7-03a3-4890-8906-1f149bbe361d",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-01T08:56:49.9924103-08:00",
"StateType": {
"StateTypeId": "c4544537-535e-485a-993e-e4d29cd1e42d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bc57931b-49b5-432b-aec6-f2219dafb7d5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bf4b09dc-8f6b-42b8-9495-d3eb7a705d4a",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "40486a80-40c4-40c1-b3dc-f4d1b7ae0e22",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "94efc52f-1e21-4ebc-8286-f8b15d3ccd5a",
"CreateDate": "2026-11-01T08:56:49.9924103-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:56:49.9924103-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}