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": "04973015-d666-4e5b-be12-dab22ffee054",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "84996fba-24bb-41d1-a00f-4da33114c090",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3e000887-5b8c-4c03-8208-38157bfc2954",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "08529431-534d-4e32-a937-75cf835ad6c4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "50bd752a-837d-46d0-8d3b-88880d2c5ce9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "690d33ea-dddf-4ef3-8044-ac01dc22b705",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "97dab037-e0f3-4d88-842e-5ee400dea585",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"MeasurementValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "12b4ee17-aee1-4531-9aea-47934f2d6b77",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"MeasurementValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ea4133a5-817d-4a1b-a5a6-a720b3f6e0cc",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-18T09:22:11.9011391-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f9aa25fb-ab42-4bdc-ab85-0ef7f3081c8e",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "04973015-d666-4e5b-be12-dab22ffee054",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "84996fba-24bb-41d1-a00f-4da33114c090",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3e000887-5b8c-4c03-8208-38157bfc2954",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "08529431-534d-4e32-a937-75cf835ad6c4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "50bd752a-837d-46d0-8d3b-88880d2c5ce9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "690d33ea-dddf-4ef3-8044-ac01dc22b705",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "97dab037-e0f3-4d88-842e-5ee400dea585",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"MeasurementValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "12b4ee17-aee1-4531-9aea-47934f2d6b77",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"MeasurementValueNeededDate": "2025-11-18T09:22:11.9011391-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ea4133a5-817d-4a1b-a5a6-a720b3f6e0cc",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-18T09:22:11.9011391-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f9aa25fb-ab42-4bdc-ab85-0ef7f3081c8e",
"CreateDate": "2025-11-18T09:22:11.9011391-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-18T09:22:11.9011391-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}