How to filter get form task based to AssignedtoUserName or AssignedToUserID

HI Everyone,

Hope you all are doing well!

I want to filter get form task based on AssignedToUserName or AssignedToUserID.below query is giving me error.Can anyone help me resolving this ?

Thanks in Advance.

Regards,
Deepak

cross-checking with swagger and checking the dto
we would try

assignedToUserId eq 123

123 as ID is an integer

assignedtouserid is working fine…how we can filter based on status is pending and emailaddress="xyz@gmail.com"

which filter id we do have for email address like we have status ?

@Deepak_Chawla

Try with this

"status eq 'Pending' and assignedToUseremailAddress eq 'emailid'"

Cheers

From swagger / DTO Model we can refer to:
grafik

So we would use expand for including the UserLoginInfoDto
And filter like

But the absence of the Assigned user may lead to 400 responses. As an alternate we can catch the UserID by the User Endpoint along with a filter to the email and using the UserID as mentioned above