企业修改员工信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
open_request | OpenRequest | 必须 | 入参标准结构体 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 出参 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaMpmwAccountEmployeeEditRequest req = new AlibabaMpmwAccountEmployeeEditRequest(); AlibabaMpmwAccountEmployeeEditRequest.OpenRequest obj1 = new AlibabaMpmwAccountEmployeeEditRequest.OpenRequest(); AlibabaMpmwAccountEmployeeEditRequest.EmployeeReq obj2 = new AlibabaMpmwAccountEmployeeEditRequest.EmployeeReq(); obj2.setOuterId( "12345678" ); obj2.setRoleIds( new Long[] { 1 , 2 , 3 }; ); obj2.setName( "张三" ); obj1.setParam(obj2); req.setOpenRequest(obj1); AlibabaMpmwAccountEmployeeEditResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < alibaba_mpmw_account_employee_edit_response > < result > < message_info >成功</ message_info > < message_code >0</ message_code > < message_flag >true</ message_flag > </ result > </ alibaba_mpmw_account_employee_edit_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|