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": "5f2fd88b-8fbd-4a1d-b05d-5d5f9619679c", "Asset": { "AssetId": "dad284ed-16e5-401f-92f0-6bd75497197f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1b74882e-bf9a-4bb5-8144-eef91d339f17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d25280e5-6b99-46f8-a631-252393e1f8f1", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4616d9ae-dfab-4080-977f-b980519f9f44", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "MeasurementValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b4b96b0e-aab8-41d0-b65b-69a0e9be96ac", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "7b2423b5-6b60-4202-96b3-73c5f36de33c", "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "StatusType": { "StatusTypeId": "359213b3-d683-453e-b894-4c8a8e67e9d2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1b74882e-bf9a-4bb5-8144-eef91d339f17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d25280e5-6b99-46f8-a631-252393e1f8f1", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7ed0b9a2-aa6a-4f4c-b7b2-fe090c83f487", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a86b358c-681e-4c35-a843-6b8210d79237", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2d462931-cdb5-4f54-aec7-2d78b89efcd1", "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "WellPurposeType": { "WellPurposeTypeId": "8886fcb9-9843-44d2-add9-5b6dc3189510", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ee20aebe-0fa3-47de-a620-8990b4f30885", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7d883afa-161a-4528-ba8a-58c935488cb6", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "MeasurementValueNeededDate": "2025-06-02T15:35:13.339882-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f1423050-6999-44ec-87f3-e80429265ccd", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-06-02T15:35:13.339882-07:00", "StateType": { "StateTypeId": "897dbb80-37bc-448b-a8be-7b7f4f9efebd", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1b74882e-bf9a-4bb5-8144-eef91d339f17", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d25280e5-6b99-46f8-a631-252393e1f8f1", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "775fb405-cb1f-494e-a4e3-5f08d604fbc4", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "eb32a1f0-f605-4a9c-8758-cddab3acee7f", "CreateDate": "2025-06-02T15:35:13.339882-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:35:13.339882-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }