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": "30392c94-0ec4-409a-ae5a-04300c88526a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "9e1b8b9c-8c46-430c-a375-b42287eff25e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "2a954075-e696-4f7a-b17f-1e61be85a59d", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2c18fe1b-8821-4d5e-b8e7-a243ec271bff", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e8f39616-f70e-489a-9e19-cc5ffc3f939c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c523f047-ef55-4d6e-be32-a01823f338f8", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "70db2e22-9221-49e9-948e-3a580dfbe755", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "SourceSystemId": "sample string 3", "CompanyId": "22953549-0d0c-47a9-8ab1-575e2b067458", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ecb85b3b-24c0-4d12-b78e-673e9d6694d3", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T15:21:26.0527844-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "a57fb07e-bfc4-45ef-ab4c-19b0434d7a09", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "30392c94-0ec4-409a-ae5a-04300c88526a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "9e1b8b9c-8c46-430c-a375-b42287eff25e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "2a954075-e696-4f7a-b17f-1e61be85a59d", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2c18fe1b-8821-4d5e-b8e7-a243ec271bff", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e8f39616-f70e-489a-9e19-cc5ffc3f939c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c523f047-ef55-4d6e-be32-a01823f338f8", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "70db2e22-9221-49e9-948e-3a580dfbe755", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "SourceSystemId": "sample string 3", "CompanyId": "22953549-0d0c-47a9-8ab1-575e2b067458", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "MeasurementValueNeededDate": "2024-10-10T15:21:26.0527844-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ecb85b3b-24c0-4d12-b78e-673e9d6694d3", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-10-10T15:21:26.0527844-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "a57fb07e-bfc4-45ef-ab4c-19b0434d7a09", "CreateDate": "2024-10-10T15:21:26.0527844-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:26.0527844-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }