Skip to content

宠物档案说明文档


调用接口:

请求方式: GET(HTTPS)
请求地址: https://ms-ai.chongzhiling.com/api/v1.0/ai-b/pet-profile?pet_profile_id=[PET_PROFILE_ID]&token=[ACCESS_TOKEN]

返回结果:

json
{
  "data": {
    "age": "0岁3个月",
    "allergy_history": "无",
    "avatar": "https://angular00001.oss-cn-beijing.aliyuncs.com/applet.png",
    "birthday": "2024-09-09T12:00:00",
    "care_advice": null,
    "diet_standard": null,
    "disease_history": "无",
    "ex_info": {
      "bcs": "5",
      "posture": "正常",
    },
    "family_history": "无",
    "gender": "未知",
    "health_advice": null,
    "id": 35872,
    "is_del": 0,
    "is_neutered": "未绝育",
    "is_vaccination": 0,
    "name": "德文-123",
    "pet_type": "猫",
    "pet_variety": "旺财-123",
    "post_info": {},
    "vaccination_date": "2024-09-13T12:00:00",
    "weight": "2",
    "weight_info": "2Kg"
  },
  "message": "Get successfully.",
  "success": true
}

返回参数说明:

名称类型说明
agestring年龄
allergy_historystring过敏史
avatarstring宠物图片
birthdaystring出生日期
disease_historynull疾病史
ex_infoobject宠物档案拓展信息
ex_info.bcsstring宠物BCS指数,更新/创建宠物档案信息后台自动更新该值
ex_info.posturestring宠物体态,更新/创建宠物档案信息后台自动更新该值
family_historynull家族史
gendernumber性别: 1-公, 2-母, NULL[非1,2] 表示未知性别
is_neuterednumber是否绝育:0:未绝育,1:已绝育
is_vaccinationnull是否接种疫苗:是否接种疫苗
namestring宠物名称
pet_typenumber宠物类型:1-猫, 2-狗
pet_varietystring宠物品种
vaccination_datestring疫苗接种时间
weightstring体重(kg)

接口调试