Skip to Content

SAP C4C: filter on ContactEMail property of LeanLeadCollection

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 20 at 10:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded