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": "51994b19-772a-4df3-ac06-59b2274d52ab",
"Asset": {
"AssetId": "1c073170-2fd5-4497-8262-b667cae193d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "54453d51-3a8c-4282-a700-332e3ddf908e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59ec9c4b-959a-4a9b-8f1f-0e9b54715a33",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a1f7f68b-4b66-4ba3-b11a-bc53a9e1dfca",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T18:02:33.5540186-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:02:33.5540186-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "29d3d134-0529-40f4-a2a8-5b54df0c6b7d",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "71ebe650-6708-4097-b274-3ffeb9bf02d9",
"EffectiveDate": "2026-03-15T18:02:33.5540186-07:00",
"StatusType": {
"StatusTypeId": "df572516-4e63-4628-a004-59ddc8e096c8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "54453d51-3a8c-4282-a700-332e3ddf908e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59ec9c4b-959a-4a9b-8f1f-0e9b54715a33",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f4c51670-8ad1-4a99-9aae-af561b8030d0",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "119a1f81-8b4f-4114-aef5-cddee8641893",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6c67fc95-46d5-44f9-8b57-79e9a24ac484",
"EffectiveDate": "2026-03-15T18:02:33.5540186-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "afd59029-b19b-4581-8f53-6fe1df508736",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "584ee844-6543-4216-a1af-51e7c1786a84",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "df74ef03-372d-494e-863d-1618d616f6ee",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-15T18:02:33.5540186-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:02:33.5540186-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ba5cf58b-f2aa-4384-bfce-7dc2f60aff66",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-15T18:02:33.5540186-07:00",
"StateType": {
"StateTypeId": "b3cf9453-c9fe-494f-b233-8d040e32d325",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "54453d51-3a8c-4282-a700-332e3ddf908e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59ec9c4b-959a-4a9b-8f1f-0e9b54715a33",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "04e28cd0-8195-4ad8-b3f7-660bf74e1f8a",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "726d1687-1b96-46fe-b778-ee0797e03ff2",
"CreateDate": "2026-03-15T18:02:33.5540186-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:02:33.5540186-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}