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": "c04fe2a2-ec6f-4680-a7cd-2623e9725841", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "f95d7421-baf5-4f83-acab-7b96b676f1c6", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "0f725baa-a128-4625-83c6-8a38c5728934", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e38be9b4-a977-4e36-b5b6-cdc2e7358768", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "28fc7613-9519-4678-be71-4570aa3d7e5e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4694be6d-c37c-45f9-a683-2afbc85730a6", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a1599225-9d7f-47fe-8bb1-d9300d5b9211", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "MeasurementValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "SourceSystemId": "sample string 3", "CompanyId": "53ee2a5b-3d12-40a0-9914-a35f4b0e834c", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "MeasurementValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "afe87477-5bc9-480c-a838-db2ac07ac7e0", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-30T23:10:02.6876837-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "90af8146-8342-4036-9a7e-9046b7723b51", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "c04fe2a2-ec6f-4680-a7cd-2623e9725841", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "f95d7421-baf5-4f83-acab-7b96b676f1c6", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "0f725baa-a128-4625-83c6-8a38c5728934", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e38be9b4-a977-4e36-b5b6-cdc2e7358768", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "28fc7613-9519-4678-be71-4570aa3d7e5e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4694be6d-c37c-45f9-a683-2afbc85730a6", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a1599225-9d7f-47fe-8bb1-d9300d5b9211", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "MeasurementValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "SourceSystemId": "sample string 3", "CompanyId": "53ee2a5b-3d12-40a0-9914-a35f4b0e834c", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "MeasurementValueNeededDate": "2025-06-30T23:10:02.6876837-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "afe87477-5bc9-480c-a838-db2ac07ac7e0", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-30T23:10:02.6876837-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "90af8146-8342-4036-9a7e-9046b7723b51", "CreateDate": "2025-06-30T23:10:02.6876837-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:10:02.6876837-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }