コード例 #1
0
ファイル: Service.cs プロジェクト: lurienanofab/lnf
        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);
        }
コード例 #2
0
ファイル: Service.cs プロジェクト: lurienanofab/lnf
        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);
        }