In a video shot by the girl's father, the Class 5 student looks shaken as she describes to her father the sequence of events.
"The PT teacher caught me on my way to my class on the first floor. I kept saying please see my diary but no one paid any heed," the child said.
"They started screaming at me. I got scared and didn't say anything. There were 2-3 teachers including English teachers and tenth class Telugu teacher. They were saying how come she has turned up in civil colour dress and she doesn't even answer our questions. Let us put her in the boys' loo. Children were all watching," the girl is heard saying.
The child says she was made to stand there for five minutes after which was sent back to her class where she told her social studies teacher that her mother had written in the diary that her clothes were wet after being washed and so she should kindly be allowed in regular clothes.
The father is heard telling the child in the video shot on cell phone that no one would now trouble her at school since he has spoken to the school and her teachers but the girls is emphatic that she won't go back to that school.
Child rights activist Achyuta Rao, to whom the father complained, says this is also a violation under Prevention of Sexual Offences Against Children (POCSO) law.
"We want to press criminal charges against the school and teachers. How can they act in such an insensitive manner," Mr Rao says.
The child rights body also intends to write to the Human Rights Commission.
School authorities were not available for comment.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.