K12服务体系技术规范 API接口说明

授权接入-状态码

通用错误码

HTTP 状态码(Status Code) 错误码(ErrorCode) 错误消息(ErrorMessage) 描述(Description)
220 No data No data. 查询结果为空。
400 ParameterError parameter error. 没有提供必须的参数。
400 MissingAuthorization Authorization does not exist in http header. 没有提供必须的 Authorization 请求头。
400 RequestTimeTooSkewed Request time exceeds server time more than 5 minutes. 请求的发送时间超过当前服务处理时间后5分钟的范围。
401 AuthorizationNotMatch Authorization is not matched. 请求的数字签名不匹配。
401 AccessTokenNotMatch AccessToken is not matched. 请求的访问令牌不匹配。
401 Unauthorized The ClientId is unauthorized. 提供的 ClientId 值未授权。
401 CodeNotMatch The Code is not matched. 提供的授权码不匹配。
401 GrantTypeUnauthorized The GrantType is unauthorized. 授权模式无该权限