超算_获取账号信息
接口地址:https://passport.nchu.edu.cn/API/API.ashx
方法名称:
接口介绍:
====超算平台=======
1.获得主账户
接口:https://passport.nchu.edu.cn/api/api.ashx?action=GetHPCMainAccount&siteid=[站点ID]&xgh=[学工号(不含@后缀域)]
正确返回:
{"code": 0,"msg":"","content":[{"label": "名称","value": "账户名"}]}
2.获得计费账户
接口:https://passport.nchu.edu.cn/api/api.ashx?action=GetHPCAccount&siteid=[站点ID]&xgh=[学工号(不含@后缀域)]
返回
{"code": 0,"msg":"","content":[{"label": "名称","value": "账户名","accountid","id号"}]}