GET Attachments/ByLastModifiedDate?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 last modified date of the attachments to retrieve |
date |
None. |
endDate |
Ending last modified 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": "819cae7d-4c81-489f-91e5-f79f449b16b0", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "2893efa1-4f86-46a3-8b24-123bc8863d5d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "73f84b9d-7743-4ea5-affb-25aa5f7d58e9", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "6d26f838-fc87-4ea5-a7cd-e5b1afc39443", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d3079808-0ad2-4795-864d-cd2f3ace0912", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d92ced79-e4cb-40e5-95ba-caf33819f8ca", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "84500c5d-8566-464c-aa7a-c23808ce1384", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "MeasurementValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "SourceSystemId": "sample string 3", "CompanyId": "60d53ce2-9103-4cac-a8cd-6446b556c877", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "MeasurementValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c6988a46-925e-42c8-9b6e-b51fa78fe74e", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T09:33:25.3143575-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "0a426972-22e0-4067-b651-59fb252bc1b0", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "819cae7d-4c81-489f-91e5-f79f449b16b0", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "2893efa1-4f86-46a3-8b24-123bc8863d5d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "73f84b9d-7743-4ea5-affb-25aa5f7d58e9", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "6d26f838-fc87-4ea5-a7cd-e5b1afc39443", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d3079808-0ad2-4795-864d-cd2f3ace0912", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d92ced79-e4cb-40e5-95ba-caf33819f8ca", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "84500c5d-8566-464c-aa7a-c23808ce1384", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "MeasurementValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "SourceSystemId": "sample string 3", "CompanyId": "60d53ce2-9103-4cac-a8cd-6446b556c877", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "MeasurementValueNeededDate": "2024-12-08T09:33:25.3143575-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c6988a46-925e-42c8-9b6e-b51fa78fe74e", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T09:33:25.3143575-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "0a426972-22e0-4067-b651-59fb252bc1b0", "CreateDate": "2024-12-08T09:33:25.3143575-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T09:33:25.3143575-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }