Ejemplo n.º 1
0
        public TicketDetailResponse SelectTicketDetail(int ticketId)
        {
            string raw = SendPostRequest(_ApiUrl, new { Command = "select-ticket-detail", TicketID = ticketId, f = "json" });
            TicketDetailResponse result = ServiceProvider.Current.Utility.Serialization.Json.Deserialize <TicketDetailResponse>(raw);

            return(result);
        }
Ejemplo n.º 2
0
        public TicketDetailResponse PostMessage(int ticketId, string message)
        {
            string raw = SendPostRequest(_ApiUrl, new { Command = "post-message", TicketID = ticketId, Message = message, f = "json" });
            TicketDetailResponse result = ServiceProvider.Current.Utility.Serialization.Json.Deserialize <TicketDetailResponse>(raw);

            return(result);
        }