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": "c40cad21-2114-4099-850a-a28185935362",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2243f81f-a129-4679-9eb6-acb1340142fd",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0e410d49-d845-4732-99fe-918dc10ec085",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4935035d-8d5f-4c7c-a923-bb67cf5b4da3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "85f3fe50-7ee4-4393-82c6-4542e5337ac4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c54fd3e3-3eea-4622-bd91-10b45bc7be4c",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "53fb1ea0-2d4c-4872-96e6-3c9fd88daaf6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b97c1bd8-b1a7-4734-9c37-0f468967fe75",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dcce346f-a160-4e8b-8256-92ee75216341",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-05T02:39:11.2172708-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ad2523fe-00bd-4af8-ae33-0d93119605bf",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "c40cad21-2114-4099-850a-a28185935362",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2243f81f-a129-4679-9eb6-acb1340142fd",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0e410d49-d845-4732-99fe-918dc10ec085",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4935035d-8d5f-4c7c-a923-bb67cf5b4da3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "85f3fe50-7ee4-4393-82c6-4542e5337ac4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c54fd3e3-3eea-4622-bd91-10b45bc7be4c",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "53fb1ea0-2d4c-4872-96e6-3c9fd88daaf6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b97c1bd8-b1a7-4734-9c37-0f468967fe75",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:39:11.2172708-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dcce346f-a160-4e8b-8256-92ee75216341",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-05T02:39:11.2172708-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ad2523fe-00bd-4af8-ae33-0d93119605bf",
"CreateDate": "2025-11-05T02:39:11.2172708-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:39:11.2172708-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}