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": "941027b2-257a-4587-9431-51b71ec28080", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e5240eea-32e6-437b-a52e-87f03ed2999a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "5cc8e85c-bcad-4c47-b5eb-4c4447e7e150", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "95018cf6-1922-4a3c-9c96-c90ab48e2419", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c767c295-f2a0-4001-a1c6-95b555b34005", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "87155f60-c2bc-478f-b475-168a55468d85", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0f34c27a-7499-4b99-b53b-b87ed2b4ef1f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "MeasurementValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d3488fd5-5265-43aa-a143-311b64964503", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "MeasurementValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a179e0ee-57e2-4167-937b-adfda009b26c", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-01T18:31:21.6117036-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "e254ce63-6a3d-47ab-b6e9-64db0d7d05af", "CreateDate": "2025-07-01T18:31:21.6117036-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:31:21.6117036-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "941027b2-257a-4587-9431-51b71ec28080", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e5240eea-32e6-437b-a52e-87f03ed2999a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "5cc8e85c-bcad-4c47-b5eb-4c4447e7e150", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "95018cf6-1922-4a3c-9c96-c90ab48e2419", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c767c295-f2a0-4001-a1c6-95b555b34005", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "87155f60-c2bc-478f-b475-168a55468d85", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0f34c27a-7499-4b99-b53b-b87ed2b4ef1f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "MeasurementValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d3488fd5-5265-43aa-a143-311b64964503", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "MeasurementValueNeededDate": "2025-07-01T18:31:21.596076-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a179e0ee-57e2-4167-937b-adfda009b26c", "CreateDate": "2025-07-01T18:31:21.596076-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-01T18:31:21.596076-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-01T18:31:21.6117036-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "e254ce63-6a3d-47ab-b6e9-64db0d7d05af", "CreateDate": "2025-07-01T18:31:21.6117036-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-01T18:31:21.6117036-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }