Phone: 15788888888 Email: 88888888@qq.com

客户推送

2022-09-03 11:03:20 276 温柔的风 数据推送 post请求

推送之前请先撞库

接口地址:http://101.200.147.69:2272/api/customer/pushCustomer


请求方法:POST


参数说明
名称 说明 类型 是否必填
channel_code
渠道编码,由负责人提供
int
phone
客户手机号,需加密传送。下方有说明 string
name
客户姓名 string
sex
性别,0:保密,1:男,2:女 int
age
年龄 int
quota
贷款额度,单位(元) int
house
房产,0:无房,1:本地房,2:外地房 int
car
车产,0:无车,1:有车 int
social_security
社保,0:无社保,1:有社保 int
pay_taxes
企业纳税,0:无企税,1:有企税 int
credit_card
信用卡,0:无信用卡,1:有信用卡 int
business_license
营业执照,0:无营业执照,1:有营业执照
int
micro_loan
微粒贷,0:无微粒贷,1:有微粒贷
int
accumulation_fund
公积金,0:无公积金,1:有公积金
int
insurance_policy
保单,0:无保单,1:有保单 int
marriage
婚姻,0:未婚/单身,1:离异,2:已婚 int
accumulation_fund_area
公积金缴纳地区,如"北京市"
string
accumulation_fund_term
公积金缴纳期限,单位(月)
int
accumulation_fund_count_quota
公积金已缴纳额度(元)
int
accumulation_fund_month_quota
公积金月缴纳金额(元)
int
work_unit
工作单位,如:“北京xxxxxx有限公司”
string
purchase_method
车辆购买方式,0:按揭,1:全款 int
car_full_payment_quota
车全款金额(万) int
car_present_price
车现价值(万)
int
car_service_life
车已使用年限(年)
int
vehicle_license_plate
车牌照,如:“京A8888888”
string
car_remark_info
车辆备注信息
string
hava_issued
有无代发,0:无,1:有 string
issued_type
工资代发类型,1:现金,2:银行卡
int
issued_info
代发明细
string
house_situation
房产抵押/按揭情况
1:已被抵押/按揭给银行机构,
2:已被抵押/按揭给非银行机构
int
total_price
房产购买总价,单位(万) int
house_region
房产地区,如“北京朝阳区”
string
house_area
房产面积,单位(平方米)
int
month_repayment
月还款额,单位(元)
int
house_present_price
房产现价,单位(万)
int
insurance_company
保单公司,如:“中国平安”
string
insurance_type
保险险种
string
insurance_quota
保单额度,单位(万)
int
insurance_years
保单年限,单位(年)
int
insurance_remark
保单额外信息
string
credit_card_count
信用卡数量,单位(张)
int
credit_card_count_quota
信用卡总额度,单位(元)
int
credit_card_used_quota
已用总额度,单位(元)
int
credit_card_remark
信用卡信息备注
string
hava_credit_loan
有无信用卡贷款
0:无信用卡贷款,1:有信用卡贷款
int
credit_loan_count_quota
信用贷款总额,单位(元)
int
credit_loan_balance
信用贷款总余额,单位(元)
int
credit_loan_month_repayment
月还款总数,单位(元)
int
credit_loan_remark
信用贷备注
string
housing_loan_quota
房贷额度,单位(元)
int
id_card
身份证
string
annual_income
年收入,单位(万)
int
professional_identity
职业身份,
0:无固定职业,1:工薪族,2:生意人
int

 


 

 

 

 

 

 

 

 

加密说明:

手机号加密方式先AES,再Base64,如:

要加密的手机号:15788888888,密钥:88888888,加密后的字符串为:Zy2YHJOsJ9rxKhLr6zNsOw==

php语言demo

 

推送实例:


返回说明

根据code码判断是否推送成功,code如果等于0,则表示成功;code如果等于-1,则表示推送失败,请及时联系需求方!

code msg 原因
-1000
非法请求!
非post请求
-2001
渠道编码不可为空!
缺少渠道编码
-2002
渠道编码错误!
渠道编码不正确
-3001
渠道密钥错误,请联系平台!
渠道密钥不正确,确定密钥是否正确
-4001
手机号不能为空!
缺少客户手机号
-4002
手机号解密错误,请确认密钥是否正确!
手机密钥解密错误,确定密钥是否正确
-4003
手机号格式不正确!
手机号格式不正确
-5001
客户姓名不能为空!
缺少客户姓名
0
客户推送成功!
推送成功
-1
客户推送失败!
推送失败,请及时联系需求方

 

 

 

Copyright ©
备案号:xxxxxxx

选择样式

选择布局
选择颜色
选择背景
选择背景