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": "136c85f5-5bdd-4d57-aeea-72f862a6c187", "Asset": { "AssetId": "641d21c0-6d06-4171-92a1-8e61e540e756", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1323b60d-9309-4cf0-9644-bf31f59316ef", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0b719f95-9d8f-47a2-a7e7-38e93c3ea287", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "70938546-d548-40f7-8214-0eb8eee9e1be", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T16:30:43.1581395-07:00", "MeasurementValueNeededDate": "2025-05-09T16:30:43.1581395-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9d1f8d1f-7621-4379-b16d-9d16c2b63cfa", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "188a4d25-671f-4eb2-9415-efbb1f101676", "EffectiveDate": "2025-05-09T16:30:43.1581395-07:00", "StatusType": { "StatusTypeId": "b9e6bc3f-c35f-411f-b420-284f1a5995fa", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1323b60d-9309-4cf0-9644-bf31f59316ef", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0b719f95-9d8f-47a2-a7e7-38e93c3ea287", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8c864aad-c041-43a5-8da2-d36e0206e688", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f9dad483-af79-4b9f-ba04-fb49cc56c900", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c266e490-8db7-440c-8815-b09f783b654b", "EffectiveDate": "2025-05-09T16:30:43.1581395-07:00", "WellPurposeType": { "WellPurposeTypeId": "9bc3cf3d-4299-4324-b8c7-37b2eff84d18", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "03a90e1b-e35c-48ec-bc6b-a49de3d50ef4", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e4b0200e-6af9-4def-81d2-03f504dd15fd", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T16:30:43.1581395-07:00", "MeasurementValueNeededDate": "2025-05-09T16:30:43.1581395-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eef48614-cae0-4563-86e5-1f3875c47afe", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-05-09T16:30:43.1581395-07:00", "StateType": { "StateTypeId": "44555f94-14c6-47e4-8fc3-1d05e4e02eac", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1323b60d-9309-4cf0-9644-bf31f59316ef", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0b719f95-9d8f-47a2-a7e7-38e93c3ea287", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "92d61b2d-a18a-4a9e-aa71-8abd4b4c69a3", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "995015c3-e4a6-4941-bb2f-412b672b3d48", "CreateDate": "2025-05-09T16:30:43.1581395-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T16:30:43.1581395-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }