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": "2932ebb7-11b5-4d26-82ed-a716619f3f14", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "1ee288c5-eb71-4705-aa60-37468bc2fc22", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "13dd23a6-38d2-4610-9ac9-fe53efb655ba", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "1996c0b7-cb08-47c0-80fc-499a05179ef0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d6709988-052d-4b79-8ba7-fe0f18ab0baa", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c061212b-a966-4b1a-a943-044af5f74206", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2a593459-4551-4aeb-b22b-8545f03277ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "MeasurementValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b7f6e1a8-9548-4eb3-8fe7-099019feee40", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "MeasurementValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "febb0de5-a79f-4264-8f1d-bc5146dea322", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-24T14:33:58.0082434-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4d960a17-9efe-41aa-af05-119fa3061837", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "2932ebb7-11b5-4d26-82ed-a716619f3f14", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "1ee288c5-eb71-4705-aa60-37468bc2fc22", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "13dd23a6-38d2-4610-9ac9-fe53efb655ba", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "1996c0b7-cb08-47c0-80fc-499a05179ef0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d6709988-052d-4b79-8ba7-fe0f18ab0baa", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c061212b-a966-4b1a-a943-044af5f74206", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2a593459-4551-4aeb-b22b-8545f03277ae", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "MeasurementValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b7f6e1a8-9548-4eb3-8fe7-099019feee40", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "MeasurementValueNeededDate": "2025-04-24T14:33:58.0082434-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "febb0de5-a79f-4264-8f1d-bc5146dea322", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-24T14:33:58.0082434-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4d960a17-9efe-41aa-af05-119fa3061837", "CreateDate": "2025-04-24T14:33:58.0082434-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:33:58.0082434-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }