文档中心 > API类目 > 法务服务API

alibaba.lvms.lvr.importcallcustomer (导入客户)

导入客户

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
rpc_context Json 可选 {} RpcContext
ivr_import_customer_d_t_o IvrImportCustomerDto 可选 ivrImportCustomerDTO
  • └ robot_call_job_id
  • Number
  • 可选
  • 3
  • 坏账平台IVR任务Id
  • customer_d_t_o_list
  • CallCustomerDto []
  • 可选
  • customerDTOList
  • └ serial_number
  • String
  • 可选
  • xxxxx
  • 坏账平台主键编号
  • └ name
  • String
  • 可选
  • xxxxx
  • 债务人
  • └ phone_number
  • String
  • 可选
  • xxxxx
  • 联系电话
  • └ alternate_phone_numbers
  • String
  • 可选
  • xxxxx
  • 副号码(多个逗号拼接)
  • └ properties
  • String
  • 可选
  • 自定义字段

响应参数

名称 类型 示例值 描述
lvms_result_d_t_o LvmsResultDto lvmsResultDTO
  • └ count
  • Number
  • 10
  • 返回数量
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ code
  • String
  • xxxxx
  • 操作编码
  • └ message
  • String
  • xxxxx
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaLvmsLvrImportcallcustomerRequest req = new AlibabaLvmsLvrImportcallcustomerRequest();
req.setRpcContextString("{}");
AlibabaLvmsLvrImportcallcustomerRequest.IvrImportCustomerDto obj1 = new AlibabaLvmsLvrImportcallcustomerRequest.IvrImportCustomerDto();
obj1.setRobotCallJobId(3L);
List<AlibabaLvmsLvrImportcallcustomerRequest.CallCustomerDto> list3 = new ArrayList<AlibabaLvmsLvrImportcallcustomerRequest.CallCustomerDto>();
AlibabaLvmsLvrImportcallcustomerRequest.CallCustomerDto obj4 = new AlibabaLvmsLvrImportcallcustomerRequest.CallCustomerDto();
list3.add(obj4);
obj4.setSerialNumber("xxxxx");
obj4.setName("xxxxx");
obj4.setPhoneNumber("xxxxx");
obj4.setAlternatePhoneNumbers("xxxxx");
obj4.setProperties("");
obj1.setCustomerDTOList(list3);
req.setIvrImportCustomerDTO(obj1);
AlibabaLvmsLvrImportcallcustomerResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_lvms_lvr_importcallcustomer_response>
    <lvms_result_d_t_o>
        <count>10</count>
        <success>false</success>
        <code>xxxxx</code>
        <message>xxxxx</message>
    </lvms_result_d_t_o>
</alibaba_lvms_lvr_importcallcustomer_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部