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": "238feab2-995d-494c-9f13-49b42b5d748c", "Asset": { "AssetId": "8db7d599-2764-4d70-89be-978787575b82", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2667f74f-aef4-4bdf-888c-513368460eeb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b2b0489-545b-47be-8543-59cc7c05a6f1", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a3d1e180-b0c5-4616-8768-b8da01a7d404", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:45:00.2748371-08:00", "MeasurementValueNeededDate": "2025-01-30T16:45:00.2748371-08:00", "SourceSystemId": "sample string 3", "CompanyId": "bc3578cf-fa53-4072-94c6-617fa474742f", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "e126fe14-adc7-4a4d-9d06-9d6b9a7e7af8", "EffectiveDate": "2025-01-30T16:45:00.2748371-08:00", "StatusType": { "StatusTypeId": "5b2eb75c-04d7-405a-8015-8fd66692cab1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2667f74f-aef4-4bdf-888c-513368460eeb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b2b0489-545b-47be-8543-59cc7c05a6f1", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "54ed6436-eb13-4db7-a825-4ea7ddb5a362", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2f691b39-8b1c-492f-b985-14480e38dd1e", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8bc779aa-7477-4e10-a2e0-02bf0c3f2e8d", "EffectiveDate": "2025-01-30T16:45:00.2748371-08:00", "WellPurposeType": { "WellPurposeTypeId": "afd4ec7d-9747-4eeb-89f7-436b4553c22f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "de66cb7c-5519-4d07-ad8a-3e3317023cf4", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "46074862-b37b-4756-88d6-93d55b0a1b33", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:45:00.2748371-08:00", "MeasurementValueNeededDate": "2025-01-30T16:45:00.2748371-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "744a19f6-7a37-4f9e-8c8e-418e05260742", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-01-30T16:45:00.2748371-08:00", "StateType": { "StateTypeId": "70195308-9f34-45dc-91de-825f59fb36f5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "2667f74f-aef4-4bdf-888c-513368460eeb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b2b0489-545b-47be-8543-59cc7c05a6f1", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "09c30e23-5852-4e9e-934c-923cab6561dd", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5095588e-03c6-4aed-8158-bebf64e5a4a2", "CreateDate": "2025-01-30T16:45:00.2748371-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:00.2748371-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }