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": "403c0983-6721-4018-a186-41bcd9389dfe",
"Asset": {
"AssetId": "cfb2837e-2c39-410f-b726-9265f1c9c3a7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3fa02a7e-6171-4d56-94c0-c2ca2cf91f96",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "99dde487-6744-4efe-a2ce-068952d06543",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "08e18474-1b3a-4c4f-985c-7f8ecec847f8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-23T05:43:59.0850782-08:00",
"MeasurementValueNeededDate": "2026-02-23T05:43:59.0850782-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5fb353be-272e-4746-8036-bd1f928a8828",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "cd36caaf-72e1-41fa-8dfa-c365e3c30b33",
"EffectiveDate": "2026-02-23T05:43:59.0850782-08:00",
"StatusType": {
"StatusTypeId": "eec44c80-82be-4a82-a992-3dbf9bcaaafd",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3fa02a7e-6171-4d56-94c0-c2ca2cf91f96",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "99dde487-6744-4efe-a2ce-068952d06543",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fb0ec249-c5eb-49de-8d9d-008ed0a8b978",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "93356478-680d-40cc-8e81-e1316261e465",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9d4c718d-040c-45ee-8c42-e44eec7a81db",
"EffectiveDate": "2026-02-23T05:43:59.0850782-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "38803734-3669-4b62-a73e-d3c290a4ae05",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d8e59b42-83a4-42bc-90f5-8f1f0a33801d",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8f7bbc58-9514-4537-94b9-a55fcb9e5cb3",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-23T05:43:59.0850782-08:00",
"MeasurementValueNeededDate": "2026-02-23T05:43:59.0850782-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dd7dcead-9fa2-4328-952d-1b481a6ac574",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-23T05:43:59.0850782-08:00",
"StateType": {
"StateTypeId": "1b17c844-5ea1-4822-9f11-fbed5e55864e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3fa02a7e-6171-4d56-94c0-c2ca2cf91f96",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "99dde487-6744-4efe-a2ce-068952d06543",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "82a88ce4-353f-4d9a-be30-864fba0c87da",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "14573653-488b-440d-b04e-cb0082a579b7",
"CreateDate": "2026-02-23T05:43:59.0850782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T05:43:59.0850782-08:00",
"LastModifiedUser": "sample string 4"
},
"Total": 1,
"Message": "sample string 1"
}