关于Banno平台/users/<user_id>/端点手机号返回异常的技术问询
Banno平台用户详情端点手机号返回异常问题
在为一家新金融机构搭建Banno平台集成服务时,发现用户详情端点/users/<user_id>/存在异常:仅当用户设置了标注为“Mobile”且非空的手机号时,该端点才会返回手机号;若用户无有效“Mobile”标注手机号,但持有其他标注的有效手机号,该端点将返回null。
无有效“Mobile”标注手机号的用户案例
手机号端点/users/<user_id>/phones返回结果:
[ {"label": "Home", "phoneNumber": "1236551456"}, {"label": "Mobile", "phoneNumber": ""}, {"label": "Work", "phoneNumber": ""} ]
用户数据端点/users/<user_id>/返回结果:
{ ... "userId": "5697e119-ce6a-416a-bf9e-6b41fcdc7aed", "id": "5697e119-ce6a-416a-bf9e-6b41fcdc7aed", "phoneNumber": null }
有有效“Mobile”标注手机号的用户案例
手机号端点/users/<user_id>/phones返回结果:
[ {"label": "Home", "phoneNumber": ""}, {"label": "Mobile", "phoneNumber": "1236551456"}, {"label": "Work", "phoneNumber": ""} ]
用户数据端点/users/<user_id>/返回结果:
{ ... "userId": "eaf27417-fc3b-447d-b35b-39312dc51884", "id": "eaf27417-fc3b-447d-b35b-39312dc51884", "email": "***@BROOKLYN.COOP", "phoneNumber": "+11236551456" }
注:上述用户ID为真实数据,可用于问题核查。
对比已集成机构的正常表现
已完成集成的Central National Bank机构无此问题:该机构的“Mobile”标注手机号仅为优先返回项,若无则返回任意可用手机号,且端点返回的手机号无前缀“+1”,与当前机构的表现存在明显差异。
内容的提问来源于stack exchange,提问作者Aleksandr Safaryants
相关产品推荐
相关产品推荐

