GET Attachments/ByUploadDate?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 upload date of the attachments to retrieve |
date |
None. |
endDate |
Ending upload 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": "1766c8ec-6eec-4ca8-bf5b-8e30f7726802", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3f2be722-1883-40fa-beff-aa3eab7f25c1", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "76c7e928-88c8-45f5-b6a1-8dbb3976eecd", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "cdeb01c0-e4ba-409f-a076-75218508be83", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b55e5006-c754-4e55-b922-8be56fb4234e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6c309db2-e31a-41d8-bafe-39d2dada23dc", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "52f9ab25-8fb7-4b88-b7df-ed12b0128743", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "MeasurementValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "SourceSystemId": "sample string 3", "CompanyId": "8d613c49-d998-41af-95eb-20b18d21da27", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "MeasurementValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e310d9f8-fc20-4bfb-a699-78e792d7fdc6", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T04:31:11.4887159-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "79ea5fdd-48c5-4262-8da7-9163555045b2", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "1766c8ec-6eec-4ca8-bf5b-8e30f7726802", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3f2be722-1883-40fa-beff-aa3eab7f25c1", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "76c7e928-88c8-45f5-b6a1-8dbb3976eecd", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "cdeb01c0-e4ba-409f-a076-75218508be83", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b55e5006-c754-4e55-b922-8be56fb4234e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6c309db2-e31a-41d8-bafe-39d2dada23dc", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "52f9ab25-8fb7-4b88-b7df-ed12b0128743", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "MeasurementValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "SourceSystemId": "sample string 3", "CompanyId": "8d613c49-d998-41af-95eb-20b18d21da27", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "MeasurementValueNeededDate": "2024-11-21T04:31:11.4887159-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e310d9f8-fc20-4bfb-a699-78e792d7fdc6", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T04:31:11.4887159-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "79ea5fdd-48c5-4262-8da7-9163555045b2", "CreateDate": "2024-11-21T04:31:11.4887159-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:31:11.4887159-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }