文档中心 > API类目 > 阿里健康追溯码

alibaba.alihealth.drug.kyt.relationdetail (关联关系处理详情)

关联关系处理详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
code_active_info_id String 必须 457e3c2f794842dcab2ec82a799a7acb 码激活文件上传信息标识
ref_ent_id String 必须 320000000000127967 企业ID
client_type String 必须 2 客户端ID【默认写2】

响应参数

名称 类型 示例值 描述
result ResultModel 0 接口返回model
  • model
  • CodeRelationDetailDto
  • 134523^4351232
  • model
  • code_relation_detail_list
  • CodeRelationDetailListDo []
  • 0
  • 关系详情列表
  • └ pkg_spec
  • String
  • 9袋/盒
  • 包装规格= 数量+ 制剂单位/包装单位
  • └ batch_num
  • String
  • 8
  • 制剂数量
  • └ duty_man
  • String
  • 99
  • 生产负责人
  • └ active_count
  • String
  • 2
  • 激活数量(激活总量)
  • └ other_num
  • String
  • 0
  • 最大包装数量
  • └ small_num
  • String
  • 2
  • 小码数量
  • └ produce_line
  • String
  • 59
  • 生产线
  • └ produce_factory
  • String
  • 9
  • 生产车间
  • └ pkg_ratio
  • String
  • 1
  • 包装比例信息
  • └ produce_date
  • String
  • 2014-05-12
  • 生产日期
  • └ exprie_date
  • String
  • 2015-05-12
  • 有效期至
  • └ produce_batch_no
  • String
  • 大输液对乙酰20140512002
  • 生产批次号
  • └ drug_id
  • String
  • 9de2037411a84d83b6204f3c1e9574bd
  • 药品商品基本信息标识
  • └ code_active_info_id
  • String
  • efae8cd1671448eeb1ed235a12d812e4
  • 关联关系文件信息标识
  • └ code_active_info_list_id
  • String
  • 368382f02b9f4c8792ecaa0f52d4d6ae
  • 药品激活信息标识
  • └ pkg_unit_desc
  • String
  • 包装单位
  • └ prepn_unit_desc
  • String
  • 制剂单位
  • code_relation_detail_info
  • CodeRelationDetailInfoDo
  • 0
  • 文件信息
  • └ process_date
  • String
  • 2014-05-12
  • 处理日期
  • └ relation_type
  • String
  • 2
  • 关联模式[2 后关联]
  • └ note
  • String
  • 0
  • 备注
  • └ process_flag
  • String
  • 3
  • 处理状态[1.待处理 3.处理成功 4.处理失败 ]
  • └ user_cert
  • String
  • a9cd
  • 上传者证书号
  • └ oper_ic_name
  • String
  • 123
  • 操作者姓名
  • └ oper_ic_code
  • String
  • 73000006167506
  • 操作者编号
  • └ file_name
  • String
  • 大输液对乙酰201405012002.xml
  • 关联关系文件名
  • └ upload_flag
  • String
  • 4
  • 上传状态
  • └ crt_date
  • String
  • 2014-05-12
  • 上传日期
  • └ active_date
  • String
  • 2014-05-12
  • 建立日期
  • └ other_num
  • String
  • 0
  • 最大包装数量
  • └ small_num
  • String
  • 2
  • 小码数量
  • └ active_count
  • String
  • 2
  • 激活数量(激活总量)
  • └ active_method
  • String
  • 0
  • 激活方式
  • └ apply_seq_no
  • String
  • 0
  • 追溯码申请单
  • └ code_active_info_id
  • String
  • efae8cd1671448eeb1ed235a12d812e4
  • 码激活文件上传信息标识
  • └ ent_id
  • String
  • 00000000000020671776
  • 企业id
  • └ msg_code
  • String
  • 1
  • msgCode
  • └ msg_info
  • String
  • 1
  • msgInfo
  • └ response_success
  • Boolean
  • false
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytRelationdetailRequest req = new AlibabaAlihealthDrugKytRelationdetailRequest();
req.setCodeActiveInfoId("457e3c2f794842dcab2ec82a799a7acb");
req.setRefEntId("320000000000127967");
req.setClientType("2");
AlibabaAlihealthDrugKytRelationdetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_relationdetail_response>
    <result>
        <model>
            <code_relation_detail_list>
                <code_relation_detail_list_do>
                    <pkg_spec>9袋/盒</pkg_spec>
                    <batch_num>8</batch_num>
                    <duty_man>99</duty_man>
                    <active_count>2</active_count>
                    <other_num>0</other_num>
                    <small_num>2</small_num>
                    <produce_line>59</produce_line>
                    <produce_factory>9</produce_factory>
                    <pkg_ratio>1</pkg_ratio>
                    <produce_date>2014-05-12</produce_date>
                    <exprie_date>2015-05-12</exprie_date>
                    <produce_batch_no>大输液对乙酰20140512002</produce_batch_no>
                    <drug_id>9de2037411a84d83b6204f3c1e9574bd</drug_id>
                    <code_active_info_id>efae8cd1671448eeb1ed235a12d812e4</code_active_info_id>
                    <code_active_info_list_id>368382f02b9f4c8792ecaa0f52d4d6ae</code_active_info_list_id>
                    <pkg_unit_desc>盒</pkg_unit_desc>
                    <prepn_unit_desc>袋</prepn_unit_desc>
                </code_relation_detail_list_do>
            </code_relation_detail_list>
            <code_relation_detail_info>
                <process_date>2014-05-12</process_date>
                <relation_type>2</relation_type>
                <note>0</note>
                <process_flag>3</process_flag>
                <user_cert>a9cd</user_cert>
                <oper_ic_name>123</oper_ic_name>
                <oper_ic_code>73000006167506</oper_ic_code>
                <file_name>大输液对乙酰201405012002.xml</file_name>
                <upload_flag>4</upload_flag>
                <crt_date>2014-05-12</crt_date>
                <active_date>2014-05-12</active_date>
                <other_num>0</other_num>
                <small_num>2</small_num>
                <active_count>2</active_count>
                <active_method>0</active_method>
                <apply_seq_no>0</apply_seq_no>
                <code_active_info_id>efae8cd1671448eeb1ed235a12d812e4</code_active_info_id>
                <ent_id>00000000000020671776</ent_id>
            </code_relation_detail_info>
        </model>
        <msg_code>1</msg_code>
        <msg_info>1</msg_info>
        <response_success>false</response_success>
    </result>
</alibaba_alihealth_drug_kyt_relationdetail_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

返回
顶部