Symptom
You have a requirement to filter out Attachments for Surveys with respect to a particular date, however the Year filter doesn't give any results while using the GET function.
Reproducing the Issue
1. Go to Chrome Browser
2. Query the below URL
https://<Tenant>/sap/c4c/odata/v1/survey/AnswerAttachmentReferenceCollection
Cause
It is not possible to directly query ResponseItemAttachmentCollection which is based on the attachment folder. This is because attachment folder is a dependent Object. The query has to be made through the parent object.
Resolution
To fetch the attachments which were added, query the ResponseItemCollection using the UUID of ResponseItem and then the ResponseItemAttachment.
https://<Tenant>/sap/c4c/odata/v1/survey/ResponseItemCollection('ObjectID')/ResponseItemAttachment
Keywords
KBA , LOD-CRM-EMP , Employee , How To