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": "32cc9e17-7827-4caf-aca0-5ccabda0be82", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ef010cb4-2740-43ee-b954-575e3275d736", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b681e485-9f8e-4546-96e8-239557911df4", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "16cbc856-7a96-497a-97b8-d301ee6ddfd9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "663b5b73-f679-4836-9aa8-bd9723231dba", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c3bb1ccc-8ec7-4ff6-8060-ac842f0633d5", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4609201f-567c-45e9-bcb1-eb2909cab95b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "MeasurementValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "SourceSystemId": "sample string 3", "CompanyId": "11da90c3-7900-4e3c-ba8a-e66fb5cd017e", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "MeasurementValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2e6f9484-9135-4fa6-bf39-b826ee8d8508", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T05:55:11.6581081-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ae8256d4-ddd3-49de-8e9c-dc718f2a859f", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "32cc9e17-7827-4caf-aca0-5ccabda0be82", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ef010cb4-2740-43ee-b954-575e3275d736", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b681e485-9f8e-4546-96e8-239557911df4", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "16cbc856-7a96-497a-97b8-d301ee6ddfd9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "663b5b73-f679-4836-9aa8-bd9723231dba", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c3bb1ccc-8ec7-4ff6-8060-ac842f0633d5", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4609201f-567c-45e9-bcb1-eb2909cab95b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "MeasurementValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "SourceSystemId": "sample string 3", "CompanyId": "11da90c3-7900-4e3c-ba8a-e66fb5cd017e", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "MeasurementValueNeededDate": "2025-02-05T05:55:11.6581081-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2e6f9484-9135-4fa6-bf39-b826ee8d8508", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T05:55:11.6581081-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ae8256d4-ddd3-49de-8e9c-dc718f2a859f", "CreateDate": "2025-02-05T05:55:11.6581081-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T05:55:11.6581081-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }