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": "641f7459-a6c5-43ea-9c4c-a2b4f5beb8cf", "Asset": { "AssetId": "c05f6a45-d203-4f90-955a-5b3ed80dbcae", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e088e558-fa7e-4372-89f1-80b439c9080d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14ad063a-b7a6-42f5-b71d-5d50d9827b1e", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "2ae74e40-efaf-4175-9810-327d0b7a73d1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:03:01.3294356-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:01.3294356-08:00", "SourceSystemId": "sample string 3", "CompanyId": "92acc3b8-ddc0-4be5-a927-38776f6cc562", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "dabfd70d-7d14-4797-b531-2ab2755b9ab2", "EffectiveDate": "2024-11-21T05:03:01.3294356-08:00", "StatusType": { "StatusTypeId": "000a0819-8604-4251-9eb4-0e705a866796", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e088e558-fa7e-4372-89f1-80b439c9080d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14ad063a-b7a6-42f5-b71d-5d50d9827b1e", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ac5e0392-9d6a-4216-b2be-887ad19e9ae0", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c18cf216-faf2-4a73-827c-e4c447052fa2", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b3d0498d-2156-4240-b89c-2a723b3c815c", "EffectiveDate": "2024-11-21T05:03:01.3294356-08:00", "WellPurposeType": { "WellPurposeTypeId": "953bd945-5704-4c74-8f8e-547b1caba1bd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "79a68bdd-fa58-4b93-95df-c1fff02dbd7d", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "159f2e72-3346-40ea-ab3b-80c11092607c", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:03:01.3294356-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:01.3294356-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1512efd3-1bd3-4a70-b3c7-854cf51fbc0c", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T05:03:01.3294356-08:00", "StateType": { "StateTypeId": "5c7653dd-f445-4efb-9f5e-74aafbaebe80", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e088e558-fa7e-4372-89f1-80b439c9080d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14ad063a-b7a6-42f5-b71d-5d50d9827b1e", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "f488004c-5894-4332-8342-81cb2d8bf613", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "17445fde-917b-4e8d-af00-1b621fd05eb7", "CreateDate": "2024-11-21T05:03:01.3294356-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:01.3294356-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }