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": "76ed189d-c171-45ba-b421-33954cd73941", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b47d919c-3c8f-44d5-ac4d-0b7cb68eb1fb", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "30cd148f-5362-474a-9e03-6183ab82befd", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "758cd06c-bfb0-4569-aaad-d3c14fbb7aef", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "15cff304-ac47-4562-94af-742118d3b0ae", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "60833a10-da4e-4624-98ea-0d69246b4046", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d8e7cfed-97e1-4428-a83a-9cd3c850079e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "MeasurementValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "SourceSystemId": "sample string 3", "CompanyId": "80633716-6810-4259-acf2-17efb2382589", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "MeasurementValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "80417b42-a4cf-4471-8b40-931dae0eb4df", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-25T07:09:31.9842271-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "34c3321b-8134-4372-99cf-6eb25d8d1979", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "76ed189d-c171-45ba-b421-33954cd73941", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b47d919c-3c8f-44d5-ac4d-0b7cb68eb1fb", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "30cd148f-5362-474a-9e03-6183ab82befd", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "758cd06c-bfb0-4569-aaad-d3c14fbb7aef", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "15cff304-ac47-4562-94af-742118d3b0ae", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "60833a10-da4e-4624-98ea-0d69246b4046", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d8e7cfed-97e1-4428-a83a-9cd3c850079e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "MeasurementValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "SourceSystemId": "sample string 3", "CompanyId": "80633716-6810-4259-acf2-17efb2382589", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "MeasurementValueNeededDate": "2025-06-25T07:09:31.9842271-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "80417b42-a4cf-4471-8b40-931dae0eb4df", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-25T07:09:31.9842271-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "34c3321b-8134-4372-99cf-6eb25d8d1979", "CreateDate": "2025-06-25T07:09:31.9842271-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T07:09:31.9842271-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }