// 연동회원 가입여부 확인 private void btnCheckIsMember_Click(object sender, EventArgs e) { try { Response response = faxService.CheckIsMember(txtCorpNum.Text, LinkID); MessageBox.Show(response.code.ToString() + " | " + response.message); } catch (PopbillException ex) { MessageBox.Show(ex.code.ToString() + " | " + ex.Message); } }
/* * 사업자번호를 조회하여 연동회원 가입여부를 확인합니다. * - https://docs.popbill.com/fax/dotnetcore/api#CheckIsMember */ public IActionResult CheckIsMember() { try { //링크아이디 string linkID = "TESTER"; var response = _faxService.CheckIsMember(corpNum, linkID); return(View("Response", response)); } catch (PopbillException pe) { return(View("Exception", pe)); } }