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": "97b15ef3-82f1-41a3-b036-ff01781921b7", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d777178d-36a7-4f72-a22d-d99d132f7964", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "85b8f745-4dcc-4a07-bbb6-147e5ef34728", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "04fb9aa6-0091-4d64-b1c9-07cde8d47ec0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3a4867b9-2ef8-4847-bc5f-217e5c4b55c0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ae686ea6-aa86-434c-8543-4a67b2252141", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "24266353-55d0-4a37-8609-a1a5a812d58c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "MeasurementValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4e9e09f2-007c-4d55-87f4-18a85f41e108", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "MeasurementValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e5e3fc2b-f581-4780-ba60-e8bf8b44043d", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T07:52:20.3294434-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "c0f28861-8c41-4eae-9fca-b0927727e2d0", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "97b15ef3-82f1-41a3-b036-ff01781921b7", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d777178d-36a7-4f72-a22d-d99d132f7964", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "85b8f745-4dcc-4a07-bbb6-147e5ef34728", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "04fb9aa6-0091-4d64-b1c9-07cde8d47ec0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3a4867b9-2ef8-4847-bc5f-217e5c4b55c0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ae686ea6-aa86-434c-8543-4a67b2252141", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "24266353-55d0-4a37-8609-a1a5a812d58c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "MeasurementValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4e9e09f2-007c-4d55-87f4-18a85f41e108", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "MeasurementValueNeededDate": "2025-02-05T07:52:20.3294434-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e5e3fc2b-f581-4780-ba60-e8bf8b44043d", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-02-05T07:52:20.3294434-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "c0f28861-8c41-4eae-9fca-b0927727e2d0", "CreateDate": "2025-02-05T07:52:20.3294434-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:52:20.3294434-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }