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": "307625c9-4f09-4205-b5f5-bbf911e18e01", "Asset": { "AssetId": "34871e42-fe8b-4f03-aa4c-3b851563b85c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1e9956ea-5162-4961-9472-93962b0010b8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ed7dddd3-6bb3-4284-866b-bae7127634f9", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4caa2889-9f21-49b9-bcd5-424de5fefaec", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:25:39.3466398-07:00", "MeasurementValueNeededDate": "2025-10-13T15:25:39.3466398-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a042ac43-5992-4b7b-9d33-c64f0d389df0", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "715f60bb-59c7-4c2c-8dd1-43d0b209635a", "EffectiveDate": "2025-10-13T15:25:39.3466398-07:00", "StatusType": { "StatusTypeId": "1484f8c8-d16f-488c-82a5-5ebc5fc97640", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1e9956ea-5162-4961-9472-93962b0010b8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ed7dddd3-6bb3-4284-866b-bae7127634f9", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "778c3799-f399-40b0-9bb9-b475c4c2501d", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "df48cd43-cf73-4cf5-8117-98cd0f5f1f05", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "3349e51a-4e28-41f5-afa3-a2a1788e0307", "EffectiveDate": "2025-10-13T15:25:39.3466398-07:00", "WellPurposeType": { "WellPurposeTypeId": "abadfc8b-f8a4-47b7-ac75-b89c434b148b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e31c6668-3358-4363-94c6-b74461085e48", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b741774e-554c-41cd-83f4-fef39e8a3a11", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:25:39.3466398-07:00", "MeasurementValueNeededDate": "2025-10-13T15:25:39.3466398-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2fa241f0-b58d-403b-9ad4-913f35964cb3", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-10-13T15:25:39.3466398-07:00", "StateType": { "StateTypeId": "6925b45b-f72d-4be9-981d-ed7f3fedd1af", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1e9956ea-5162-4961-9472-93962b0010b8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ed7dddd3-6bb3-4284-866b-bae7127634f9", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e4074201-249a-419c-8fbf-88eae308f782", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "7d6645ef-60f1-4fbc-a9dc-118a129837c3", "CreateDate": "2025-10-13T15:25:39.3466398-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:25:39.3466398-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }