public ProposalGenerateRequest()
        {
            DateTime today = DateTime.Now;

            RequestHead = new RequestHead();
            ProposalGenerateRequestMain = new ProposalGenerateRequestMain();

            RequestHead.tradeTime    = DateTime.Now.ToString("yyyyMMddHHmmss");
            RequestHead.request_Type = "01";

            ProposalGenerateRequestMain.Channel.channelCode       = "AEC16110001";
            ProposalGenerateRequestMain.Channel.channelTradeCode  = "000003";
            ProposalGenerateRequestMain.Channel.channelRelationNo = RequestHead.tradeTime;
            ProposalGenerateRequestMain.Channel.channelTradeDate  = RequestHead.tradeTime.Substring(0, 8);

            ProposalGenerateRequestMain.ApplicantVO.cCertfCls     = "120001"; //证件类型
            ProposalGenerateRequestMain.ApplicantVO.cZipCde       = "000000"; //邮编
            ProposalGenerateRequestMain.ApplicantVO.cWorkDpt      = "6";      //工作单位,单位性质
            ProposalGenerateRequestMain.ApplicantVO.cCustRiskRank = "925105"; //反洗钱客户风险等级
            ProposalGenerateRequestMain.ApplicantVO.cAppCate      = "1";      //投保人类型

            ProposalGenerateRequestMain.InsuredVO.cCertfCls     = "120001";
            ProposalGenerateRequestMain.InsuredVO.cZipCde       = "000000"; //邮编
            ProposalGenerateRequestMain.InsuredVO.cWorkDpt      = "6";      //工作单位,单位性质
            ProposalGenerateRequestMain.InsuredVO.cCustRiskRank = "925105"; //反洗钱客户风险等级
            ProposalGenerateRequestMain.InsuredVO.cResvTxt20    = "1";      //被保人类型

            ProposalGenerateRequestMain.VhlownerVO.cCertfCls = "120001";
            ProposalGenerateRequestMain.VhlownerVO.cZipCde   = "000000"; //邮编
            ProposalGenerateRequestMain.VhlownerVO.cOwnerCls = "1";      //车主性质

            ProposalGenerateRequestMain.PackageSYVO.cProdNo = "030001";  //产品代码
            ProposalGenerateRequestMain.PackageSYVO.cPlyTyp = "0";       //保单形式
        }
Example #2
0
        public CarQuotePriceRequest()
        {
            DateTime today = DateTime.Now;

            RequestHead = new RequestHead();
            CarQuotePriceRequestMain = new CarQuotePriceRequestMain();

            RequestHead.tradeTime    = DateTime.Now.ToString("yyyyMMddHHmmss");
            RequestHead.request_Type = "01";

            CarQuotePriceRequestMain.Channel.channelCode       = "AEC16110001";
            CarQuotePriceRequestMain.Channel.channelTradeCode  = "000002";
            CarQuotePriceRequestMain.Channel.channelRelationNo = RequestHead.tradeTime;
            CarQuotePriceRequestMain.Channel.channelTradeDate  = RequestHead.tradeTime.Substring(0, 8);

            CarQuotePriceRequestMain.BaseVO.cprovince    = "440000";  //省
            CarQuotePriceRequestMain.BaseVO.cAreaFlag    = "441900";  //市
            CarQuotePriceRequestMain.BaseVO.cCountryFlag = "999999";  //区

            CarQuotePriceRequestMain.VhlownerVO.cCertfCls = "120001"; //居民身份证120001

            CarQuotePriceRequestMain.PackageJQVO.cProdNo              = "033011";
            CarQuotePriceRequestMain.PackageJQVO.tInsrncBgnTm         = today.ToString("yyyy-MM-dd 00:00:00");
            CarQuotePriceRequestMain.PackageJQVO.TInsrncEndTm         = today.AddYears(1).AddDays(-1).ToString("yyyy-MM-dd 23:59:59");
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cProdPlace     = "1";         //0进口/1国产
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cUsageCde      = "364111001"; //家庭自用汽车
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cVhlTyp        = "365001";    //6座以下客车
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cTravelAreaCde = "0";         //全国
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cGlassTyp      = "2";         //2国产玻璃
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cDevice1Mrk    = "0";         //是否过户(1-是 0-否)
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cPlateTyp      = "02";        //号牌种类(02小型汽车号牌)
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cRegVhlTyp     = "K33";       //交管车辆类型(K33轿车)
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cEcdemicMrk    = "0";         //是否外地车(1-是 0-否)
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cRiskDesc      = "T001";      //特异车型标识(T001常用车型)
            CarQuotePriceRequestMain.PackageJQVO.VhlVO.cFleetMrk      = "0";         //是否车队车辆(1-是 0-否)

            CarQuotePriceRequestMain.PackageSYVO.cProdNo              = "033011";
            CarQuotePriceRequestMain.PackageSYVO.tInsrncBgnTm         = today.ToString("yyyy-MM-dd 00:00:00");
            CarQuotePriceRequestMain.PackageSYVO.TInsrncEndTm         = today.AddYears(1).AddDays(-1).ToString("yyyy-MM-dd 23:59:59");
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cProdPlace     = "1";         //0进口/1国产
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cUsageCde      = "364111001"; //家庭自用汽车
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cVhlTyp        = "365001";    //6座以下客车
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cTravelAreaCde = "0";         //全国
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cGlassTyp      = "2";         //2国产玻璃
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cDevice1Mrk    = "0";         //是否过户(1-是 0-否)
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cPlateTyp      = "02";        //号牌种类(02小型汽车号牌)
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cRegVhlTyp     = "K33";       //交管车辆类型(K33轿车)
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cEcdemicMrk    = "0";         //是否外地车(1-是 0-否)
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cRiskDesc      = "T001";      //特异车型标识(T001常用车型)
            CarQuotePriceRequestMain.PackageSYVO.VhlVO.cFleetMrk      = "0";         //是否车队车辆(1-是 0-否)
        }
