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": "5976bba2-f09c-4651-a537-ba7b62574d96", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "f7fbad8a-6366-444b-a6ba-6d72e5cc8ff4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f17eb4f9-f4c9-464d-b08f-5b246ba7ca87", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2bc8b274-0679-4df5-818c-b31a2e381db4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4f7cd8c7-634d-4979-bc6c-143a5647a0c6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0f1b86da-17ce-4287-9c3a-5338c66ccc6b", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ac8d7e19-650b-4128-8615-d90305ccaf38", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "MeasurementValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fc733d99-bc38-404c-a8b4-7ceafb065561", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "MeasurementValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "601edb4f-6c9b-480c-870c-53808c754ec9", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-06T14:44:01.700791-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "55232574-0808-4f6c-9ffe-421b40da59e2", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "5976bba2-f09c-4651-a537-ba7b62574d96", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "f7fbad8a-6366-444b-a6ba-6d72e5cc8ff4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "f17eb4f9-f4c9-464d-b08f-5b246ba7ca87", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2bc8b274-0679-4df5-818c-b31a2e381db4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4f7cd8c7-634d-4979-bc6c-143a5647a0c6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0f1b86da-17ce-4287-9c3a-5338c66ccc6b", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ac8d7e19-650b-4128-8615-d90305ccaf38", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "MeasurementValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fc733d99-bc38-404c-a8b4-7ceafb065561", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "MeasurementValueNeededDate": "2025-07-06T14:44:01.700791-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "601edb4f-6c9b-480c-870c-53808c754ec9", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-06T14:44:01.700791-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "55232574-0808-4f6c-9ffe-421b40da59e2", "CreateDate": "2025-07-06T14:44:01.700791-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-06T14:44:01.700791-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }