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": "a64ab37e-d29e-47a2-8821-7a3b39ce97e7", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "96a34c52-0ceb-4e5b-b8f2-48705728f927", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "83e9a580-d7ef-4f34-8ab6-a03ebe07c9ea", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "874247e0-821e-4fa1-af4e-921ea979d1bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4b4f6923-598c-4301-ab8b-ffab37d24c84", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b4a3659e-7577-4833-ba82-5b6af65463a2", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "effa816e-984f-4377-93fc-2fb534a80797", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "MeasurementValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fa7fc021-36f6-4565-bb83-ac4e87af6a4f", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "MeasurementValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b1f4fce0-ca9d-4746-8cc9-ac00ab222702", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T10:37:25.7913168-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "09fc2a80-0eee-4228-b9a0-1db8d3719041", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "a64ab37e-d29e-47a2-8821-7a3b39ce97e7", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "96a34c52-0ceb-4e5b-b8f2-48705728f927", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "83e9a580-d7ef-4f34-8ab6-a03ebe07c9ea", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "874247e0-821e-4fa1-af4e-921ea979d1bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4b4f6923-598c-4301-ab8b-ffab37d24c84", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b4a3659e-7577-4833-ba82-5b6af65463a2", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "effa816e-984f-4377-93fc-2fb534a80797", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "MeasurementValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fa7fc021-36f6-4565-bb83-ac4e87af6a4f", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "MeasurementValueNeededDate": "2024-12-08T10:37:25.7913168-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b1f4fce0-ca9d-4746-8cc9-ac00ab222702", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-08T10:37:25.7913168-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "09fc2a80-0eee-4228-b9a0-1db8d3719041", "CreateDate": "2024-12-08T10:37:25.7913168-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T10:37:25.7913168-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }