[B074] 药物里程碑

post
https://connect.zhihuiya.com/synapse/drug/milestone
在体验中心中试用

获取药物里程碑,包括里程碑、事件、适应症、国家、机构等信息

请求参数

此 API 接口支持的参数列表

名称类型示例描述
offset
integer<int64>-
偏移量,默认0
limit
integer<int64>10
返回条数,默认10。limit最大设置100
drug_id
必填
string69fdd1486c554a3d86a8c38c60bf6e3b
药物ID
sort_order
stringdesc
按事件时间排序,排序方式,支持:desc,asc
milestone
array[ "773127276f7a4b229f3932d9487c57a9", "273b0df9aad347fd8d36ebd8ae0c1cbd", "8b32a9b6c03f4bafb8ee22dfcd589943" ]
里程碑ID
event_id
array[ "7b79728539354f189772a4eab9cc9fff", "f835774c48404593b64ef05369eb8eba", "78c45f1d523646808032edcff807ca59" ]
事件ID
disease_id
array[ "7af6661c23e8485d9f1dad6a94914fe3" ]
适应症ID
country_id
array[ "0dc5d896-7408-3c87-84c0-22e3d9b784be" ]
国家/区域
organization_id
array[ "16e33268b7ffba870d1f7a78de820ed5" ]
机构ID
event_start_time
integer<int64>20150101
事件开始时间
event_end_time
integer<int64>20251231
事件结束时间

响应结构

API 响应数据的结构说明

字段名类型示例描述
data
object-
响应数据
items
arrayPlease check the form: DrugMilestoneResponseDetail
查询结果
date
string2025-09-09
日期
event
arrayPlease check the form: CommonEntity
事件
id
string11acf267a4fc42f392751e023482aac3
ID
display_name
array[ { "lang": "EN", "name": "CTNNB1 Mutation" } ]
名称,引用“CommonName”
lang
stringEN
语言
name
stringRanibizumab (Genentech)
药物、靶点、机构、适应症、国家/地区、字典、作用机制等 名称
country
arrayPlease check the form: CommonCountry
国家/地区
country_id
string676de5ba-893a-36bb-8683-c93306aaf769
国家地区ID
alpha2_code
stringUS
国家编码
display_name
array[ { "lang": "EN", "name": "United States" }, { "lang": "CN", "name": "美国" } ]
国家地区名称
disease
arrayPlease check the form: CommonDisease
适应症
disease_id
string06a9082fe1ec4c97bea31d888b9cfdce
适应症ID
display_name
array[ { "lang": "EN", "name": "Uveitic Macular Edema" }, { "lang": "CN", "name": "葡萄膜炎黄斑水肿" } ]
适应症名称,引用“CommonName”
description
arrayPlease check the form: CommonName
描述
event_status
objectPlease check the form: CommonEntity
事件状态
organization
arrayPlease check the form: CommonOrganization
机构
display_name
array[ { "lang": "EN", "name": "Roche Holding AG" }, { "lang": "CN", "name": "罗氏" } ]
机构名称,引用“CommonName”
organization_id
string87bfaf037f8e60c9e25595cd98bb27e4
机构ID
milestone_tag
arrayPlease check the form: CommonName
里程碑标签
limit
integer<int64>10
返回条数
total
integer<int64>1
总量
offset
integer<int64>-
偏移量
status
必填
booleanfalse
状态
error_msg
stringThe request parameter format is incorrect!
错误信息
error_code
必填
integer0
错误代码

成功响应示例

成功调用 API 的响应示例

JSON
{
  "data": {
    "items": [
      {
        "date": "2025-09-09",
        "event": [
          {
            "id": "11acf267a4fc42f392751e023482aac3",
            "display_name": [
              {
                "lang": "EN",
                "name": "Ranibizumab (Genentech)"
              }
            ]
          }
        ],
        "country": [
          {
            "country_id": "676de5ba-893a-36bb-8683-c93306aaf769",
            "alpha2_code": "US",
            "display_name": [
              {
                "lang": "EN",
                "name": "Ranibizumab (Genentech)"
              }
            ]
          }
        ],
        "disease": [
          {
            "disease_id": "06a9082fe1ec4c97bea31d888b9cfdce",
            "display_name": [
              {
                "lang": "EN",
                "name": "Ranibizumab (Genentech)"
              }
            ]
          }
        ],
        "description": [
          {
            "lang": "EN",
            "name": "Ranibizumab (Genentech)"
          }
        ],
        "event_status": {
          "id": "11acf267a4fc42f392751e023482aac3",
          "display_name": [
            {
              "lang": "EN",
              "name": "Ranibizumab (Genentech)"
            }
          ]
        },
        "organization": [
          {
            "display_name": [
              {
                "lang": "EN",
                "name": "Ranibizumab (Genentech)"
              }
            ],
            "organization_id": "87bfaf037f8e60c9e25595cd98bb27e4"
          }
        ],
        "milestone_tag": [
          {
            "lang": "EN",
            "name": "Ranibizumab (Genentech)"
          }
        ]
      }
    ],
    "limit": 10,
    "total": 1,
    "offset": 0
  },
  "status": true,
  "error_code": 0
}

错误码

此接口可能返回的错误码列表

业务错误码

错误码描述
68300004请求参数异常!
68300005查询Api失败!
68300006解析基本存取错误!
68300007存在错误的请求!
68300008服务中断异常,请稍后再试!
68300010文件不符合上传规范!

平台错误码

错误码描述
67200000API整体限流错误!
67200001API整体限流错误!
67200002当前调用速率过快,超过当前配置限制QPS!
67200003申请token的key和secret传参不正确或者客户端已被禁用!
67200004请求的接口无权限请联系我们的支持人员!
67200005账户余额/调用次数不足!
67200006客户端超过开通有效期!
67200007当前调用超过当天配置使用额度!
67200008请检查query参数中必填的apikey是否传输!
67200009apikey与所传的bearerToken不匹配,请检查是否使用在有效期内的token!
67200012请求不合法!
67200100当前服务器状态正忙,请求响应超时!
67200101当前请求的Api不存在请检查请求Path!

HTTP 状态码

状态码描述
0请求成功
201Created
401Unauthorized
403Forbidden
404Not Found

性能指标

此接口的预期性能特征

正常响应时间

5000 ms

最大响应时间

10000 ms