void OnURLRequestHandler(string url, URLResponse response) { if (url.StartsWith(FacebookAppURL)) { string redirectURL = LocalAppURL + url.Substring(FacebookAppURL.Length); response.RedirectRequest(redirectURL); return; } response.AllowRequest(); }
public String GetPopUpURL(String corpNum, String ntsconfirmNum, String userID) { if (ntsconfirmNum.Length != 24) { throw new PopbillException(-99999999, "국세청승인번호가 올바르지 않습니다."); } URLResponse response = httpget <URLResponse>("/HomeTax/Taxinvoice/" + ntsconfirmNum + "/PopUp", corpNum, userID); return(response.url); }
public String GetPrintURL(String CorpNum, String MgtKey, String UserID) { if (String.IsNullOrEmpty(MgtKey)) { throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Cashbill/" + MgtKey + "?TG=PRINT", CorpNum, UserID); return(response.url); }
//현금영수증 메일링크 URL public string GetMailURL(string CorpNum, string MgtKey, string UserID = null) { if (string.IsNullOrEmpty(MgtKey)) { throw new PopbillException(-99999999, "문서번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Cashbill/" + MgtKey + "?TG=MAIL", CorpNum, UserID); return(response.url); }
void OnURLRequestHandler(string url, URLResponse response) { if (url.StartsWith(FacebookAppURL)) { // change the url, keeping all parameters intact string redirectURL = LocalAppURL + url.Substring(FacebookAppURL.Length); response.RedirectRequest(redirectURL); return; } response.AllowRequest(); }
//팩스 미리보기 팝업 URL public string GetPreviewURL(string corpNum, string receiptNum, string UserID = null) { if (string.IsNullOrEmpty(receiptNum)) { throw new PopbillException(-99999999, "접수번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/FAX/Preview/" + receiptNum, corpNum, UserID); return(response.url); }
public String GetMailURL(String CorpNum, int itemCode, String mgtKey, String UserID) { if (String.IsNullOrEmpty(mgtKey)) { throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Statement/" + itemCode.ToString() + "/" + mgtKey + "?TG=MAIL", CorpNum, UserID); return(response.url); }
void OnURLRequestHandler (string url, URLResponse response) { if (url.StartsWith(FacebookAppURL)) { // change the url, keeping all parameters intact string redirectURL = LocalAppURL + url.Substring(FacebookAppURL.Length); response.RedirectRequest(redirectURL); return; } response.AllowRequest(); }
public String GetEPrintURL(String CorpNum, MgtKeyType KeyType, String MgtKey, String UserID) { if (String.IsNullOrEmpty(MgtKey)) { throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Taxinvoice/" + KeyType.ToString() + "/" + MgtKey + "?TG=EPRINT", CorpNum, UserID); return(response.url); }
//전자명세서 인쇄 URL public string GetPrintURL(string CorpNum, int itemCode, string mgtKey, string UserID = null) { if (string.IsNullOrEmpty(mgtKey)) { throw new PopbillException(-99999999, "문서번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Statement/" + itemCode.ToString() + "/" + mgtKey + "?TG=PRINT", CorpNum, UserID); return(response.url); }
public string GetPrintURL(string CorpNum, string ntsconfirmNum, string UserID = null) { if (ntsconfirmNum.Length != 24) { throw new PopbillException(-99999999, "국세청승인번호가 올바르지 않습니다."); } URLResponse response = httpget <URLResponse>("/HomeTax/Taxinvoice/" + ntsconfirmNum + "/Print", CorpNum, UserID); return(response.url); }
//세금계산서 메일링크 URL public string GetMailURL(string CorpNum, MgtKeyType KeyType, string MgtKey, string UserID) { if (string.IsNullOrEmpty(MgtKey)) { throw new PopbillException(-99999999, "문서번호가 입력되지 않았습니다."); } URLResponse response = httpget <URLResponse>("/Taxinvoice/" + KeyType.ToString() + "/" + MgtKey + "?TG=MAIL", CorpNum, UserID); return(response.url); }
public String GetMassPrintURL(String CorpNum, MgtKeyType KeyType, List <String> MgtKeyList, String UserID) { if (MgtKeyList == null || MgtKeyList.Count == 0) { throw new PopbillException(-99999999, "관리번호 목록이 입력되지 않았습니다."); } String PostData = toJsonString(MgtKeyList); URLResponse response = httppost <URLResponse>("/Taxinvoice/" + KeyType.ToString() + "?Print", CorpNum, UserID, PostData, null); return(response.url); }
public String GetMassPrintURL(String CorpNum, int itemCode, List <String> mgtKeyList, String UserID) { if (mgtKeyList == null || mgtKeyList.Count == 0) { throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다."); } String PostData = toJsonString(mgtKeyList); URLResponse response = httppost <URLResponse>("/Statement/" + itemCode.ToString() + "?Print", CorpNum, UserID, PostData, null); return(response.url); }
public String GetURL(String CorpNum, String UserID, String TOGO) { String uri = "/KakaoTalk/?TG="; if (TOGO == "SENDER") { uri = "/Message/?TG="; } URLResponse response = httpget <URLResponse>(uri + TOGO, CorpNum, UserID); return(response.url); }
//연동회원 포인트 사용내역 URL public string GetUseHistoryURL(string CorpNum, string UserID = null) { try { URLResponse response = httpget <URLResponse>("/?TG=USEHISTORY", CorpNum, UserID); return(response.url); } catch (LinkhubException le) { throw new PopbillException(le); } }
//연동회원 포인트충전 팝업 URL public string GetChargeURL(string CorpNum, string UserID) { try { URLResponse response = httpget <URLResponse>("/?TG=CHRG", CorpNum, UserID); return(response.url); } catch (LinkhubException le) { throw new PopbillException(le); } }
//연동회원 포인트 결제내역 URL public string GetPaymentURL(string CorpNum, string UserID = null) { try { URLResponse response = httpget <URLResponse>("/?TG=PAYMENT", CorpNum, UserID); return(response.url); } catch (LinkhubException le) { throw new PopbillException(le); } }
//현금영수증 대량 인쇄 URL public string GetMassPrintURL(string CorpNum, List <string> MgtKeyList, string UserID = null) { if (MgtKeyList == null || MgtKeyList.Count == 0) { throw new PopbillException(-99999999, "문서번호 목록이 입력되지 않았습니다."); } string PostData = toJsonString(MgtKeyList); URLResponse response = httppost <URLResponse>("/Cashbill/Prints", CorpNum, PostData, null, null, UserID); return(response.url); }
public String GetPopbillURL(String CorpNum, String UserID, String TOGO) { URLResponse response = httpget <URLResponse>("/?TG=" + TOGO, CorpNum, UserID); return(response.url); }
//카카오톡 전송내역 팝업 public string GetSentListURL(string CorpNum, string UserID) { URLResponse response = httpget <URLResponse>("/KakaoTalk/?TG=BOX", CorpNum, UserID); return(response.url); }
public String GetChargeURL(String CorpNum, String UserID) { URLResponse response = httpget <URLResponse>("/?TG=CHRG", CorpNum, UserID); return(response.url); }
//현금영수증 문서함 관련 URL public string GetURL(string CorpNum, string TOGO, string UserID = null) { URLResponse response = httpget <URLResponse>("/Cashbill?TG=" + TOGO, CorpNum, UserID); return(response.url); }
//발신번호 관리 팝업 URL public string GetSenderNumberMgtURL(string CorpNum, string UserID) { URLResponse response = httpget <URLResponse>("/Message/?TG=SENDER", CorpNum, UserID); return(response.url); }
public String GetAccessURL(String CorpNum, String UserID) { URLResponse response = httpget <URLResponse>("/?TG=LOGIN", CorpNum, UserID); return(response.url); }
//정액제 서비스 신청 URL public string GetFlatRatePopUpURL(string CorpNum, string UserID = null) { URLResponse response = httpget <URLResponse>("/HomeTax/Cashbill?TG=CHRG", CorpNum, UserID); return(response.url); }
public String GetCertificatePopUpURL(String CorpNum, String UserID) { URLResponse response = httpget <URLResponse>("/HomeTax/Taxinvoice?TG=CERT", CorpNum, UserID); return(response.url); }
//알림톡 템플릿관리 팝업 URL public string GetATSTemplateMgtURL(string CorpNum, string UserID) { URLResponse response = httpget <URLResponse>("/KakaoTalk/?TG=TEMPLATE", CorpNum, UserID); return(response.url); }
public URLRequest RequestHandler(WebView sender, object identifier, URLRequest initialRequest, URLResponse urlResponse, WebDataSource datasource) { // if ( ((URL)(initialRequest.urL)).relativeString.ToString().IndexOf("http://monodoc/load?") == 0) { // FIXME if (initialRequest.URL.AbsoluteString.IndexOf("http://monodoc/load?") == 0) { string url = initialRequest.URL.AbsoluteString.Replace("http://monodoc/load?", ""); string content = ""; if (url.StartsWith("edit:")) { // XmlNode edit_node = EditingUtils.GetNodeFromUrl (url, help_tree); // Console.WriteLine (edit_node.InnerXml); } Node n; try { content = help_tree.RenderUrl(url, out n); } catch (Exception e) { content = "Exception Rendering the requested URL: " + e; } if (content != null && !content.Equals("")) { content = content.Replace("a href='", "a href='http://monodoc/load?"); content = content.Replace("a href=\"", "a href=\"http://monodoc/load?"); webView.Render(content); addHistoryItem(url); } return(null); } return(initialRequest); }
//공인인증서 등록 URL public string GetTaxCertURL(string CorpNum, string UserID) { URLResponse response = httpget <URLResponse>("/?TG=CERT", CorpNum, UserID); return(response.url); }
//팝빌 인감 및 첨부문서 등록 URL public string GetSealURL(string CorpNum, string UserID) { URLResponse response = httpget <URLResponse>("/?TG=SEAL", CorpNum, UserID); return(response.url); }
//세금계산서 문서함 관련 URL public string GetURL(string CorpNum, string TOGO, string UserID) { URLResponse response = httpget <URLResponse>("/Taxinvoice?TG=" + TOGO, CorpNum, UserID); return(response.url); }