GET Attachments/ByLastModifiedDate?assetId={assetId}&beginDate={beginDate}&endDate={endDate}&includeContent={includeContent}
Retrieves attachments 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. |
beginDate |
Beginning last modified date of the attachments to retrieve |
date |
None. |
endDate |
Ending last modified date of the attachments to retrieve |
date |
None. |
includeContent |
Include the file contents of the attachments |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success, a list of attachments.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Attachment |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "AttachmentId": "dd6a7031-75c0-4e9b-aff6-6680ece3fcac", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d0bc4572-b019-41d9-a7cb-ff986d17d9e7", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "727ca362-4430-44bb-96f8-0f56084fe5c8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e95cd8ed-c9da-4e4d-899f-f13d1379e872", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d98feec7-f6aa-4bc1-acdd-40d12984db02", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c0aa3fa3-4d56-438b-aed4-d826355bdb91", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6471f618-01bc-45b0-ad07-af19e6ab783e", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "StateType": { "StateTypeId": "05e94db8-e1f4-4ed7-9f77-014ecc2d24f7", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b656aea4-1315-40c0-a8fb-4841d57a0564", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b6bd5195-bd1e-45f4-bdec-56b94ba19c2e", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3c079d8a-39a9-41eb-b7e4-fd1d5f8c4be3", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "StatusType": { "StatusTypeId": "51910bc0-e362-4d14-9013-3720731f05d4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "98af21fa-ccaf-478c-95f3-d78e75817bc7", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "79f77af2-85fa-4f1e-a0fe-c4e6155016d0", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ec449dc5-1a48-4d2b-9551-1643b6b80e43", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "WellPurposeType": { "WellPurposeTypeId": "d876a933-0e17-4ff5-bf73-3c3b39f462c1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1afe04e4-935d-48dc-8cc7-037e36123bc6", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b0cd335c-d342-4e7e-8707-7385e926306a", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7ff1b532-bd7b-4a52-b7b9-4b275aea7a0b", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-17T04:16:37.5979046-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9537ab25-ebce-4b5f-80c3-c097524ae833", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "dd6a7031-75c0-4e9b-aff6-6680ece3fcac", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d0bc4572-b019-41d9-a7cb-ff986d17d9e7", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "727ca362-4430-44bb-96f8-0f56084fe5c8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e95cd8ed-c9da-4e4d-899f-f13d1379e872", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d98feec7-f6aa-4bc1-acdd-40d12984db02", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c0aa3fa3-4d56-438b-aed4-d826355bdb91", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6471f618-01bc-45b0-ad07-af19e6ab783e", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "StateType": { "StateTypeId": "05e94db8-e1f4-4ed7-9f77-014ecc2d24f7", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b656aea4-1315-40c0-a8fb-4841d57a0564", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b6bd5195-bd1e-45f4-bdec-56b94ba19c2e", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3c079d8a-39a9-41eb-b7e4-fd1d5f8c4be3", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "StatusType": { "StatusTypeId": "51910bc0-e362-4d14-9013-3720731f05d4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f36845ec-8068-457b-85f1-17c9cc0c06ee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "652e7981-82e7-44ec-8a2e-15da44bafcb8", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "98af21fa-ccaf-478c-95f3-d78e75817bc7", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "79f77af2-85fa-4f1e-a0fe-c4e6155016d0", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ec449dc5-1a48-4d2b-9551-1643b6b80e43", "EffectiveDate": "2025-04-17T04:16:37.5979046-07:00", "WellPurposeType": { "WellPurposeTypeId": "d876a933-0e17-4ff5-bf73-3c3b39f462c1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1afe04e4-935d-48dc-8cc7-037e36123bc6", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b0cd335c-d342-4e7e-8707-7385e926306a", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "MeasurementValueNeededDate": "2025-04-17T04:16:37.5979046-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7ff1b532-bd7b-4a52-b7b9-4b275aea7a0b", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-17T04:16:37.5979046-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9537ab25-ebce-4b5f-80c3-c097524ae833", "CreateDate": "2025-04-17T04:16:37.5979046-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:16:37.5979046-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }