儿童版体质辨识(7-14岁)

POST https://www.tizhicm.com/open-api/school_children/identify

1.请对数据进行整合,请将全部的题目数据作为参数,缺少题目或选项将无法得到辨识结果!

2.题目分数需要按照量表返回的标准分数进行赋值,如果高于上限分数或者低于下限分数将不能进行辨识。

3.体质辨识是根据需求人真实的身体感受情况所分析得到的结果,所以为保证辨识的准确性请提示用户按照最近一年的身体实际感受来进行量表的填写

Query 参数

参数 类型 必填 说明
access_token string 调用凭证

Body 参数 (application/json)

参数 类型 必填 说明
options json (题目code做key【字符类型】得分分数做value【int类型】)
user object 用户参数体
user.age int 年龄
user.gender string 性别 (male,female)

请求示列

{    "user":{
    "age":"12",
    "male":"male"
},
    "options":{
        "CSC01": 3,
        "CSC02": 3,
        "CSC03": 3,
        "CSC04": 3,
        "CSC05": 3,
        "CSC06": 3,
        "CSC07": 3,
        "CSC08": 3,
        "CSC09": 3,
        "CSC10": 3,
        "CSC11": 3,
        "CSC12": 3,
        "CSC13": 3,
        "CSC14": 3,
        "CSC15": 3,
        "CSC16": 3,
        "CSC17": 3,
        "CSC18": 3,
        "CSC19": 3,
        "CSC20": 3,
        "CSC21": 3,
        "CSC22": 3,
        "CSC23": 3,
        "CSC24": 3,
        "CSC25": 3,
        "CSC26": 3,
        "CSC27": 3,
        "CSC28": 3,
        "CSC29": 3,
        "CSC30": 3,
        "CSC31": 3,
        "CSC32": 3,
        "CSC33": 3,
        "CSC34": 3,
        "CSC35": 3,
        "CSC36": 3,
        "CSC37": 3,
        "CSC38": 3,
        "CSC39": 3,
        "CSC40": 3,
        "CSC41": 3,
        "CSC42": 3,
        "CSC43": 3,
        "CSC44": 3,
        "CSC45": 3,
        "CSC46": 3,
        "CSC47": 3,
        "CSC48": 3,
        "CSC49": 3,
        "CSC50": 3,
        "CSC51": 3
    }}

返回参数

参数 类型 说明
errcode int 返回码
errmsg string 返回装填描述
result object 返回信息
result.a_score float 平和体质得分
result.b_score float 气虚质得分
result.c_score float 阳虚质得分
result.d_score float 阴虚质得分
result.e_score float 痰湿体质得分
result.f_score float 湿热质得分
result.g_score float 血瘀质得分
result.h_score float 气郁质得分
result.i_score float 特禀质得分
result.constitution.level int 体质级别 2:倾向是,1:是 0 否
result.constitution.type str 主体质名称
result.created_at int 辨识时间 (毫秒值)
result.other_constitution.level int 兼夹体质级别 体质级别 1-是,2-倾向是
constitution_state str 'success' 正常辨识体质; 'unknown' 未能辨识体质
result.other_constitution.type int 兼夹体质名称
result.version int 版本
  1. 其中返回的体质特殊代码编号如下所示 (A = 平和质 B = 气虚质 C = 阳虚质 D = 阴虚质 E = 痰湿质 F = 湿热质 G = 血瘀质 H = 气郁质 I = 特禀质)
  2. 体质level代表这个体质的级别,当显示时需要用该数据作为依据

返回实例

{
    "errcode": 0,
    "errmsg": "string",
    "a_score": 0,
    "b_score": 0,
    "c_score": 0,
    "constitution": {
        "level": 0,
        "type": "string"
    },
    "created_at": 0,
    "d_score": 0,
    "e_score": 0,
    "f_score": 0,
    "g_score": 0,
    "h_score": 0,
    "i_score": 0,
    "other_constitution": [
        {
            "level": 0,
            "type": "string"
        }
    ],
    "version": "string"
}
Copyright © https://www.tizhicm.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2025-04-30 02:26:42

results matching ""

    No results matching ""