Exemple #1
0
        public string SendFAX(String CorpNum, String sendNum, String receiveNum, String receiveName, List <String> filePaths, DateTime?reserveDT, String UserID, bool adsYN, String title, String requestNum)
        {
            List <FaxReceiver> receivers = new List <FaxReceiver>();
            FaxReceiver        receiver  = new FaxReceiver();

            receiver.receiveName = receiveName;
            receiver.receiveNum  = receiveNum;
            receivers.Add(receiver);

            return(RequestFAX(CorpNum, sendNum, null, receivers, filePaths, reserveDT, UserID, adsYN, title, requestNum));
        }
        public string SendFAX(String CorpNum, String sendNum, string receiveNum, string receiveName, List <String> filePaths, DateTime?reserveDT, String UserID)
        {
            List <FaxReceiver> receivers = new List <FaxReceiver>();
            FaxReceiver        receiver  = new FaxReceiver();

            receiver.receiveName = receiveName;
            receiver.receiveNum  = receiveNum;
            receivers.Add(receiver);

            return(SendFAX(CorpNum, sendNum, receivers, filePaths, reserveDT, UserID));
        }
        //팩스 단건 전송
        public string SendFAX(string CorpNum, string snd, string sndnm, string rcv, string rcvnm,
                              List <string> filePaths, string title = null, DateTime?reserveDT = null, bool adsYN = false,
                              string requestNum = null, string UserID = null)
        {
            List <FaxReceiver> receivers = new List <FaxReceiver>();
            FaxReceiver        receiver  = new FaxReceiver();

            receiver.receiveNum  = rcv;
            receiver.receiveName = rcvnm;
            receivers.Add(receiver);

            return(SendFAX(CorpNum, snd, sndnm, receivers, filePaths, title, reserveDT, adsYN, requestNum, UserID));
        }
Exemple #4
0
        public string SendFAX(String CorpNum, String sendNum, String receiveNum, String receiveName, String filePath, DateTime?reserveDT, String UserID, String title)
        {
            List <String> filePaths = new List <string>();

            filePaths.Add(filePath);

            List <FaxReceiver> receivers = new List <FaxReceiver>();
            FaxReceiver        receiver  = new FaxReceiver();

            receiver.receiveName = receiveName;
            receiver.receiveNum  = receiveNum;
            receivers.Add(receiver);

            return(RequestFAX(CorpNum, sendNum, null, receivers, filePaths, reserveDT, UserID, false, title, null));
        }
Exemple #5
0
        public string ResendFAXRN(String CorpNum, String requestNum, String assignRequestNum, String sendNum, String senderName, String receiveNum, String receiveName, DateTime?reserveDT, String UserID, String title)
        {
            List <FaxReceiver> receivers = null;

            if ((receiveNum.Length != 0) && (receiveName.Length != 0))
            {
                receivers = new List <FaxReceiver>();
                FaxReceiver receiver = new FaxReceiver();
                receiver.receiveName = receiveName;
                receiver.receiveNum  = receiveNum;
                receivers.Add(receiver);
            }

            return(ResendFAXRN(CorpNum, requestNum, assignRequestNum, sendNum, senderName, receivers, reserveDT, UserID, title));
        }
        //팩스 단건 재전송
        public string ResendFAX(string CorpNum, string receiptNum, string snd, string sndnm, string rcv, string rcvnm,
                                string title = null, DateTime?reserveDT = null, string requestNum = null, string UserID = null)
        {
            List <FaxReceiver> receivers = null;

            if ((rcv.Length != 0) && (rcvnm.Length != 0))
            {
                receivers = new List <FaxReceiver>();
                FaxReceiver receiver = new FaxReceiver();
                receiver.receiveNum  = rcv;
                receiver.receiveName = rcvnm;
                receivers.Add(receiver);
            }

            return(ResendFAX(CorpNum, receiptNum, snd, sndnm, receivers, title, reserveDT, requestNum, UserID));
        }