title: How to get seller sent of messages from ebay GetMyMessages API?
body: <p>I found that all the data I got using the GetMyMessages API was messages sent by buyers to sellers. I wanted to get messages sent by sellers to buyers .</p>
  
  <pre><code>                    ApiContext Context = userModel.GetApiContext();
                      DateTime startDate = DateTime.Now.Date.AddDays(-14);
                      DateTime endDate = DateTime.Now.Date.AddDays(1);
                      Console.WriteLine("StartDate:" + startDate + "--------------------EndDate:" + endDate);
  
                      GetMyMessagesCall getMyMessageApiCall = new GetMyMessagesCall(Context);
                      getMyMessageApiCall.StartTime = startDate;
                      getMyMessageApiCall.EndTime = endDate;
  
                      DetailLevelCodeType[] detailLevels = new DetailLevelCodeType[] { DetailLevelCodeType.ReturnHeaders };
                      getMyMessageApiCall.DetailLevelList = new DetailLevelCodeTypeCollection(detailLevels); 
                      getMyMessageApiCall.GetMyMessages();
                      MyMessagesMessageTypeCollection messages = getMyMessageApiCall.MessageList;
  </code></pre>