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": "c67b7b8a-39cd-4382-b63e-34cbec47fdd2", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "fe93e068-7ad6-415d-bb18-6dece6884b1e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "fb2fefcc-9601-4de7-a809-aeb7953cee6e", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "9f47af73-72a5-49aa-a1a8-8fdc7cf5aa4f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ebb02ab6-a29c-42c4-ae7a-70126e91df1e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6ee54d4d-b4e1-46f6-9a3c-781e5e038606", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "101d9678-e2c2-4531-b52c-26c22d3d9778", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fbada524-f5c2-4f67-adc4-ff7d718c2466", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d47dde5f-35f3-453f-9059-76eb247dfaa8", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-03T15:29:35.4203799-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4f555f3c-216d-4ae1-a0d1-ba394e572e81", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "c67b7b8a-39cd-4382-b63e-34cbec47fdd2", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "fe93e068-7ad6-415d-bb18-6dece6884b1e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "fb2fefcc-9601-4de7-a809-aeb7953cee6e", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "9f47af73-72a5-49aa-a1a8-8fdc7cf5aa4f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ebb02ab6-a29c-42c4-ae7a-70126e91df1e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6ee54d4d-b4e1-46f6-9a3c-781e5e038606", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "101d9678-e2c2-4531-b52c-26c22d3d9778", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fbada524-f5c2-4f67-adc4-ff7d718c2466", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "MeasurementValueNeededDate": "2025-04-03T15:29:35.4203799-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d47dde5f-35f3-453f-9059-76eb247dfaa8", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-04-03T15:29:35.4203799-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4f555f3c-216d-4ae1-a0d1-ba394e572e81", "CreateDate": "2025-04-03T15:29:35.4203799-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:29:35.4203799-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }