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": "6baba9cf-eb03-4c4d-9595-bbc4776505b4", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "fa68e100-6be7-49e0-a317-bac2ee6f54d4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "dcb12269-9024-4db2-b1a6-b0314649b6c5", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "bec76264-46a8-4474-9f54-04301c8c5e8a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "57dd3040-efc2-4d82-828a-a2f998a303ad", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "17e6bd07-c200-4865-90d2-a462f67be5d2", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e9038b04-0aa1-4084-84f3-f61fb3dd507c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "MeasurementValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c9ce50c6-df78-4ac1-9356-00102c152dbd", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "MeasurementValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "38f13a5b-8983-471e-9f76-7b6b1de7b063", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T19:07:03.5022915-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "c787372d-236d-4dd9-8ff3-a28536ddef46", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "6baba9cf-eb03-4c4d-9595-bbc4776505b4", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "fa68e100-6be7-49e0-a317-bac2ee6f54d4", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "dcb12269-9024-4db2-b1a6-b0314649b6c5", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "bec76264-46a8-4474-9f54-04301c8c5e8a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "57dd3040-efc2-4d82-828a-a2f998a303ad", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "17e6bd07-c200-4865-90d2-a462f67be5d2", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "e9038b04-0aa1-4084-84f3-f61fb3dd507c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "MeasurementValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c9ce50c6-df78-4ac1-9356-00102c152dbd", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "MeasurementValueNeededDate": "2024-12-21T19:07:03.5022915-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "38f13a5b-8983-471e-9f76-7b6b1de7b063", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T19:07:03.5022915-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "c787372d-236d-4dd9-8ff3-a28536ddef46", "CreateDate": "2024-12-21T19:07:03.5022915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:07:03.5022915-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }