GET States/ByLastModifiedDate?assetId={assetId}&stateTypeId={stateTypeId}&beginDate={beginDate}&endDate={endDate}
Retrieves states for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
Id of the asset |
globally unique identifier |
None. |
stateTypeId |
Id of the state type |
globally unique identifier |
None. |
beginDate |
Beginning last modified date of the states to retrieve |
date |
None. |
endDate |
Ending last modified date of the states to retrieve |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of states.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of State |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "StateId": "dcdb121d-da7b-4077-beff-1ce32f24c540", "Asset": { "AssetId": "17618fc5-562b-4984-8781-9c058ccd3dec", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "26a9e676-95d7-44b8-8ebc-aee8d1905cbb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "MeasurementValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "SourceSystemId": "sample string 3", "CompanyId": "aa6310c4-1026-4ec6-9ed3-f20921211cb8", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "d3c95d63-166e-4166-949f-221987a2906f", "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "StatusType": { "StatusTypeId": "f6526ffc-3659-409d-91a3-e885dc2fd2f5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "168cb1ed-d65a-4a42-9fb5-b3ecdb073c86", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "45facb55-0647-4df5-a4d5-52fce6559eac", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "346857c5-d5f7-450a-9fe8-3c63694ee44c", "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "WellPurposeType": { "WellPurposeTypeId": "37cbc759-0976-49a7-bce8-50cf5554e8ba", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ded3b207-19bb-4382-9461-eac034f29698", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7d3d7b9b-1886-49b9-9dda-b8a1a76204e2", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "MeasurementValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "793a8540-ab75-4049-b5bf-1f5464fed5f6", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "StateType": { "StateTypeId": "462d99f1-5814-4e98-ba7f-23d905c43573", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cface510-da67-4b0f-88fd-64b1af4a62eb", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "332e0387-42e2-4ff4-9e24-0f2163912167", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" }, { "StateId": "dcdb121d-da7b-4077-beff-1ce32f24c540", "Asset": { "AssetId": "17618fc5-562b-4984-8781-9c058ccd3dec", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "26a9e676-95d7-44b8-8ebc-aee8d1905cbb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "MeasurementValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "SourceSystemId": "sample string 3", "CompanyId": "aa6310c4-1026-4ec6-9ed3-f20921211cb8", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "d3c95d63-166e-4166-949f-221987a2906f", "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "StatusType": { "StatusTypeId": "f6526ffc-3659-409d-91a3-e885dc2fd2f5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "168cb1ed-d65a-4a42-9fb5-b3ecdb073c86", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "45facb55-0647-4df5-a4d5-52fce6559eac", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "346857c5-d5f7-450a-9fe8-3c63694ee44c", "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "WellPurposeType": { "WellPurposeTypeId": "37cbc759-0976-49a7-bce8-50cf5554e8ba", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ded3b207-19bb-4382-9461-eac034f29698", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7d3d7b9b-1886-49b9-9dda-b8a1a76204e2", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "MeasurementValueNeededDate": "2024-03-27T20:21:10.7216213-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "793a8540-ab75-4049-b5bf-1f5464fed5f6", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-03-27T20:21:10.7216213-07:00", "StateType": { "StateTypeId": "462d99f1-5814-4e98-ba7f-23d905c43573", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "2be155ba-0e2e-4806-b0a8-11ad9d045793", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "73860697-d18d-40a5-922e-100b08da998f", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cface510-da67-4b0f-88fd-64b1af4a62eb", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "332e0387-42e2-4ff4-9e24-0f2163912167", "CreateDate": "2024-03-27T20:21:10.7216213-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-03-27T20:21:10.7216213-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }