cancel
Showing results for 
Search instead for 
Did you mean: 

SAP C4C: filter on ContactEMail property of LeanLeadCollection

robinvanhoof
Explorer
0 Kudos

Hello experts,

I need to search Leads from the LeanLeadCollection based on the ContactEMail property. When I try to add the filter ?$filter=ContactEMail eq 'contact@email.com' to the URI of LeanLeadCollection (https://tenant/sap/c4c/odata/v1/c4codata/LeanLeadCollection), it simply returns all the leads instead of the one I'm looking for.

The emailadress I'm looking for definitely exists in C4C and is spelled correctly.

Does anyone know a solution for this?

Accepted Solutions (1)

Accepted Solutions (1)

former_member280457
Discoverer
0 Kudos

Hi Robin,

Currently search in odata for lead only works for lead based attributes and not business partner based attributes such as contact email.

Regards,

Crystal

Answers (0)