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": "ffd8b383-5882-4620-826b-8c5a9bb348a0", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "6d8cc0a6-bff1-4173-92a6-f6965e890705", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "67bb998b-3f38-452d-a270-099d774edecc", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "01e9ae06-3bd1-4624-a700-a9cb0260104e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9f610fa7-4dba-446b-86c0-da243ebb4010", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "21872d19-5e28-4696-94df-721b4e6a000e", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3846aee7-335d-472f-8ef9-59415da1dbc9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "MeasurementValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8c5ce388-7217-47ca-ac12-670fd25ce128", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "MeasurementValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5ed661e4-be14-4f10-b103-0788fefde7dd", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-05-02T01:28:45.0031558-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "b4e36bc0-7471-4346-b03b-d244fc782278", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "ffd8b383-5882-4620-826b-8c5a9bb348a0", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "6d8cc0a6-bff1-4173-92a6-f6965e890705", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "67bb998b-3f38-452d-a270-099d774edecc", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "01e9ae06-3bd1-4624-a700-a9cb0260104e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9f610fa7-4dba-446b-86c0-da243ebb4010", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "21872d19-5e28-4696-94df-721b4e6a000e", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3846aee7-335d-472f-8ef9-59415da1dbc9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "MeasurementValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8c5ce388-7217-47ca-ac12-670fd25ce128", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "MeasurementValueNeededDate": "2024-05-02T01:28:45.0031558-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5ed661e4-be14-4f10-b103-0788fefde7dd", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-05-02T01:28:45.0031558-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "b4e36bc0-7471-4346-b03b-d244fc782278", "CreateDate": "2024-05-02T01:28:45.0031558-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-02T01:28:45.0031558-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }