on-internet
← Community

How to filter records from Activityparties table where the party lookup field is related to a systemuser using Web API

Stack Overflow ·

I'm querying appointment participants, from Dynamics 365 CRM, from the "Required Attendees" lookup field in the Appointments. I've created a query that returns records from the "activityparties" table, where "participationtypemask" equals 5 (Required Attendee). I've tried to apply a second filter to only return records where the party is a user, but the filter is ignored and I get records with all parties (accounts, contacts, cases, etc.). This is my query: OData.Feed("https://ar.api.crm4.dynamics.com/api/data/v9.2/" & "activityparties?" & "$select=_activityid_value, participationtypemask, _pa

Comments

Sign in or sign up to comment and upvote.

No comments yet.