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": "cf6540fb-f28d-4e58-81dc-5f8b00fde43c",
"Asset": {
"AssetId": "adf87e5c-360a-4b2a-b9c1-4f01ec6d5a9d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4e0b05a8-95bc-4a08-bd57-b0b1ee48f9a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "893a5bcd-f2ab-4ac8-93b7-a533993cab7a",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c53101a0-8665-461d-aadf-be964e8e80bd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-12T17:07:47.3212195-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:47.3212195-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "330aa436-5c46-4c93-b731-315fe4573ce9",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "a36e038e-805d-483b-af97-66bc06af3af2",
"EffectiveDate": "2026-05-12T17:07:47.3212195-07:00",
"StatusType": {
"StatusTypeId": "c041927f-063a-4281-b6ce-d0a506ee59a2",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4e0b05a8-95bc-4a08-bd57-b0b1ee48f9a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "893a5bcd-f2ab-4ac8-93b7-a533993cab7a",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5f990e21-0760-4d66-a2aa-f2875a0d2b68",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8d1a6264-2e73-495a-adbd-51406df05076",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7a038f70-d45d-4c61-9ed8-a162d40eb24c",
"EffectiveDate": "2026-05-12T17:07:47.3212195-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "2ec65520-5782-462d-857a-a54e9836afc2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "92d79482-a05a-4bb1-b314-e0314019c08f",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4952dd34-aba2-426f-826f-8c47b0bc08f5",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-12T17:07:47.3212195-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:47.3212195-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8e16371f-5722-4a7d-b3ad-243b2884c073",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-12T17:07:47.3212195-07:00",
"StateType": {
"StateTypeId": "aeb684b5-843c-4564-ab78-7590b5c92096",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4e0b05a8-95bc-4a08-bd57-b0b1ee48f9a9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "893a5bcd-f2ab-4ac8-93b7-a533993cab7a",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "dc146d63-4572-493b-a380-0a6714e14e2c",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a037c1b1-4ef5-4e4b-be12-c933d475c3da",
"CreateDate": "2026-05-12T17:07:47.3212195-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:47.3212195-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}