Skip to main content

一、基本信息


接口名称:获取全部教室信息接口

接口说明:获取学校所有教室(场地)信息列表

请求地址:${BASEURL}/dataconnectorserv/integration/basic/getLocations

请求方式:POST

请求类型:application/json

接口频率:接口调用上限500次/天

接口版本:3.0

修改日期:2023-12-05

二、请求参数


参数名类型是否必填说明
appKeyString平台提供的唯一标识
schoolIDString学校ID,从学校列表获取
{
"appKey": "36s2zllw",
"schoolID": "wca5opSRt2tyyBSLqOjdoS=="
}

三、响应结果


响应参数名称响应参数类型是否有值说明
locationsArray场地信息列表
locationIDString场地ID
locationNameString代表xx楼xx号房间,全校唯一
buildingString代表建筑物,null值,表示没有教学楼
groupString位置分组标签(表示是个抽象的分组如“校区+教学楼+门牌号”)
{
"code": 0,
"status": "success",
"result": {
"locations": [
{
"locationID": "1",
"locationName": "初一1班",
"building": "小福楼",
"group": "东校区"
},
{
"locationID": "2",
"locationName": "操场",
"building": null,
"group": null
},
{
"locationID": "3",
"locationName": "初一2班",
"building": null,
"group": "东校区"
}
]
}
}