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": "ef0aa0de-f466-41e0-93ca-cb6f657db966",
"Asset": {
"AssetId": "b4e2b17c-3039-447f-af84-5603e8c8b555",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ff583cf0-6ff6-4b3b-b77a-2b55eca39eaf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "959ecc46-a883-41c9-923d-ae8cf6d6ca61",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "eeb92576-ad3d-4906-a215-5ea1eaed9671",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:55:15.2039865-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:15.2039865-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e5bfd5d5-4d52-4b38-90f1-924c365abe43",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "bb139183-9e06-4149-9414-7164494cf391",
"EffectiveDate": "2026-03-30T16:55:15.2039865-07:00",
"StatusType": {
"StatusTypeId": "54a45865-6677-4805-9d68-84bbcf562010",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ff583cf0-6ff6-4b3b-b77a-2b55eca39eaf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "959ecc46-a883-41c9-923d-ae8cf6d6ca61",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1f29c828-e74e-4f98-9668-65b7f63352f7",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "01795632-1c62-42db-9fda-1dc3b26d8371",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7450cf95-5004-4f4e-b6ed-503e5c869e00",
"EffectiveDate": "2026-03-30T16:55:15.2039865-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b4267a95-2785-427f-a7c0-7b323bdc703e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "43a2ca89-18f5-468a-8a74-2a01fdb7b685",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f68a654f-d429-4f0f-b65f-ea7a1924bc12",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:55:15.2039865-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:15.2039865-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "924db305-9a3c-4dd4-9693-c9822dce4457",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-03-30T16:55:15.2039865-07:00",
"StateType": {
"StateTypeId": "7c29743a-0cdc-4243-8c0e-028c831eb9a6",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ff583cf0-6ff6-4b3b-b77a-2b55eca39eaf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "959ecc46-a883-41c9-923d-ae8cf6d6ca61",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8fccb15b-a800-4a4f-abc7-7878135343ca",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "60d2c372-b3aa-4caf-82f3-459ba2efa020",
"CreateDate": "2026-03-30T16:55:15.2039865-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:15.2039865-07:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}