# 三方平台权益发放

接口地址:http://gateway--cnki--net--https.cnki.mdjsf.utuvpn.utuedu.com:9000/openx/jssdk/auth/tp/v1/right/send

请求方式:POST

请求数据类型:application/json

响应数据类型:*/*

接口描述:

三方平台权益发放

请求示例:

{
"userId":"",
"userName":"",
"thirdOrgName":"",
"thirdOrgKey":"",
"mobile":"",
"appId":"",
"userIp":"",
"productIds": [""]

}

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型
Authorization 接口请求需要token,获取方式详见:JWT相关接口API-客户端模式获取jwt (opens new window) header false string
  appId 三方机构的app_id,知网研学开放平台申请 true string
  mobile 用户手机号 false string
  thirdOrgKey 三方平台key,知网商务签发 true string
  thirdOrgName 三方平台机构用户名,知网商务签发 true string
  userId 三方平台用户id true string
  userIp 用户真实ip,不是三方平台的服务端ip true string
  userName 三方平台用户名 false string
  productIds 商品ID true Array

注意事项:Authorization参数是携带在请求的header中,格式示例(注意Bearer 后有空格):

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCaWF...

响应状态:

状态码 说明
200 成功
400500 服务器繁忙,请稍后再试!
400526 单点登录异常!
400527 商品ID未授权!
400523 参数缺失!

响应参数:

参数名称 参数说明 类型 schema
code 接口返回状态码 integer(int32) integer(int32)
content 接口返回数据 string
count 接口返回数据条数,用于分页查询 integer(int32) integer(int32)
message 接口返回信息 string
success 接口返回是否成功 boolean
total 接口返回数据条数,用于分页查询 integer(int32) integer(int32)

响应示例:

{
    "success": true,
    "message": "SUCCESS",
    "content": "SUCCESS",
    "count": null,
    "total": null,
    "code": 200
}