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": "9db3c3ed-c8db-435f-8216-2a8dfd2ebafb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "11b13736-1e8a-4353-aca1-fc1c5bf018cd", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b5c24e82-34f7-42eb-9d87-c12bd9c9e38c", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a13c79db-b897-41ce-b03a-99b685a73bf8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a613640b-510b-435a-9acb-4f51d6c31201", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c007b4a5-118d-41b8-b074-90e2ad5fb639", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e91ac3bf-c95a-488b-9dd2-141cf94a82c0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "MeasurementValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "049979f1-24ac-433e-9c0f-85fa78be0ba0", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "MeasurementValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6c8cea2b-7567-4453-a8ed-2c5ab153b6bf", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-22T23:10:32.2705216-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "99fe22d2-63cd-481c-a22d-5f97ed5298ff", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "9db3c3ed-c8db-435f-8216-2a8dfd2ebafb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "11b13736-1e8a-4353-aca1-fc1c5bf018cd", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b5c24e82-34f7-42eb-9d87-c12bd9c9e38c", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a13c79db-b897-41ce-b03a-99b685a73bf8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a613640b-510b-435a-9acb-4f51d6c31201", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c007b4a5-118d-41b8-b074-90e2ad5fb639", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e91ac3bf-c95a-488b-9dd2-141cf94a82c0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "MeasurementValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "049979f1-24ac-433e-9c0f-85fa78be0ba0", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "MeasurementValueNeededDate": "2025-06-22T23:10:32.2705216-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6c8cea2b-7567-4453-a8ed-2c5ab153b6bf", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-22T23:10:32.2705216-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "99fe22d2-63cd-481c-a22d-5f97ed5298ff", "CreateDate": "2025-06-22T23:10:32.2705216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T23:10:32.2705216-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }