<human>: Here is the situation: 

My ex-husband and I work at the same job, on different shifts. We have a child and we share custody. He is supposed to pick her up after work. He changes his schedule (willingly) almost every 2 weeks. I work overnight. I am currently in a temporary supervisor position, giving me access to the whole departments schedules. Depending on when he comes to work, I either pick her up one of two places when I get off at 630am. To be sure of the location of pickup, I checked his schedule in the middle of the night while working. It said 7a-330p, so I assumed it would be pickup from Point A. I waited until almost 7 am, and decided to go to Point B thinking he must not be going to work until 8a. When it comes time for him to pick her up, I text him to ask when he is coming. He says 5pm, that his schedule is 8-5, and asks why. I said just checking, because your schedule said 7-330. He is legally obligated to give me his schedule in advance, but rarely gives me more than 12 hours notice. I assumed he either didn't realize what his schedule was, or he was lying.

Now, I am in the temporary supervisor position, applying for the full time position. I had already gone through several interviews and I was to have a meeting/interview with the big boss that night about it. Instead, when I get to work, he has a printed off email of this text conversation and tells me that I was wrong to look it up and that I am being denied the position for this reason. I believe my ex is doing this to be malicious towards me and prevent me from getting the position. Otherwise, why would he make such a big deal of it, if not just out of anger for being caught. What actions, if any, would be appropriate for me, and what outcome could I expect?

Can you succinctly summarize the text in 1-3 sentences?
<bot>: Ex sent my boss a text conversation which directly resulted in me losing a promotion. All I did was check his schedule to make sure I had the pickup arrangements for our kid right.