公共-家长列表
URL:/common/parent_list
请求方式:GET
参数 |
说明 |
Authorization |
access_token访问令牌 |
参数:
名称 |
必选 |
类型 |
说明 |
school_code |
true |
char |
学校编码 |
page |
false |
int |
当前页数 默认为1 |
per_page |
false |
int |
获取每页显示数量 默认为20,上限999 |
响应:
名称 |
类型 |
说明 |
status |
int |
状态 |
msg |
char |
返回信息 |
open_id |
char |
用户唯一标识id |
account |
char |
账号 |
mobile |
char |
手机 |
student_open_id |
char |
学生唯一标识id |
identity |
int |
家长身份 1:父亲 2:母亲 3:家属 |
JSON示例:
成功返回
{
"list":[
{
"open_id": "6E218369-15F2-4E98-8735-2A8AF7E26479",
"account": "100101",
"mobile": "13812259841",
"detail": [
{
"student_open_id": "7071EC2A-3406-4226-8145-41262FD2D4YG",
"identity": 1
},
{
"student_open_id": "2FD2D4YG-3406-4226-8145-7071EC2A4126",
"identity": 1
},
]
},
{
"open_id": "6E218369-15F2-4E98-8735-2A8AF7E26479",
"account": "100101",
"mobile": "13812259841",
"detail": [
{
"student_open_id": "7071EC2A-3406-4226-8145-41262FD2D4YG",
"identity": 1
}
]
}
],
"pagenation": {
"page": 1,
"total": 29
}
}
失败返回
{
"status": <ErrorCode>,
"msg": <ErrorMessage>
}