Example #3
0
        public PolicyGenerateRequest()
        {
            RequestHead = new RequestHead();
            PolicyGenerateRequestMain = new PolicyGenerateRequestMain();

            RequestHead.tradeTime     = DateTime.Now.ToString("yyyyMMddHHmmss");
            RequestHead.request_Type  = "01";
            RequestHead.response_Type = "01";

            PolicyGenerateRequestMain.Channel.channelCode       = "AEC16110001";
            PolicyGenerateRequestMain.Channel.channelTradeCode  = "000004";
            PolicyGenerateRequestMain.Channel.channelRelationNo = RequestHead.tradeTime;
            PolicyGenerateRequestMain.Channel.channelTradeDate  = RequestHead.tradeTime.Substring(0, 8);
        }
        public CarBusinessDetailInfoQueryRequest()
        {
            DateTime today = DateTime.Now;

            RequestHead = new RequestHead();
            CarBusinessDetailInfoQueryRequestMain = new CarBusinessDetailInfoQueryRequestMain();

            RequestHead.tradeTime    = DateTime.Now.ToString("yyyyMMddHHmmss");
            RequestHead.request_Type = "01";

            CarBusinessDetailInfoQueryRequestMain.Channel.channelCode       = "AEC16110001";
            CarBusinessDetailInfoQueryRequestMain.Channel.channelTradeCode  = "000005";
            CarBusinessDetailInfoQueryRequestMain.Channel.channelRelationNo = RequestHead.tradeTime;
            CarBusinessDetailInfoQueryRequestMain.Channel.channelTradeDate  = RequestHead.tradeTime.Substring(0, 8);
        }
Example #5
0
        public VehicleInformationQueryRequest()
        {
            RequestHead = new RequestHead();
            VehicleInformationQueryRequestMain = new VehicleInformationQueryRequestMain();


            DateTime today = DateTime.Now;

            RequestHead = new RequestHead();

            RequestHead.tradeTime     = DateTime.Now.ToString("yyyyMMddHHmmss");
            RequestHead.request_Type  = "01";
            RequestHead.response_Type = "01";

            VehicleInformationQueryRequestMain.Channel.channelCode       = "AEC16110001";
            VehicleInformationQueryRequestMain.Channel.channelTradeCode  = "000015";
            VehicleInformationQueryRequestMain.Channel.channelRelationNo = RequestHead.tradeTime;
            VehicleInformationQueryRequestMain.Channel.channelTradeDate  = RequestHead.tradeTime.Substring(0, 8);
        }