GET Attachments/ByUploadDate?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 upload date of the attachments to retrieve |
date |
None. |
endDate |
Ending upload 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": "a250dba8-b961-40dd-acc1-e0572ba4054a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "9743cd7c-c128-4532-a411-c7d84aeea55e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e7186b8a-588b-42d0-b901-06a344f1659a", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "65de24b3-927e-4bbe-859a-5c722fd6ed6f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "25f2a2f0-891c-4bce-90f1-941605a4d5a1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6de8756e-ee18-40d3-83af-4352dc3808b9", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d3fb7696-79fe-4ab3-8447-524d00ed1760", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "StateType": { "StateTypeId": "495dca19-cd2e-4258-b7bf-4d55a259cd48", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d356f497-a9f8-44c7-be9b-7153f1a70db7", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ca99a221-a886-4f72-9312-20e43f421f4a", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9c0bc573-b6e7-450b-bc63-414d974f00b7", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "StatusType": { "StatusTypeId": "ff0fe03e-cdc4-49e5-9d90-7ef504239043", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6e438dc4-35dc-47c8-830b-115fb905e66b", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a218cc5a-cdee-48e0-9142-79c66e1c4c92", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0b652240-a277-4a32-8d9a-bafdcad2fa9f", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "WellPurposeType": { "WellPurposeTypeId": "fa623b32-d871-4374-a945-408b984298aa", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4bdbdacd-6fed-4b17-af35-1a9a1272b661", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bc9761d2-0ffd-4772-8f26-05ef93d61005", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9656f111-c2e2-421d-8681-f86600e66d3b", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-08-29T17:22:12.5522685-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "245b65d0-5ba6-48d5-8253-9c66d563c5aa", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "a250dba8-b961-40dd-acc1-e0572ba4054a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "9743cd7c-c128-4532-a411-c7d84aeea55e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e7186b8a-588b-42d0-b901-06a344f1659a", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "65de24b3-927e-4bbe-859a-5c722fd6ed6f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "25f2a2f0-891c-4bce-90f1-941605a4d5a1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6de8756e-ee18-40d3-83af-4352dc3808b9", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d3fb7696-79fe-4ab3-8447-524d00ed1760", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "StateType": { "StateTypeId": "495dca19-cd2e-4258-b7bf-4d55a259cd48", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d356f497-a9f8-44c7-be9b-7153f1a70db7", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ca99a221-a886-4f72-9312-20e43f421f4a", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9c0bc573-b6e7-450b-bc63-414d974f00b7", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "StatusType": { "StatusTypeId": "ff0fe03e-cdc4-49e5-9d90-7ef504239043", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "caedb0dc-ebfd-41d2-9a02-f9fa8dda0a01", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cdc6b0-182c-40bf-a20c-ebf11b6834cc", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6e438dc4-35dc-47c8-830b-115fb905e66b", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a218cc5a-cdee-48e0-9142-79c66e1c4c92", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0b652240-a277-4a32-8d9a-bafdcad2fa9f", "EffectiveDate": "2025-08-29T17:22:12.5522685-07:00", "WellPurposeType": { "WellPurposeTypeId": "fa623b32-d871-4374-a945-408b984298aa", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4bdbdacd-6fed-4b17-af35-1a9a1272b661", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bc9761d2-0ffd-4772-8f26-05ef93d61005", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.5522685-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9656f111-c2e2-421d-8681-f86600e66d3b", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-08-29T17:22:12.5522685-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "245b65d0-5ba6-48d5-8253-9c66d563c5aa", "CreateDate": "2025-08-29T17:22:12.5522685-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.5522685-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }