1. 根据学号查询学分信息

1.1. 协议

  • REST-URL: /score/getScoreByStuNo
  • REST-HTTP-Method: POST
  • COUTENT-TYPE:application/x-www-form-urlencoded; charset=UTF-8

1.2. 请求参数

公共参数: 点击查看

业务参数:

字段名称 类型 长度 是否必填 字段说明
studentNo String 64 YES 学生学号

1.3. 响应参数

字段名称 类型 字段说明
data String 如果有数据返回内容
success Boolean 请求处理结果状态
msg String 接口调用结果提示信息
code String 状态码

data 数据:

字段名称 类型 长度 是否必填 字段说明
total long 64 YES 总数据量
list List YES 学分信息

list 数据:

字段名称 类型 长度 是否必填 字段说明
schoolId String 32 YES 学校id
schoolName String 32 YES 学校名称
collegeId String 32 YES 学院id
collegeName String 128 YES 学院名称
classNo String 16 YES 班级 如:2018
studentNo String 32 YES 学号
studentName String 32 YES 学生姓名
createDate String 32 YES 获取时间 如:2019-03-27 11:01:26
createName String 32 YES 发送人
identificationCode String 32 YES 唯一识别码
joinDate String 32 YES 年级 如:2018
joinStartDate String 32 YES 参与开始时间 如:2018-08-12
joinEndDate String 32 YES 参与结束时间 如:2018-08-12
categoryId String 32 YES 一级分类id
categoryName String 32 YES 一级分类名称
typeName String 32 YES 二级分类名称
typeId String 32 YES 二级分类id
num String 32 YES 学分数量 如:0.02
reason String 32 YES 获取原因
scoreId String 32 YES 学分类型id
scoreName String 32 YES 学分类型
tradeStatus String 32 YES 发放状态 如:成功/退回
unitName String 32 YES 单位 如:学分/学时

1.4. https请求参数示例

https://openapi.5idream.net/score/getScoreByStuNo?
openId=20140723000007123&token= 680B3D353FC59D0EA57C96759A63D8FD &sign_type=MD5&sign=680B3D353FC59D0EA57C96759A63D8FD&
info_content={
"studentNo":"10086"
}&md5_salt=010Aed85

1.5. 响应参数示例

{
"code": "100",
"data": "swadfwfsffweswadfwfsffweswadfwfsffweswadfwfsffweswadfwfsffweswadfwfsffweswadfwfsffwe",
"msg": "操作成功",
"success": true
}

1.6. data解密后格式

[{
        "schoolId": "学校id",
        "schoolName": "学校名称",
        "collegeId": "学院id",
        "collegeName": "学院名称",
        "classNo": "班级 如:2018",
        "studentNo": "学号",
        "studentName": "学生姓名",
        "createDate": "获取时间 如:2019-03-27 11:01:26",
        "createName": "发送人",
        "identificationCode": "唯一识别码",
        "joinDate": "年级 如:2018",
        "joinEndDate": "2017-12-26",
        "joinStartDate": "2017-12-26",
        "categoryId": "一级分类id",
        "typeId": "二级分类id",
        "categoryName": "一级分类名称",
        "typeName": "二级分类名称",
        "num": "学分数量 如:0.02",
        "reason": "获取原因",
        "scoreId": "学分类型id",
        "scoreName": "学分类型",
        "tradeStatus": "发放状态 如:成功/退回",
        "unitName": "单位 如:学分/学时"
    },{
        "categoryId": 5429,
        "categoryName": "技能特长",
        "classNo": "英语1551",
        "collegeId": "310",
        "collegeName": "梦想剧场",
        "createDate": "2018-09-29 10:07:54",
        "createName": "sea",
        "identificationCode": "291463",
        "joinDate": "2018",
        "joinEndDate": "2018-09-29",
        "joinStartDate": "2018-09-29",
        "num": "1.00",
        "reason": "取消报名",
        "schoolId": "19",
        "schoolName": "到梦大学",
        "scoreId": 311,
        "scoreName": "表演课",
        "studentName": "sea",
        "studentNo": "185181",
        "tradeStatus": "成功",
        "typeId": 5430,
        "typeName": "技能特长",
        "unitName": "积分",
        "updateTime": "2018-09-29 10:07:54.291463"
    }]

1.7. 异常响应说明

code编码 字段说明
9000001 接口调用频繁
9000002 学号不能为空
9000003 学生信息不存在

Copyright © 5idream.net 2018 all right reserved该文件修订时间: 2024-12-17 16:50:57

results matching ""

    No results matching ""