I have a washrequest model in my django project, i am making an api where i need to get id from that model and check whether it is valid or not.