Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Unable to get Active Contact Records Count from Marketing List

$
0
0

Hello Experts,

My requirement is to get only Active Contact records count when a Contact is associated with Marketing List and show it in a Integer field. 

I am using below Odata Query, but i am not getting any result. Is anything wrong with the below or is there any better approach to achieve this? 

http://<Server URL>/<Org Name>/xrmservices/2011/OrganizationData.svc/ListSet?$select=listcontact_association/StateCode&$expand=listcontact_association&$filter=ListId eq guid'<Guid>' & listcontact_association/any(a:a/StateCode/Value eq '0')

Please help.


Arun Potti



Viewing all articles
Browse latest Browse all 8223

Trending Articles