- 系统服务
- 认证服务
- 资源服务
- 代码生成
- 云端系统服务
- 医科大基础服务
- 体测评分标准
- 预约项目管理
- 预约用户记录批次
- 体测任务
- 体测项目
- 体测设备管理
- 系统用户
- 终端相关接口
- 计划模板
- 项目动作指标
- 科目表
- 训练记录目标表
- 训练记录表
- 计划内容
- 计划小组
- 探头相关接口
- app端运动模块相关接口
- 临时班级学员表
- 临时班级表
- app端教师功能模块相关接口
- 角色
- 单位
- 手机号变更审核
- 体测记录
- 体测成绩报告登记
- 外部对接
- 盒子日志
- 设备授权码
- 点赞收藏表
- 体测成绩分析
- AI跑步回调相关接口
- 跑步编排
- 学生报名预约
- 发送通知测试GET
- 中小学一体机
新增体测项目
POST
/ykd-base-system/fitnessItem
体测项目
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Clientid
string
可选
默认值:
{{client_id}}
Body 参数application/json
体测项目业务对象 side_fitness_item
params
object
请求参数
额外字段
object
可选
itemId
integer <int64>
主键
示例值:
922337203685477600
itemNo
string <string>
项目编号
itemName
string <string>
项目名称
abbreviation
string <string>
简称
itemIcon
string <string>
项目图标
unit
string <string>
单位
weight
number
分数权重
decimalPlaces
integer <int32>
小数位数
applicableSex
integer <int32>
必需
bestType
integer <int32>
必需
itemTimes
integer <int32>
考试次数(次)
itemDuration
integer <int32>
考试时长(秒)
applicableSexList
array[integer <int32>]
可选
weightGTZero
boolean
可选
示例
{
"params": {
"property1": {},
"property2": {}
},
"itemId": 922337203685477600,
"itemNo": "string",
"itemName": "string",
"abbreviation": "string",
"itemIcon": "string",
"unit": "string",
"weight": 0,
"decimalPlaces": 0,
"applicableSex": 0,
"bestType": 0,
"itemTimes": 0,
"itemDuration": 0,
"applicableSexList": [
0
],
"weightGTZero": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.20.159:8080/ykd-base-system/fitnessItem' \
--header 'Authorization: Bearer ' \
--header 'Clientid: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"property1": {},
"property2": {}
},
"itemId": 922337203685477600,
"itemNo": "string",
"itemName": "string",
"abbreviation": "string",
"itemIcon": "string",
"unit": "string",
"weight": 0,
"decimalPlaces": 0,
"applicableSex": 0,
"bestType": 0,
"itemTimes": 0,
"itemDuration": 0,
"applicableSexList": [
0
],
"weightGTZero": true
}'
返回响应
🟢200OK
application/json
Body
响应信息主体
code
integer <int32>
消息状态码
msg
string
消息内容
data
object
数据对象
示例
{
"code": 0,
"msg": "string",
"data": {}
}