- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
修改自动升年级的配置
POST
http://127.0.0.1/cgi-bin/school/set_upgrade_info
第三方应用开发/家校沟通/部门管理
最后修改时间:2022-08-30 03:03:37
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/92949
https://open.work.weixin.qq.com/api/doc/90001/90143/92950
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
upgrade_time
integer <int32>
可选
upgrade_switch
integer <int32>
可选
示例
{
"upgrade_time": 1594090969,
"upgrade_switch": 2
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/school/set_upgrade_info?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"upgrade_time": 1594090969,
"upgrade_switch": 2
}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
errmsg
string
可选
next_upgrade_time
integer <int32>
可选
示例
{
"errcode": 0,
"errmsg": "string",
"next_upgrade_time": 0
}

修改于 2022-08-30 03:03:37