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": "4a5ed7c6-d58d-4dda-89da-a6dac9594e6d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ebe9f841-9543-4db6-be57-9cc9a00b9f38",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f87d10ae-eebd-4f6c-8cd8-56dac9bf8647",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f602d36c-6f8f-42f1-ae79-9b54ba782220",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9aec032b-3db0-4c15-9532-bc6bcc3fe480",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "db79ff6a-db5d-4a49-8b4c-eeed062bbb6f",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "18588499-78a5-4ef3-8b5a-8a8f529a40df",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"MeasurementValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3f7c7dfa-49b5-4347-99e8-0a835e77e5c4",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"MeasurementValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3aa7ddf7-0370-4ff7-a933-5918c1a3f7b2",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-29T08:00:36.1857743-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c7a2dd55-51ab-4def-a589-92d297b5ab3f",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "4a5ed7c6-d58d-4dda-89da-a6dac9594e6d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ebe9f841-9543-4db6-be57-9cc9a00b9f38",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f87d10ae-eebd-4f6c-8cd8-56dac9bf8647",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f602d36c-6f8f-42f1-ae79-9b54ba782220",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9aec032b-3db0-4c15-9532-bc6bcc3fe480",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "db79ff6a-db5d-4a49-8b4c-eeed062bbb6f",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "18588499-78a5-4ef3-8b5a-8a8f529a40df",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"MeasurementValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3f7c7dfa-49b5-4347-99e8-0a835e77e5c4",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"MeasurementValueNeededDate": "2025-11-29T08:00:36.1857743-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3aa7ddf7-0370-4ff7-a933-5918c1a3f7b2",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-29T08:00:36.1857743-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c7a2dd55-51ab-4def-a589-92d297b5ab3f",
"CreateDate": "2025-11-29T08:00:36.1857743-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-29T08:00:36.1857743-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}