alibaba.damai.mev.platform.getepidemiccontrolarea (大麦换验平台-换验平台-获取防疫城市)

大麦换验平台-换验平台-获取防疫城市

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
result Result result
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • Number
  • 1
  • 错误码
  • model
  • EpidemicControlAreaDTO []
  • 结果
  • └ area_name
  • String
  • 1
  • 地区名称
  • └ area_code
  • String
  • 1
  • 地区代码
  • └ enable_nucleic_time_setting
  • String
  • 1
  • 是否开启核酸时间设置
  • └ enable_antigen_time_setting
  • String
  • 1
  • 是否开启抗原时间设置
  • └ remark
  • String
  • 说明
  • 说明
  • └ error_msg
  • String
  • 1
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMevPlatformGetepidemiccontrolareaRequest req = new AlibabaDamaiMevPlatformGetepidemiccontrolareaRequest();
AlibabaDamaiMevPlatformGetepidemiccontrolareaResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<alibaba_damai_mev_platform_getepidemiccontrolarea_response>
    <result>
        <success>true</success>
        <error_code>1</error_code>
        <model>
            <epidemic_control_area_d_t_o>
                <area_name>1</area_name>
                <area_code>1</area_code>
                <enable_nucleic_time_setting>1</enable_nucleic_time_setting>
                <enable_antigen_time_setting>1</enable_antigen_time_setting>
                <remark>说明</remark>
            </epidemic_control_area_d_t_o>
        </model>
        <error_msg>1</error_msg>
    </result>
</alibaba_damai_mev_platform_getepidemiccontrolarea_response>

异常示例

  • XML示例
  • JSON示例
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>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部