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": "3bab20c5-0448-48a4-babf-1f7039d7e0f2",
"Asset": {
"AssetId": "b8a85c43-4c6e-417a-a54d-0dd66398e6e2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f5b5f824-fadd-434d-92b5-03a45e1c9775",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e097c9ce-59c6-47b2-a315-fc94c8effb8d",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1efdf0dd-407b-423b-8cd7-fc7a1a285aab",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-15T12:38:22.2947274-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:38:22.2947274-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3136756b-5329-4e97-8d97-35eabd3139dd",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "cf4c2e4e-8327-4519-8c19-867ed43a5da7",
"EffectiveDate": "2026-02-15T12:38:22.2947274-08:00",
"StatusType": {
"StatusTypeId": "02aa8f1e-32c8-4f60-9d1d-eca0ab371baa",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f5b5f824-fadd-434d-92b5-03a45e1c9775",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e097c9ce-59c6-47b2-a315-fc94c8effb8d",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1d41e8db-3d50-433d-9eed-076f2390ae19",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b4306f44-daa5-4602-9c45-e032c1ef64ca",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "84dc3f32-5594-4331-a571-7bd25888ed79",
"EffectiveDate": "2026-02-15T12:38:22.2947274-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b40a2496-f49b-4d6e-b903-850596343f3f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "22b36e8f-23d3-4313-910a-ee6e8addc02a",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "419da4ce-b6a5-48f4-8bc8-7a6633d797d1",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-15T12:38:22.2947274-08:00",
"MeasurementValueNeededDate": "2026-02-15T12:38:22.2947274-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8c3f009-45c3-4f90-9e10-93d8e03c7b38",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-15T12:38:22.2947274-08:00",
"StateType": {
"StateTypeId": "c2e7ee30-6f78-401d-9895-0cf2e339b656",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f5b5f824-fadd-434d-92b5-03a45e1c9775",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e097c9ce-59c6-47b2-a315-fc94c8effb8d",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "54c66364-4f24-4097-ad0e-0bb2ccfa1bea",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3f9f2ac4-c0a4-423f-8c7d-1cb864575438",
"CreateDate": "2026-02-15T12:38:22.2947274-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-15T12:38:22.2947274-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}