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": "36e6bba1-a22b-409e-8745-21c5d2370bd0", "Asset": { "AssetId": "1803a35f-a9c9-4aad-8ce6-3b990625a7cd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "90a1fda5-7598-45b9-ba3a-70842b98c999", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8952ee6e-5fda-43e5-8ca7-8051669a5845", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "652b70a4-97b0-4b18-8508-4f9de2a2daaf", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T18:36:36.7340781-07:00", "MeasurementValueNeededDate": "2025-09-13T18:36:36.7340781-07:00", "SourceSystemId": "sample string 3", "CompanyId": "dfe881cd-2a91-45f0-b17e-fb38b1f0b339", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "e0131476-bf69-404a-9468-ac031fdc97aa", "EffectiveDate": "2025-09-13T18:36:36.7340781-07:00", "StatusType": { "StatusTypeId": "3de864d1-dd48-4625-9dca-f21b282ac5f4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "90a1fda5-7598-45b9-ba3a-70842b98c999", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8952ee6e-5fda-43e5-8ca7-8051669a5845", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "21f796c2-8d77-486b-9c9d-94b104d464e9", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "08501879-555f-4ebd-b60c-1601a6ce86db", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "98ab4931-b15d-49ef-b1d3-1ec1bffec09d", "EffectiveDate": "2025-09-13T18:36:36.7340781-07:00", "WellPurposeType": { "WellPurposeTypeId": "0c1c446b-83d7-430a-b0b5-4c898e7a6c4f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "67e2509e-b3b7-4778-9229-48f60cca36c4", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3ca0c06e-9678-42d8-ad22-4ae83d0eb266", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T18:36:36.7340781-07:00", "MeasurementValueNeededDate": "2025-09-13T18:36:36.7340781-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "81b37ef2-d075-40d2-8ed7-68d156d0ed45", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-09-13T18:36:36.7340781-07:00", "StateType": { "StateTypeId": "2e89895a-4e39-4674-8c98-1ae83afeac2f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "90a1fda5-7598-45b9-ba3a-70842b98c999", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8952ee6e-5fda-43e5-8ca7-8051669a5845", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a9df87f0-5a2c-4a9e-8f79-62569dcb7b3e", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1c44fe2e-4e3c-4a4d-8101-042cdf9511ca", "CreateDate": "2025-09-13T18:36:36.7340781-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T18:36:36.7340781-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }