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": "722dd76b-8b92-40ed-87bd-64544ac853bb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "c64b7b01-cb8a-4b4d-83a0-4d24d8234ffe", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e71b60a0-6fdd-4d5b-838e-3daddecfa7e7", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a473af53-f4ab-4b45-9de8-268ec13327d4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4687ab2c-b697-49f0-9748-82640f92131c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5814f0e0-537f-4bc3-8ffa-15e1ec9d1ac9", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1bc4e134-e04d-4339-8a11-6010ca7c2ea1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "SourceSystemId": "sample string 3", "CompanyId": "91522b33-129f-4aa2-867f-811d18513714", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b7df46ab-979b-4797-8f06-13c374b8c0f5", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-24T15:06:14.6618217-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ea4c2848-b169-43da-ad38-a9c9609f8685", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "722dd76b-8b92-40ed-87bd-64544ac853bb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "c64b7b01-cb8a-4b4d-83a0-4d24d8234ffe", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "e71b60a0-6fdd-4d5b-838e-3daddecfa7e7", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a473af53-f4ab-4b45-9de8-268ec13327d4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4687ab2c-b697-49f0-9748-82640f92131c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5814f0e0-537f-4bc3-8ffa-15e1ec9d1ac9", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1bc4e134-e04d-4339-8a11-6010ca7c2ea1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "SourceSystemId": "sample string 3", "CompanyId": "91522b33-129f-4aa2-867f-811d18513714", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:14.6618217-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b7df46ab-979b-4797-8f06-13c374b8c0f5", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-24T15:06:14.6618217-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "ea4c2848-b169-43da-ad38-a9c9609f8685", "CreateDate": "2024-04-24T15:06:14.6618217-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:14.6618217-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }