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": "c967f152-8514-4dab-988e-3ba7889d3307", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "557dc0a6-2cc8-47ea-b38a-c04dd686946a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "9f430014-e9cb-4d75-b380-b86686aa0c5e", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "390003a9-862e-4a56-bc67-f40fd3513927", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3257687a-db8f-4ed0-828c-3b329761f876", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ef92eb5e-e16a-4652-97c2-566850ad1422", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "945c4a96-61fe-4c0a-b49c-d36e488e07f9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc945a2f-a009-4311-80cb-30d00fba3d9b", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "48521a75-979c-4916-8924-1566daf613cf", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T05:07:36.5556812-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "510ffc2e-e9c4-4128-b0f9-adcc2c857815", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "c967f152-8514-4dab-988e-3ba7889d3307", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "557dc0a6-2cc8-47ea-b38a-c04dd686946a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "9f430014-e9cb-4d75-b380-b86686aa0c5e", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "390003a9-862e-4a56-bc67-f40fd3513927", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3257687a-db8f-4ed0-828c-3b329761f876", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ef92eb5e-e16a-4652-97c2-566850ad1422", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "945c4a96-61fe-4c0a-b49c-d36e488e07f9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc945a2f-a009-4311-80cb-30d00fba3d9b", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:36.5556812-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "48521a75-979c-4916-8924-1566daf613cf", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T05:07:36.5556812-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "510ffc2e-e9c4-4128-b0f9-adcc2c857815", "CreateDate": "2024-11-21T05:07:36.5556812-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:36.5556812-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }