How to create custom AshJsonApi to get a user by two parameter

Thank you so much.