Пример #1
0
        /// <summary>Creates a new <see cref="GetRegData"/> object, which is typically used to query a customer's registration data/contact information from SOLO Server Lite.</summary>
        /// <returns>Returns a <see cref="GetRegData"/> object.</returns>
        public GetRegData CreateGetRegDataObject()
        {
            WebFormCall wfc = new GetRegData(m_GetRegDataUrl);

            if (!InitializeWebFormCall(ref wfc))
            {
                return(null);
            }

            return((GetRegData)wfc);
        }
Пример #2
0
        public IHttpActionResult Registration_form(dynamic objCert)
        {
            string jsondata = token_gen.Authorize_aesdecrpty(objCert);

            try
            {
                //string value = JsonConvert.SerializeObject(jsondata);
                GetRegData rootobj = JsonConvert.DeserializeObject <GetRegData>(jsondata);

                return(Ok(hlpval.Reg(rootobj)));
            }
            catch (Exception ex)
            {
                objdynamic.Status = 102;
                objdynamic.Reason = Helper.ThirdpartyMessage;
                return(Ok(objdynamic));
            }
        }