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": "7c744504-cd83-4395-ab92-8124e627c1c4", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e9a2d9f4-7e59-429a-abaa-c0b945b97a97", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "ce77867d-eb9b-45b2-bc7e-1a2b1057b264", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "3070508c-25e0-4bfd-8446-46b621df623c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3cfae4a9-3ce6-4d7f-9391-1676ec231ce7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bc771eeb-797a-4fcf-a830-8513ac39fd91", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e4156364-5520-4076-98ba-24920070baf4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "MeasurementValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3106d4b8-d80d-4183-90c1-ab18c72187f0", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "MeasurementValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f3589a51-2ed7-446f-87c3-6a0518576c87", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2023-09-22T12:20:06.3336771-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "78bc97f6-3755-4956-8306-e387c26c473e", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "7c744504-cd83-4395-ab92-8124e627c1c4", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e9a2d9f4-7e59-429a-abaa-c0b945b97a97", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "ce77867d-eb9b-45b2-bc7e-1a2b1057b264", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "3070508c-25e0-4bfd-8446-46b621df623c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3cfae4a9-3ce6-4d7f-9391-1676ec231ce7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bc771eeb-797a-4fcf-a830-8513ac39fd91", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e4156364-5520-4076-98ba-24920070baf4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "MeasurementValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3106d4b8-d80d-4183-90c1-ab18c72187f0", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "MeasurementValueNeededDate": "2023-09-22T12:20:06.3336771-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f3589a51-2ed7-446f-87c3-6a0518576c87", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2023-09-22T12:20:06.3336771-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "78bc97f6-3755-4956-8306-e387c26c473e", "CreateDate": "2023-09-22T12:20:06.3336771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-09-22T12:20:06.3336771-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }