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": "76df6dc3-6063-4651-a7bc-cf055d9b1652", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "95d0ff14-f2d1-4176-9515-ac6a1c01a92c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "66c15f95-5e0b-4659-8530-f066ed0469a6", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e1c6dfad-785e-41d7-8d65-544dd62abd96", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5b5807f4-c2d7-410d-8fd9-251249866ea3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9fc91a1-a341-4f17-a21d-475311a7a805", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4fbea119-1396-4cac-aebf-43b2268cb2fa", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b10e1ca-9d02-40d7-a7aa-70fc2937b0fa", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ef26794e-1833-4a31-9838-75cbb879029a", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T15:21:23.9278525-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "94aa9207-65c1-4131-aef1-80a89960f124", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "76df6dc3-6063-4651-a7bc-cf055d9b1652", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "95d0ff14-f2d1-4176-9515-ac6a1c01a92c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "66c15f95-5e0b-4659-8530-f066ed0469a6", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "e1c6dfad-785e-41d7-8d65-544dd62abd96", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5b5807f4-c2d7-410d-8fd9-251249866ea3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9fc91a1-a341-4f17-a21d-475311a7a805", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4fbea119-1396-4cac-aebf-43b2268cb2fa", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b10e1ca-9d02-40d7-a7aa-70fc2937b0fa", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:23.9278525-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ef26794e-1833-4a31-9838-75cbb879029a", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T15:21:23.9278525-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "94aa9207-65c1-4131-aef1-80a89960f124", "CreateDate": "2024-10-10T15:21:23.9278525-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:23.9278525-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }