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": "dc00ca75-3481-4997-8230-e46fbc7716ce", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7a5c7764-2ee3-4e5b-8896-79a4a2d53f5c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "0adeac4d-d5f8-4d2d-bc6a-b0be1b74c18d", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "41c0dd61-3b28-4b54-8ee9-aff622ecf44e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "16849519-9b43-4194-8c9f-1be9d94f4e71", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e25db7ed-01e7-4750-a7dd-a7418e6dcf69", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f3bff826-b2ef-4d9a-919d-023c63478b16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "SourceSystemId": "sample string 3", "CompanyId": "49002dad-c4d5-464b-a667-18382c1b9ca4", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "03e1f552-c84f-4c4e-8e81-8236c4a4d534", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T18:43:41.9291097-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "09b197f7-3a4d-4674-96dd-ad4eaa23cdc9", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "dc00ca75-3481-4997-8230-e46fbc7716ce", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7a5c7764-2ee3-4e5b-8896-79a4a2d53f5c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "0adeac4d-d5f8-4d2d-bc6a-b0be1b74c18d", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "41c0dd61-3b28-4b54-8ee9-aff622ecf44e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "16849519-9b43-4194-8c9f-1be9d94f4e71", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e25db7ed-01e7-4750-a7dd-a7418e6dcf69", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f3bff826-b2ef-4d9a-919d-023c63478b16", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "SourceSystemId": "sample string 3", "CompanyId": "49002dad-c4d5-464b-a667-18382c1b9ca4", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "MeasurementValueNeededDate": "2024-12-21T18:43:41.9291097-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "03e1f552-c84f-4c4e-8e81-8236c4a4d534", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T18:43:41.9291097-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "09b197f7-3a4d-4674-96dd-ad4eaa23cdc9", "CreateDate": "2024-12-21T18:43:41.9291097-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:43:41.9291097-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }