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": "747b69a9-09e9-4a57-9a64-b320dec005cb",
"Asset": {
"AssetId": "b08c5f6b-472b-4b04-a6d1-2259ad1484cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b1333805-b5c0-4297-955b-44ad65c84bef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "023577dd-28f4-40da-9968-8c7ec0b3a1f1",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "21368f26-215d-4701-85cd-a27fe86d99d4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T14:00:17.4694055-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:17.4694055-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "973d81c7-e0c5-4f92-ac00-def5413edfda",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "66b757ae-360c-48bb-b42f-9cd8a1e2d7f6",
"EffectiveDate": "2026-09-26T14:00:17.4694055-07:00",
"StatusType": {
"StatusTypeId": "43a7a09e-b3c4-4075-8d88-6aad4f898946",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b1333805-b5c0-4297-955b-44ad65c84bef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "023577dd-28f4-40da-9968-8c7ec0b3a1f1",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "acf8b375-adb6-404a-943d-6a71394c2c6a",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a9d49303-966c-4685-8cc0-717534d963bd",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6a5a518c-747e-4e0f-9702-8586f32a9bcf",
"EffectiveDate": "2026-09-26T14:00:17.4694055-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5c1e9b92-4b87-4de7-859c-c5fc3b19718a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6410a244-e71a-4f56-9300-035c1cb7cc45",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9946ee5d-6844-4caa-b2d7-7b6a78aa15b5",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T14:00:17.4694055-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:17.4694055-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e740e957-3be0-4080-8d54-5b209d6751e5",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-26T14:00:17.4694055-07:00",
"StateType": {
"StateTypeId": "b6c2db0b-7b77-4aac-ade9-c18234440383",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b1333805-b5c0-4297-955b-44ad65c84bef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "023577dd-28f4-40da-9968-8c7ec0b3a1f1",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "82412238-2abf-4b1d-9271-f6ab3ba4c98d",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4f91bdeb-cc58-4084-ac9b-f07fcceb9211",
"CreateDate": "2026-09-26T14:00:17.4694055-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:17.4694055-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}