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": "c0f4532d-170a-4862-aca8-af4e9fe43c09",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7ae83d5d-0f1f-4964-82d4-a624e6929d5a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5d901f87-9691-4c67-b66c-4f5ae78904a3",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "299ccd5f-e20f-48df-8990-3733604cd2b7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "36146999-3969-45c9-8303-16f1033497d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "97df618a-65f0-452b-a5f0-a4bf21b24744",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "85426e86-b18e-402e-b913-ba71cb73bd82",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"MeasurementValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c5a5c809-c28e-4ad6-ac9f-de6e6a376972",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"MeasurementValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d47102b-769f-486a-8ff6-91117ccc5060",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-02T10:32:42.2033235-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ca981d88-dcda-4633-83de-50549e1d4fa2",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "c0f4532d-170a-4862-aca8-af4e9fe43c09",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7ae83d5d-0f1f-4964-82d4-a624e6929d5a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5d901f87-9691-4c67-b66c-4f5ae78904a3",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "299ccd5f-e20f-48df-8990-3733604cd2b7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "36146999-3969-45c9-8303-16f1033497d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "97df618a-65f0-452b-a5f0-a4bf21b24744",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "85426e86-b18e-402e-b913-ba71cb73bd82",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"MeasurementValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c5a5c809-c28e-4ad6-ac9f-de6e6a376972",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"MeasurementValueNeededDate": "2025-12-02T10:32:42.2033235-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d47102b-769f-486a-8ff6-91117ccc5060",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-02T10:32:42.2033235-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ca981d88-dcda-4633-83de-50549e1d4fa2",
"CreateDate": "2025-12-02T10:32:42.2033235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-02T10:32:42.2033235-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}