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": "bf54f6d9-c0a6-4bc0-aa48-12560dc1246f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ef3a9e88-d5ba-4956-92ca-96c648e0351f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e59d491c-0532-4bcd-98ef-e928a685ed1e", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d5c524d2-4677-43d6-884d-5980a6d7b1c9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "1a910da4-5b13-44d4-932c-f53044854bd3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "MeasurementValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2e8af53a-0bf8-49c0-bb7e-14f70721ad1c", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cd39cdba-feaa-4be8-bf94-c7e40a66c2ad", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "StateType": { "StateTypeId": "4f9e59bf-3fac-4e4f-96c9-1d006e35154c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "47a76878-e6eb-4115-9398-4881b1d8606b", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "bb96c20c-2027-4086-accf-91f720d68931", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ef96383b-0005-4600-80c3-f9b2ae14b8b6", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "StatusType": { "StatusTypeId": "518f5b57-96e0-44e6-a609-a98c6ba72f5b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e77dc9d8-9b27-4ae9-9546-8cc4b9420f8a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ca843908-2d5f-4965-8498-15dda5bd3420", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ba1220c2-5e36-42e3-9788-3830841b9cd4", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "WellPurposeType": { "WellPurposeTypeId": "8a384392-73cf-4b73-aa4e-dc7bb08c7d2d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "298a072c-495a-4d3f-81b8-ae686607defb", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7c343d2f-bbc9-456e-aa8d-1f8f99246ef6", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "MeasurementValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "02ed93ba-f655-49e2-b01e-f4a53329b746", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-27T07:22:31.8315341-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "27a7b330-b7f8-4569-892e-975aad1828c2", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "bf54f6d9-c0a6-4bc0-aa48-12560dc1246f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ef3a9e88-d5ba-4956-92ca-96c648e0351f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e59d491c-0532-4bcd-98ef-e928a685ed1e", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d5c524d2-4677-43d6-884d-5980a6d7b1c9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "1a910da4-5b13-44d4-932c-f53044854bd3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "MeasurementValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2e8af53a-0bf8-49c0-bb7e-14f70721ad1c", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cd39cdba-feaa-4be8-bf94-c7e40a66c2ad", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "StateType": { "StateTypeId": "4f9e59bf-3fac-4e4f-96c9-1d006e35154c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "47a76878-e6eb-4115-9398-4881b1d8606b", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "bb96c20c-2027-4086-accf-91f720d68931", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ef96383b-0005-4600-80c3-f9b2ae14b8b6", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "StatusType": { "StatusTypeId": "518f5b57-96e0-44e6-a609-a98c6ba72f5b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "916d721c-5529-4d12-9216-71cefd065467", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bbe1fcb7-fd3b-4aee-9f15-636c4952267a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e77dc9d8-9b27-4ae9-9546-8cc4b9420f8a", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ca843908-2d5f-4965-8498-15dda5bd3420", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ba1220c2-5e36-42e3-9788-3830841b9cd4", "EffectiveDate": "2025-06-27T07:22:31.8315341-07:00", "WellPurposeType": { "WellPurposeTypeId": "8a384392-73cf-4b73-aa4e-dc7bb08c7d2d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "298a072c-495a-4d3f-81b8-ae686607defb", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7c343d2f-bbc9-456e-aa8d-1f8f99246ef6", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "MeasurementValueNeededDate": "2025-06-27T07:22:31.8315341-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "02ed93ba-f655-49e2-b01e-f4a53329b746", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-27T07:22:31.8315341-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "27a7b330-b7f8-4569-892e-975aad1828c2", "CreateDate": "2025-06-27T07:22:31.8315341-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:22:31.8315341-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }