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": "a9ef20a4-646b-4bc7-a643-b7d90ccd7c68",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "dc77c586-d8dd-49fd-9476-85d506697920",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "faccd0a0-b227-4b38-9c7f-ae0a0f5d031e",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "99127215-7923-4ebb-9a56-594ba09f7a9f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "96017c4c-c69a-4862-b2ca-1f6d0b1acddf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fce04cd1-ee09-4268-97ef-e425cdd8df46",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "f8bfa27f-d8b3-4287-b33a-b17d8136a7b8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"MeasurementValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "81a21ccc-146c-4582-a841-625e8066cee5",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"MeasurementValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "34483aa8-366d-4ee3-a1e8-e4331ccd1160",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-23T13:33:58.320344-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "97105b5e-4b00-4633-81d1-aece99ffeca4",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "a9ef20a4-646b-4bc7-a643-b7d90ccd7c68",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "dc77c586-d8dd-49fd-9476-85d506697920",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "faccd0a0-b227-4b38-9c7f-ae0a0f5d031e",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "99127215-7923-4ebb-9a56-594ba09f7a9f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "96017c4c-c69a-4862-b2ca-1f6d0b1acddf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fce04cd1-ee09-4268-97ef-e425cdd8df46",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "f8bfa27f-d8b3-4287-b33a-b17d8136a7b8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"MeasurementValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "81a21ccc-146c-4582-a841-625e8066cee5",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"MeasurementValueNeededDate": "2026-11-23T13:33:58.320344-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "34483aa8-366d-4ee3-a1e8-e4331ccd1160",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-23T13:33:58.320344-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "97105b5e-4b00-4633-81d1-aece99ffeca4",
"CreateDate": "2026-11-23T13:33:58.320344-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-23T13:33:58.320344-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}