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": "c06692c0-b2f5-4a8b-b5ab-b5dcbcb85940", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7fb6dfc3-721c-4926-ba0d-f67fcd58416d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "d963cfeb-6b4a-49ec-9329-a9a2231ad77f", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d85f3d5a-a194-4610-8aa3-e62aecccbf00", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "02153923-6184-43e3-9a10-3f82f89357b7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4a1cdb5a-01b6-44d7-8047-36ca865483d5", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f3604d36-d7b4-420c-815a-fb91b2dafa2a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "MeasurementValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "SourceSystemId": "sample string 3", "CompanyId": "68f55ebe-f30f-44f9-b2df-e26629fd01c0", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "MeasurementValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "97b66df3-a7d0-42cd-9d37-c96affc505a0", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-08T22:09:47.4859115-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "100b0ccf-ab53-40da-a13e-0eeeef998030", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "c06692c0-b2f5-4a8b-b5ab-b5dcbcb85940", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7fb6dfc3-721c-4926-ba0d-f67fcd58416d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "d963cfeb-6b4a-49ec-9329-a9a2231ad77f", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d85f3d5a-a194-4610-8aa3-e62aecccbf00", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "02153923-6184-43e3-9a10-3f82f89357b7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4a1cdb5a-01b6-44d7-8047-36ca865483d5", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f3604d36-d7b4-420c-815a-fb91b2dafa2a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "MeasurementValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "SourceSystemId": "sample string 3", "CompanyId": "68f55ebe-f30f-44f9-b2df-e26629fd01c0", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "MeasurementValueNeededDate": "2025-05-08T22:09:47.4859115-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "97b66df3-a7d0-42cd-9d37-c96affc505a0", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-08T22:09:47.4859115-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "100b0ccf-ab53-40da-a13e-0eeeef998030", "CreateDate": "2025-05-08T22:09:47.4859115-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T22:09:47.4859115-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }