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": "255ed5a3-4595-4a68-8443-164101da5262", "Asset": { "AssetId": "e34e3752-9485-44e8-bafa-50dbd749205b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a63fb5b6-7017-426d-9a50-be193f1cd626", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "adb0ba90-af97-4602-b8fe-aedbf74570a4", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6d14f3e4-8a24-4449-ba14-8d37d41fd086", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:25:03.6435432-07:00", "MeasurementValueNeededDate": "2025-03-09T08:25:03.6435432-07:00", "SourceSystemId": "sample string 3", "CompanyId": "bc17c827-c2a5-46a5-83ca-1cb071f76103", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "7e2a5903-fc4d-45ed-b2cc-8d124ccd5327", "EffectiveDate": "2025-03-09T08:25:03.6435432-07:00", "StatusType": { "StatusTypeId": "44d6b672-2ae9-42b5-93c0-f14876dbd640", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a63fb5b6-7017-426d-9a50-be193f1cd626", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "adb0ba90-af97-4602-b8fe-aedbf74570a4", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "322f165a-933d-4888-a78c-498bf31ed251", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "48c2d18d-5f00-49f4-b2f7-22273e4bd748", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d02933a7-6c7a-4568-8716-812f64c2e42f", "EffectiveDate": "2025-03-09T08:25:03.6435432-07:00", "WellPurposeType": { "WellPurposeTypeId": "5210bc05-bd8f-47c2-92f0-84f7a24b656c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "76df4d5b-4485-4c5e-8a95-345fb2aa218f", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "35506977-cdce-42d0-aab3-bac8485048b3", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:25:03.6435432-07:00", "MeasurementValueNeededDate": "2025-03-09T08:25:03.6435432-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "59d66b52-9af8-4313-bebf-f95b1a53f435", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-03-09T08:25:03.6435432-07:00", "StateType": { "StateTypeId": "1a44b36f-5d0c-4419-86d1-f6c9773d604c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a63fb5b6-7017-426d-9a50-be193f1cd626", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "adb0ba90-af97-4602-b8fe-aedbf74570a4", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "547ccc6b-5927-465f-ae06-e4891eb23025", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "adaf49df-374a-4a9a-969a-65f22144c37d", "CreateDate": "2025-03-09T08:25:03.6435432-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:25:03.6435432-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }