POST GDTV/v3/ZKManageWeb/SaveSchAndOrg
保存机构
Request
URI Params
None.
Body Params
数据
SchAndOrgEditWebModel| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| Name |
机构简称 |
string |
None. |
| FName |
机构全称 |
string |
None. |
| ExpGLevel |
机构层级 |
WorkWechatCorpLevel |
None. |
| Phases |
教育阶段(当机构层级为学校时必传) |
Collection of SchPhase |
None. |
| Pic |
机构Logo |
string |
None. |
| ProvinceID |
省 |
integer |
None. |
| CityID |
市 |
integer |
None. |
| CountyID |
县 |
integer |
None. |
| AuxID |
所属服务ID |
integer |
None. |
| GID |
机构ID |
integer |
None. |
| ExpType |
扩展机构类型 默认为学校类型 |
GroupExpandType |
None. |
| PGID |
父机构ID 学校类型 不填 |
integer |
None. |
| FormatID |
版式ID |
integer |
None. |
| PackID |
产品包ID |
integer |
None. |
| ExpParentIDs |
所属管理机构 |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"FName": "sample string 2",
"ExpGLevel": "11",
"Phases": [
30010,
30010
],
"Pic": "sample string 3",
"ProvinceID": "4",
"CityID": "5",
"CountyID": "6",
"AuxID": 7,
"GID": "8",
"ExpType": 0,
"PGID": "9",
"FormatID": "10",
"PackID": 11,
"ExpParentIDs": [
"sample string 1",
"sample string 2"
]
}
application/x-www-form-urlencoded
Sample:
Response
APIResult| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
| ErrCode |
错误代码,因功能而异 |
integer |
None. |
| Msg |
返回信息 |
string |
None. |
| SeqId |
请求序列 |
integer |
None. |
| InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{
"Ret": 1,
"ErrCode": 2,
"Msg": "sample string 3",
"SeqId": 4,
"InfoMsg": "sample string 5"
}