Example #1
0
        /// <summary>
        /// Begin a new asynchornous ListMessageSummaryRequest
        /// </summary>
        /// <param name="requestData"></param>
        /// <returns></returns>
        public async Task <ListMessageSummaryResponse> ListMessageSummaryRequestAsync(ListMessageSummaryRequest requestData)
        {
            var res = await Requestor.PostStringAsync(Urls.ListMessageSummaryRequest, JsonHelper.SerializeData(requestData));

            return(JsonConvert.DeserializeObject <ListMessageSummaryResponse>(res.ResponseJson));
        }
Example #2
0
 /// <summary>
 /// Begin a new ListMessageSummaryRequest
 /// </summary>
 /// <param name="requestData"></param>
 /// <returns></returns>
 public ListMessageSummaryResponse ListMessageSummaryRequest(ListMessageSummaryRequest requestData)
 {
     return(JsonConvert.DeserializeObject <ListMessageSummaryResponse>(Requestor.PostString(Urls.ListMessageSummaryRequest, JsonHelper.SerializeData(requestData)).ResponseJson));
 }