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": "23c27b03-6f0a-4e23-9c42-9b597fb1ba4f",
"Asset": {
"AssetId": "5119db63-b731-44fa-a5ce-d6ab2f564197",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "092b3ba5-9935-4932-8489-5c2117fd5302",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"MeasurementValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f39f319d-ec23-4ae9-8fd0-ac74a21e6c58",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "28a36337-8ee5-4de3-85d8-8e3aa56d5b47",
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"StatusType": {
"StatusTypeId": "1ee6c868-c759-468f-86be-d2fa4b172589",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ecb10237-1041-4843-83f4-a421d3fcba34",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6845ccdf-d21f-4e20-af1c-1dd4c1fcbfb2",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "be5800ea-b119-4979-a898-4c7d819feb3f",
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6b75e4c9-34ce-4a22-ba78-23100e73d2ce",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3211eb86-1f2a-4de3-a195-94cc4fe19b91",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c267cd6e-3612-416b-be43-d365e7358774",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"MeasurementValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9ee99849-2f82-4319-9d59-1f0a8781ed1c",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"StateType": {
"StateTypeId": "757adf85-391e-478d-a0bc-af6d05f95975",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7f5dd817-0b35-4d77-9390-9bd18c8ae6e8",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d949c64f-7d3f-476e-9649-fc9695bc121f",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
},
{
"StateId": "23c27b03-6f0a-4e23-9c42-9b597fb1ba4f",
"Asset": {
"AssetId": "5119db63-b731-44fa-a5ce-d6ab2f564197",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "092b3ba5-9935-4932-8489-5c2117fd5302",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"MeasurementValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f39f319d-ec23-4ae9-8fd0-ac74a21e6c58",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "28a36337-8ee5-4de3-85d8-8e3aa56d5b47",
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"StatusType": {
"StatusTypeId": "1ee6c868-c759-468f-86be-d2fa4b172589",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ecb10237-1041-4843-83f4-a421d3fcba34",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6845ccdf-d21f-4e20-af1c-1dd4c1fcbfb2",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "be5800ea-b119-4979-a898-4c7d819feb3f",
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6b75e4c9-34ce-4a22-ba78-23100e73d2ce",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3211eb86-1f2a-4de3-a195-94cc4fe19b91",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c267cd6e-3612-416b-be43-d365e7358774",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"MeasurementValueNeededDate": "2026-04-16T16:56:45.7158293-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9ee99849-2f82-4319-9d59-1f0a8781ed1c",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-16T16:56:45.7158293-07:00",
"StateType": {
"StateTypeId": "757adf85-391e-478d-a0bc-af6d05f95975",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "74428679-e850-4c65-b1ac-b9d7922d8703",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ec8024c-395f-4cbc-919c-03ff36729024",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7f5dd817-0b35-4d77-9390-9bd18c8ae6e8",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d949c64f-7d3f-476e-9649-fc9695bc121f",
"CreateDate": "2026-04-16T16:56:45.7158293-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-16T16:56:45.7158293-07:00",
"LastModifiedUser": "sample string 4"
}
],
"Total": 1,
"Message": "sample string 1"
}