文档中心 > API类目 > 淘宝定制行业API

tmall.industry.baby.authprofile.backflow (孕校云回流档案)

孕校云回流档案

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
yxy_baby_profile_cmd YxyBabyProfileCmd 必须 回流的档案数据
  • └ birthday
  • Date
  • 必须
  • 2021-01-12 12:12:12
  • 出生年月或者预产期
  • └ gender
  • Number
  • 可选
  • 2
  • 性别
  • └ profile_id
  • Number
  • 必须
  • 1
  • 授权id
  • └ baby_type
  • Number
  • 必须
  • 1
  • 宝贝类型

响应参数

名称 类型 示例值 描述
result_status Boolean true 接口调用是否成功
msg_message String 系统错误 错误信息
msg_code String system_error 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallIndustryBabyAuthprofileBackflowRequest req = new TmallIndustryBabyAuthprofileBackflowRequest();
TmallIndustryBabyAuthprofileBackflowRequest.YxyBabyProfileCmd obj1 = new TmallIndustryBabyAuthprofileBackflowRequest.YxyBabyProfileCmd();
obj1.setBirthday(StringUtils.parseDateTime("2021-01-12 12:12:12"));
obj1.setGender(2L);
obj1.setProfileId(1L);
obj1.setBabyType(1L);
req.setYxyBabyProfileCmd(obj1);
TmallIndustryBabyAuthprofileBackflowResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_industry_baby_authprofile_backflow_response>
    <result_status>true</result_status>
    <msg_message>系统错误</msg_message>
    <msg_code>system_error</msg_code>
</tmall_industry_baby_authprofile_backflow_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

返回
顶部