文档中心 > API类目 > MMC物流域项目

alibaba.mmc.logistics.modifyhumanlabors (MMC物流域劳动力项目-员工信息编辑)

MMC物流域劳动力项目-员工信息编辑

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
human_labor_request HumanLaborRequest 可选 入参
  • └ merchant_code
  • String
  • 可选
  • xxx
  • 商家编码
  • └ emp_type
  • String
  • 可选
  • xxx
  • 员工类型
  • └ node_code
  • String
  • 可选
  • xxx
  • 中心仓编码
  • └ mobile
  • String
  • 可选
  • xxx
  • 手机号
  • └ source_code
  • String
  • 可选
  • xxx
  • 调用来源
  • └ hr_status
  • Number
  • 可选
  • 123
  • 人员在职状态
  • └ ext_info
  • String
  • 可选
  • xxx
  • 属性字段
  • └ out_trace_id
  • String
  • 可选
  • xxx
  • 外部TraceId
  • └ work_number
  • String
  • 可选
  • xxx
  • 服务商系统工号
  • └ dept_path
  • String
  • 可选
  • xxx
  • 员工所在部门(全路径)
  • └ name
  • String
  • 可选
  • xxx
  • 名称
  • └ post_code
  • String
  • 可选
  • xxx
  • 岗位编码

响应参数

名称 类型 示例值 描述
result ResultDTO 出参
  • └ success
  • Boolean
  • xxx
  • 是否成功
  • └ error_message
  • String
  • xxx
  • 错误信息
  • └ error_code
  • String
  • xxx
  • 错误码
  • └ content
  • Number
  • 123
  • 修改总数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMmcLogisticsModifyhumanlaborsRequest req = new AlibabaMmcLogisticsModifyhumanlaborsRequest();
AlibabaMmcLogisticsModifyhumanlaborsRequest.HumanLaborRequest obj1 = new AlibabaMmcLogisticsModifyhumanlaborsRequest.HumanLaborRequest();
obj1.setMerchantCode("xxx");
obj1.setEmpType("xxx");
obj1.setNodeCode("xxx");
obj1.setMobile("xxx");
obj1.setSourceCode("xxx");
obj1.setHrStatus(123L);
obj1.setExtInfo("xxx");
obj1.setOutTraceId("xxx");
obj1.setWorkNumber("xxx");
obj1.setDeptPath("xxx");
obj1.setName("xxx");
obj1.setPostCode("xxx");
req.setHumanLaborRequest(obj1);
AlibabaMmcLogisticsModifyhumanlaborsResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mmc_logistics_modifyhumanlabors_response>
    <result>
        <success>xxx</success>
        <error_message>xxx</error_message>
        <error_code>xxx</error_code>
        <content>123</content>
    </result>
</alibaba_mmc_logistics_modifyhumanlabors_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

返回
顶部