接口URI https://uisztfw.suzhou.gov.cn:7443/authorizationService/token
    请求类型 Restful
    请求方式 Post
    请求头 参数名 参数值 是否必须
    Authorization Basic aXhwem1ZSWJGZnJaaGRaOk1ZRUZYMUZYMk5DMWNkcA== 是 固定值
    Content-Type application/x-www-form-urlencoded
    请求参数 grantType client_credentials 是 固定值
    接口描述 用于请求头Authorization获取。
    返回值格式 {
    “response”: {
    “id”: “5f3c81b884ba5c0001eda5a2”,
    “accessToken”: “NEZCNEU1OUFGQUY0QjAxNDc2RjFBMzk=”,
    “tokenExpireTime”: 1597887288457,
    “appId”: “1057”,
    “refreshToken”: null,
    “refreshTokenExpireTime”: 0,
    “scope”: null,
    “userId”: null,
    “createTime”: “2020-08-19 09:34:48”,
    “updateTime”: “2020-08-19 09:34:48”,
    “clientId”: “ixpzmYIbFfrZhdZ”,
    “sessionId”: null,
    “idToken”: null,
    “deviceId”: null
    }
    }
    字段名 字段描述 备注
    response 返回信息 0返回码描述
    accessToken 用于请求头Authorization
    tokenExpireTime token有效期

    备注:错误码信息

    Http状态码 错误描述 错误说明
    400 header error 请求头参数错误
    400 parameter error 参数错误
    400 ParameterTypeError grantType错误
    400 ResourceNotFound 授权资源错误,token 错误
    400 MissingParameter 缺少头信息Authorization
    400 ResourceNotAvailable token 过期
    403 拒绝访问
    500 服务器错误