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": "c2989c21-765f-47c8-82cd-91566987598a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "34717c82-a286-4139-8bdd-d898cd74ccd4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b4077b2c-35b6-403b-9742-fca21276b83b", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a808d763-b8ad-41ab-aac9-7871f5ef50d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ab18524e-224d-4e8e-aa1c-3b9553fa2f2a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "76bad8bd-3c42-4101-97c6-a5ee714e72fd", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "32f9f7ba-db6e-4fd8-aa86-35c1b20c2646", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "MeasurementValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "SourceSystemId": "sample string 3", "CompanyId": "11ebd192-26d4-4b2b-a75e-28082853916f", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "MeasurementValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dd492f3e-2bc3-4abc-b1f8-e08d23ed98b2", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T07:56:33.7299448-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "0ba01c6d-94dd-4bd5-9136-b2f889ef40fc", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "c2989c21-765f-47c8-82cd-91566987598a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "34717c82-a286-4139-8bdd-d898cd74ccd4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b4077b2c-35b6-403b-9742-fca21276b83b", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a808d763-b8ad-41ab-aac9-7871f5ef50d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ab18524e-224d-4e8e-aa1c-3b9553fa2f2a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "76bad8bd-3c42-4101-97c6-a5ee714e72fd", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "32f9f7ba-db6e-4fd8-aa86-35c1b20c2646", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "MeasurementValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "SourceSystemId": "sample string 3", "CompanyId": "11ebd192-26d4-4b2b-a75e-28082853916f", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "MeasurementValueNeededDate": "2025-02-05T07:56:33.7299448-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dd492f3e-2bc3-4abc-b1f8-e08d23ed98b2", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T07:56:33.7299448-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "0ba01c6d-94dd-4bd5-9136-b2f889ef40fc", "CreateDate": "2025-02-05T07:56:33.7299448-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:56:33.7299448-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }