コード例 #1
0
        public static string GenerateStatusRequest(long custid = 0, string password = null)
        {
            LinkRequest myRequest = Samples.BuildLinkDALStatusRequest(false);  //Even though we are local, build as if not.

            if (MessageID != null)
            {
                myRequest.MessageID = MessageID;
            }
            myRequest.TCCustID   = custid > 0 ? custid : myRequest.TCCustID;
            myRequest.TCPassword = password ?? myRequest.TCPassword;
            SetDALRequest(myRequest.Actions[0].DALRequest);
            Helper.SetSessionID(myRequest, SessionID);
            return(Helper.Stringify(myRequest));
        }