体质辨识结果查询
GET
https://www.tizhicm.com/open-api/openapi_constitution/list
Query 参数
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用凭证 |
limit | string | 否 | 每页条数(最大数量为100,默认30) |
offset | string | 否 | 偏移量(默认 0) |
id_card | string | 否 | 身份证号 |
返回参数
参数 | 类型 | 说明 |
---|---|---|
errcode | int | 返回码 |
errmsg | string | 返回装填描述 |
id | int | 辨识ID |
data_source | int | 来源 1 后台添加 2 公众号来源 |
created_at | int | 创建时间 |
customer.birthday | int | 客户生日 |
customer.phone | string | 客户手机号 |
customer.id_card | string | 客户身份证号 |
customer_age | int | 客户年龄 |
customer_gender | int | 客户性别 性别 1 男 2 女 |
customer_height | int | 身高 CM |
customer_name | string | 客户姓名 |
customer_waistline | int | 客户腰围 CM |
customer_weight | int | 客户体重KG |
a_score | float | 平和体质得分 |
b_score | float | 气虚质得分 |
c_score | float | 阳虚质得分 |
d_score | float | 阴虚质得分 |
e_score | float | 痰湿体质得分 |
f_score | float | 湿热质得分 |
g_score | float | 血瘀质得分 |
h_score | float | 气郁质得分 |
i_score | float | 特禀质得分 |
constitution.level | int | 主体质级别:2:倾向是,1:是 0 否 |
constitution.type | str | 主体质名称 |
created_at | int | 辨识时间 (毫秒值) |
option_details | json | 选项集合 |
other_constitution.level | int | 兼夹体质级别 2:倾向是,1:是 0 否 |
other_constitution.type | int | 兼夹体质名称 |
option_details | string | 选项记录 |
sickness | array[string] | 疾病 |
version | int | 版本 |
credible | int | 辨识结果可信度(1:可信; 2:不完全可信; ) |
- 其中返回的体质特殊代码编号如下所示 (A = 平和质 B = 气虚质 C = 阳虚质 D = 阴虚质 E = 痰湿质 F = 湿热质 G = 血瘀质 H = 气郁质 I = 特禀质)
- 体质level代表这个体质的级别,当显示时需要用该数据作为依据
返回实例
{
"errcode": 0,
"errmsg": "ok",
"items": [
{
"a_score": 68.75,
"b_score": 18.75,
"c_score": 0.0,
"constitution": {
"level": 1,
"type": "H"
},
"created_at": 17****0,
"credible": 1,
"customer": {
"birthday": 27***00,
"created_at": 1741863945,
"gender": 1,
"height": 168,
"id_card": "131***************",
"name": "王**",
"phone": "",
"sickness": [],
"source": 2,
"waistline": null,
"weight": 74.0
},
"customer_age": 46,
"customer_gender": 1,
"customer_height": 168,
"customer_id": 32****1,
"customer_name": "王**",
"customer_waistline": null,
"customer_weight": 74.0,
"d_score": 31.25,
"data_source": 2,
"e_score": 37.5,
"f_score": 25.0,
"g_score": 21.43,
"h_score": 50.0,
"i_score": 17.86,
"id": "1201928374968243",
"option_details": {
"CA01": 3,
"CA02": 2,
"CA03": 1,
"CA04": 1,
"CA05": 2,
"CA06": 3,
"CA07": 2,
"CA08": 4,
"CA09": 4,
"CA10": 3,
"CA11": 2,
"CA12": 1,
"CA13": 1,
"CA14": 3,
"CA15": 3,
"CA16": 2,
"CA17": 1,
"CA18": 1,
"CA19": 1,
"CA20": 1,
"CA21": 1,
"CA22": 1,
"CA23": 4,
"CA24": 1,
"CA25": 1,
"CA26": 2,
"CA27": 3,
"CA28": 4,
"CA29": 1,
"CA30": 1,
"CA31": 1,
"CA32": 1,
"CA33": 1,
"CA34": 3,
"CA35": 3,
"CA36": 1,
"CA37": 1,
"CA38": 1,
"CA39": 3,
"CA40": 4,
"CA41": 3,
"CA42": 1,
"CA43": 2,
"CA44": 4,
"CA45": 1,
"CA46": 4,
"CA47": 4,
"CA48": 3,
"CA49": 3,
"CA50": 3,
"CA51": 2,
"CA52": 1,
"CA53": 4,
"CA54": 1,
"CA55": 1,
"CA56": 1,
"CA57": 2,
"CA58": 3,
"CA59": 1,
"CA61": 1
},
"other_constitution": [
{
"level": 2,
"type": "E"
},
{
"level": 2,
"type": "D"
}
],
"sickness": [],
"version": 1
}
],
"total": 1
}