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": "b64bc9bb-addc-42c2-b8e4-f12e5eaf7281", "Asset": { "AssetId": "d4bbd990-d4ea-4069-946a-e24dae3778c8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6a2a3887-95bb-4b98-b2fb-defa37c59947", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7779dfe1-1476-449a-b612-d2eff6b273dc", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "54845632-cd81-41b4-bfc2-58a5a3af5160", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:46:20.5910483-07:00", "MeasurementValueNeededDate": "2025-06-27T07:46:20.5910483-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f984fdcc-e7ef-4609-b888-4ea2f70a4a0a", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "f50d226c-101b-4dc1-b7b0-b18fd65d1c75", "EffectiveDate": "2025-06-27T07:46:20.5910483-07:00", "StatusType": { "StatusTypeId": "45d7107c-2987-4870-98af-0cf6c01b981c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6a2a3887-95bb-4b98-b2fb-defa37c59947", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7779dfe1-1476-449a-b612-d2eff6b273dc", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "88dd6b41-89f4-407b-b9a4-eab429f3609b", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4da60f65-944b-4e1b-beb3-15a23a0f376f", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8dea8b2c-7069-4afa-9299-fc8be1382263", "EffectiveDate": "2025-06-27T07:46:20.5910483-07:00", "WellPurposeType": { "WellPurposeTypeId": "f9e2baff-87b4-40f1-9039-c919641eea5e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ccf4de77-a03e-426c-957c-7c00b0f0e829", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "984a480f-37bc-4a2b-91f9-a61f81bc735c", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:46:20.5910483-07:00", "MeasurementValueNeededDate": "2025-06-27T07:46:20.5910483-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "54644275-7bee-4e40-82f6-e138d2e71717", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-06-27T07:46:20.5910483-07:00", "StateType": { "StateTypeId": "42b9474c-80cc-4cac-ae6e-26e196d8308c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6a2a3887-95bb-4b98-b2fb-defa37c59947", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7779dfe1-1476-449a-b612-d2eff6b273dc", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2f7a62b3-3f4d-4cc3-82b6-58ce03df67e7", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b9c484ba-5dc1-439f-b756-40b1e615e99d", "CreateDate": "2025-06-27T07:46:20.5910483-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:46:20.5910483-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }