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": "ba828a87-34bb-40f8-87e8-44f18c858e39", "Asset": { "AssetId": "1f4937ab-5596-4473-94b6-4973aadbf67b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "11321b48-35f2-4948-8e43-a49f638216fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9e0182b6-394e-45ed-88ed-200f6319701c", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ae39aa67-a224-4d30-bae4-4517f39dde70", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:19:23.3965857-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.3965857-07:00", "SourceSystemId": "sample string 3", "CompanyId": "28bbf01b-3e36-489a-96b6-2177b60d1e80", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "5101410c-dec5-4dcc-a835-a3ac192923e6", "EffectiveDate": "2025-08-29T17:19:23.3965857-07:00", "StatusType": { "StatusTypeId": "0a753d24-c0b6-40ab-9916-3f826c810e73", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "11321b48-35f2-4948-8e43-a49f638216fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9e0182b6-394e-45ed-88ed-200f6319701c", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e400e918-964a-4893-84c4-0ec179860891", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9f2a9165-1573-403b-a130-d324924fd9b7", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "55a54602-9bd5-44aa-b5d6-f79d6b5e6dbc", "EffectiveDate": "2025-08-29T17:19:23.3965857-07:00", "WellPurposeType": { "WellPurposeTypeId": "cfe871fc-4321-4dbc-8e5c-ea4c12d9f6eb", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "20cc360f-b891-441e-a4a2-d15ac57daabb", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b1e4a4c8-73bf-4dab-ab4d-5ea1bb3f3617", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:19:23.3965857-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.3965857-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7692ba2e-5d53-4077-a5d4-a90abfe85be1", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T17:19:23.3965857-07:00", "StateType": { "StateTypeId": "c483f796-920c-40ee-ae6b-d2b181491fac", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "11321b48-35f2-4948-8e43-a49f638216fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9e0182b6-394e-45ed-88ed-200f6319701c", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1a7a0943-2c02-4d3b-bfb9-9f2a4c366884", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2c263ac3-f4c5-4ec0-95d8-0e4567924b13", "CreateDate": "2025-08-29T17:19:23.3965857-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.3965857-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }