GET WellPurposes/ByLastModifiedDate?assetId={assetId}&wellPurposeTypeId={wellPurposeTypeId}&beginDate={beginDate}&endDate={endDate}
Retrieves well purposes 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. |
wellPurposeTypeId |
Id of the well purpose type |
globally unique identifier |
None. |
beginDate |
Beginning last modified date of the well purposes to retrieve |
date |
None. |
endDate |
Ending last modified date of the well purposes to retrieve |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of well purposes.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of WellPurpose |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "WellPurposeId": "f030172c-4656-4308-b710-17b853ea0ed1", "Asset": { "AssetId": "374fbcd2-3b93-4de1-9413-c9fa2674647b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "22476b88-ef51-428b-bdd4-7301f61953d8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "MeasurementValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "SourceSystemId": "sample string 3", "CompanyId": "688896d1-4e48-4e10-9b2b-8c64317bcb9e", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bda843b9-fc1d-4e74-b3b3-8fa8bb8ea479", "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "StateType": { "StateTypeId": "e0fc7c2c-1898-4357-9368-b2d6a883c392", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a28c4d44-0582-4bdc-bc70-7a02ac489cca", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a2bcf91b-fdc6-4c04-a943-a6a5a4471471", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "68b193f9-4cd3-46a3-8577-eeed52dba332", "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "StatusType": { "StatusTypeId": "75570dfc-9c21-4a3a-942d-38a70972c11a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "db5d7f0a-57e4-4d54-b85f-f9744d8a54e2", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "589883aa-6f56-481a-8d5e-ae65f59ddb30", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "MeasurementValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "705160e7-b074-4da4-b21a-87ff94cb1b45", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "WellPurposeType": { "WellPurposeTypeId": "8617ce6c-2758-42fb-b897-f10a0781e0a4", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1e4f17a2-39b4-4f86-a72f-f2af910bc362", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "08df0c4f-b12f-4acd-bf75-fa29883b92cd", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" }, { "WellPurposeId": "f030172c-4656-4308-b710-17b853ea0ed1", "Asset": { "AssetId": "374fbcd2-3b93-4de1-9413-c9fa2674647b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "22476b88-ef51-428b-bdd4-7301f61953d8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "MeasurementValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "SourceSystemId": "sample string 3", "CompanyId": "688896d1-4e48-4e10-9b2b-8c64317bcb9e", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bda843b9-fc1d-4e74-b3b3-8fa8bb8ea479", "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "StateType": { "StateTypeId": "e0fc7c2c-1898-4357-9368-b2d6a883c392", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a28c4d44-0582-4bdc-bc70-7a02ac489cca", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a2bcf91b-fdc6-4c04-a943-a6a5a4471471", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "68b193f9-4cd3-46a3-8577-eeed52dba332", "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "StatusType": { "StatusTypeId": "75570dfc-9c21-4a3a-942d-38a70972c11a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1b2251d7-7417-436c-b244-e8c31e4e181f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96c9cadd-38fc-4ae0-9980-24510c19522b", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "db5d7f0a-57e4-4d54-b85f-f9744d8a54e2", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "589883aa-6f56-481a-8d5e-ae65f59ddb30", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "MeasurementValueNeededDate": "2025-07-18T23:42:53.9841239-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "705160e7-b074-4da4-b21a-87ff94cb1b45", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-18T23:42:53.9841239-07:00", "WellPurposeType": { "WellPurposeTypeId": "8617ce6c-2758-42fb-b897-f10a0781e0a4", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1e4f17a2-39b4-4f86-a72f-f2af910bc362", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "08df0c4f-b12f-4acd-bf75-fa29883b92cd", "CreateDate": "2025-07-18T23:42:53.9841239-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:42:53.9841239-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }